DEVELOPERS AREA > EBAY RESEARCH API > API CALL REFERENCE > GETSELLERRESEARCHRESULTS > INPUT > FIELD REFERENCE >
GETSELLERRESEARCHRESULTS.SEARCHQUERY.DATES.DATERANGE
Description
The DateRange tag used to specific the number of days to search. It may accompany a StartDate or EndDate tag. In the case of both a StartDate and EndDate tag being present, only the EndDate tag will be used. The DateRange tag specifies the number of days that will be searched starting on or ending on the Start or End Date. If neither a StartDate or EndDate is specified, then the DateRange will go from the most recent date available back. In the case of the DateRange being Week or Month, the date range will be limited to the Week or Month in which the Start or End Date lies. For example, if your EndDate is 2006-08-10 and your DateRange is Month, the API will search from 2006-08-01 to 2006-08-31. If your DateRange in the same case was ThirtyDays then the API would search 2006-07-09 to 2006-08-10. Valid values for DateRange include 'Day', 'Week', 'Month', 'SevenDays', and 'ThirtyDays'.

See Also: Dates, StartDate, EndDate and Date
Example Usage
<EndDate>2006-03-10</EndDate>
<DateRange>SevenDays</DateRange>
Returns auctions that closed between March 4th and March 10th, 2006.
Type
date range
Always Required/Included
No

Learn more by calling us at:
1.888.483.DATA (3282)

or by emailing us at: