Rank history
Read daily keyword-rank history for an ASIN in a project.
Get rank history by ASIN
Returns daily keyword-rank history for one ASIN in a project.
Required query parameters
asin: ASIN whose rank history should be returned.start_date: First date in the requested range.end_date: Last date in the requested range.
Optional query parameters
-
keywords: Filter to project keywords. Cannot be combined withkeyword_label_ids. Matching ignores letter case, soGarlic Pressmatchesgarlic press. 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:
-
keyword_label_ids: Filter to project keywords that carry at least one of these item labels. Use IDs fromGET /v0/item-labels. Use it to read one labelled keyword group instead of every keyword in the project. Cannot be combined withkeywords. -
limit: Maximum keywords returned per page. Defaults to20or a lower day-aware maximum. -
cursor: Opaque cursor returned by the previous page.
Each page is limited to at most 600 keyword-date combinations.
Keyword label filter
A keyword matches when it carries any of the supplied labels. A label that no keyword in this project carries returns 200 with an empty ranks array. A label that is not in your account's item labels returns 404 label_not_found. Sending both keywords and keyword_label_ids returns 400 conflicting_keyword_filters. Pass the same keyword_label_ids with each cursor.
Rate limit: 10 requests per 60 seconds.
Example request:
Code
Example with keyword filter:
Code
Example with keyword label filter, using item labels 12 and 15:
Code
path Parameters
projectIdquery Parameters
asinASIN for the owned project. The server trims whitespace and uppercases the value before validation.
start_date^\d{4}-\d{2}-\d{2}$ · requiredend_date^\d{4}-\d{2}-\d{2}$ · requiredkeywordsOptional project-keyword filter. 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). Each keyword must match a project keyword exactly, ignoring letter case and surrounding spaces. Cannot be combined with keyword_label_ids.
keyword_label_idsOptional item-label filter for project keywords. Returns keywords that carry at least one of the labels. Use label IDs from GET /v0/item-labels. Send up to 1000 IDs as one comma-separated value, such as keyword_label_ids=12,15. Repeated parameters are also accepted, up to 100 of them; more returns 400 invalid_keyword_label_ids. Cannot be combined with keywords.
limitDefault is the smaller of 20 or the computed per-day maximum.
cursorOpaque keyword cursor returned by the previous ranks-by-asin page.
Get rank history by ASIN › Responses
Rank history page.