Keywords
Keyword and interval analytics endpoints under /v0.
Get keyword data
Returns weekly or monthly keyword data for one or more keywords in an Amazon marketplace.
Required query parameters
-
marketplace: Amazon marketplace code. -
keywords: One or more keywords. How they are read depends on how manykeywordsparameters you send:- More than one: each value is one whole keyword and is never split, so it may contain commas:
keywords=stair%20basket%2C%20wooden&keywords=dog%20bedrequests two keywords. - Exactly one: the value is split on commas:
keywords=garlic%20press,garlic%20crusherrequests two keywords. This comma-separated form is deprecated.
To request a single keyword that contains a comma, send it twice:
keywords=stair%20basket%2C%20wooden&keywords=stair%20basket%2C%20wooden. - More than one: each value is one whole keyword and is never split, so it may contain commas:
-
start_date: First date in the requested range. -
interval: Eitherweeklyormonthly.
Optional query parameters
end_date: Last date in the requested range. Defaults tostart_datewhen omitted.include_asins: Defaults tofalse. Whentrue, each record also includes data forasin_1,asin_2, andasin_3.
Request limits
- Up to
100keywords, or25wheninclude_asins=true. - Up to
26weekly intervals or24monthly intervals.
Plan history window
Every successful response returns data.plan_history_window for the requested marketplace and interval: start_period and latest_loaded_period, each the start date of a period. The window ends at the latest loaded period: the newest weekly or monthly period Datarova has stored. A period can have started, or even ended, before it is loaded. The window starts at the oldest stored period, or later when your plan limits history to a number of months back from the latest loaded period. It moves forward as new periods load. GET /v0/data-availability returns the same dates for every marketplace, so you can choose start_date and end_date before you request.
What happens outside the window depends on your plan:
- Plans with a history limit: a request with any period before the window, or after the latest loaded period, is rejected whole with
403 date_range_not_available_on_planand is not charged. The error carriesallowed_start_date(the window start) andlatest_loaded_period; keepstart_dateandend_datebetween them. If only the end is outside, the period is not loaded yet and the same request succeeds once it loads. - Plans without a history limit: the request is served and charged, and periods outside the window are missing from
records. A missing period can therefore mean it is not loaded yet; checklatest_loaded_periodto tell.
Input validation errors, including future_dates_not_allowed and date_range_exceeded, are returned before the window is checked.
Rate limit: 10 requests per 60 seconds.
Each successful request costs 1 credit per record returned, one keyword in one period, with a minimum of 1 credit. Before it runs, the request is refused with 402 insufficient_credits unless your credit balance covers every keyword requested times every period requested. On a successful response X-Quota-Cost reports the credits actually charged; an error response reports the credits the balance was checked against.
Example request:
Code
query Parameters
marketplaceMarketplace code.
keywordsKeywords to request. Send one parameter per keyword. With more than one keywords parameter, each value is a whole keyword, commas included; with exactly one, it is split on commas (deprecated). Maximum 100 normalized keywords per request, or 25 when include_asins=true.
start_dateInclusive requested start date in YYYY-MM-DD format. For plans with a historical-data limit, the requested range must be inside the allowed historical-data window.
intervalAggregation interval. Maximum 26 weekly intervals or 24 monthly intervals.
end_dateInclusive requested end date in YYYY-MM-DD format. Defaults to start_date when omitted. For plans with a historical-data limit, the requested range must be inside the allowed historical-data window.
include_asinsWhen true, includes asin_1, asin_2, and asin_3 objects on each keyword record. Defaults to false. When enabled, the maximum keyword count is 25.
Get keyword data › Responses
Keyword interval data.
Get keyword data availability
Discover valid dates before requesting weekly or monthly keyword market data. Returns every supported keyword-data marketplace and both intervals for the effective account, including an additional user's owning account. No project or keyword is required.
All dates are ISO YYYY-MM-DD period starts accepted by GET /v0/keywords: Sunday for weekly and the first of the month for monthly. earliest_available_date is the oldest period Datarova stores; earliest_date_allowed_by_plan is the oldest period your current plan allows; latest_available_date is the latest loaded period, not the current calendar period. When earliest_date_allowed_by_plan is later than earliest_available_date, the older data exists but your plan's history limit holds it back: upgrade to a plan with a longer history window to read it. Without a history limit the two dates are equal. Weekly and monthly metadata are independent. All three dates are null when an interval has no stored data. Operational metadata failures return an error.
On plans without weekly data, weekly.available_on_plan is false and its three dates are null: request monthly data instead. Select dates from earliest_date_allowed_by_plan to latest_available_date. Explain unavailable requested history instead of silently shortening the range. Availability can change; keyword-data requests still enforce their range and legacy weekly-plan restrictions.
Requires an active plan with User API access. Discovery is free: it costs no credits, keeps working when the credit balance is exhausted, and is not reported by GET /v0/usage. Shares the default burst limit of 60 requests per 60 seconds. When enforced, rate-limit headers describe the current window; after 429 wait for Retry-After.
Replace <api_key> with your account API key. Example:
Code
Get keyword data availability › Responses
Weekly and monthly keyword market-data availability for every supported marketplace.