Datarova
Datarova User API

Read daily keyword-rank history for an ASIN in a project.


Get rank history by ASIN

GET
https://api.datarova.com
/v0/projects/{projectId}/ranks-by-asin
Bearer (API key)

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 with keyword_label_ids. Matching ignores letter case, so Garlic Press matches garlic press. How they are read depends on how many keywords parameters 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%20bed requests two keywords.
    • Exactly one: the value is split on commas: keywords=garlic%20press,garlic%20crusher requests 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.

  • keyword_label_ids: Filter to project keywords that carry at least one of these item labels. Use IDs from GET /v0/item-labels. Use it to read one labelled keyword group instead of every keyword in the project. Cannot be combined with keywords.

  • limit: Maximum keywords returned per page. Defaults to 20 or 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:

TerminalCode
curl --request GET \ --url 'https://api.datarova.com/v0/projects/1248/ranks-by-asin?asin=B0C4XYZ123&start_date=2026-03-01&end_date=2026-03-07&limit=20' \ --header 'Authorization: Bearer <api_key>'

Example with keyword filter:

TerminalCode
curl --request GET \ --url 'https://api.datarova.com/v0/projects/1248/ranks-by-asin?asin=B0C4XYZ123&start_date=2026-03-01&end_date=2026-03-07&keywords=garlic%20press%20stainless%20steel' \ --header 'Authorization: Bearer <api_key>'

Example with keyword label filter, using item labels 12 and 15:

TerminalCode
curl --request GET \ --url 'https://api.datarova.com/v0/projects/1248/ranks-by-asin?asin=B0C4XYZ123&start_date=2026-03-01&end_date=2026-03-07&keyword_label_ids=12,15' \ --header 'Authorization: Bearer <api_key>'

Get rank history by ASIN › path Parameters

projectId
​integer · min: 1 · max: 2147483647 · required

Get rank history by ASIN › query Parameters

asin
​string · minLength: 10 · maxLength: 10 · required

ASIN for the owned project. The server trims whitespace and uppercases the value before validation.

start_date
​string · date · pattern: ^\d{4}-\d{2}-\d{2}$ · required
end_date
​string · date · pattern: ^\d{4}-\d{2}-\d{2}$ · required
keywords
​string[] · style: form · explode: true

Optional 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_ids
​integer[] · minItems: 1 · maxItems: 1000 · style: form

Optional 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.

limit
​integer · min: 1

Default is the smaller of 20 or the computed per-day maximum.

Default: 20
cursor
​string

Opaque keyword cursor returned by the previous ranks-by-asin page.

Get rank history by ASIN › Responses

Rank history page.

​object · required