Exports
Files of the data already in your projects. Asynchronous exports of your project data as complete gzip files. Request one with POST /v0/exports, poll GET /v0/exports/{exportId} until its state is ready, then fetch a temporary download link. Every file is kept for 30 days.
export_type chooses what the file contains and which parameters apply. Each type below lists its required parameters, optional parameters, output columns, eligibility and charging. Parameters that do not belong to the chosen type are rejected.
Filter parameters
Types that read from your projects accept these optional filter parameters directly inside parameters. Omit all of them to cover every project you own in supported marketplaces when each generation attempt discovers projects, including projects added after acceptance. Each type lists which filters it supports:
| Parameter | Description |
|---|---|
project_ids | Marketplace project IDs from GET /v0/projects. |
marketplaces | Marketplace codes. Listing every supported marketplace is the same as omitting the field. |
project_label_ids | Only projects carrying one of these project labels. |
asin_label_ids | Only ASINs carrying one of these item labels. |
keyword_label_ids | Only keywords carrying one of these item labels. |
Filters combine with AND; values within one filter combine with OR. Each supplied array needs at least one value; null and [] are invalid. Duplicate values are ignored. Each attempt discovers matching projects once, then reads each project's current name and selected attachments when processing it. Rankings use the same current project membership and variation settings as Google Sheets and report downloads. Keywords removed before a later ranking read are omitted from that read; already generated rows remain unchanged. Retries read fresh inputs. Projects created concurrently have no exact inclusion guarantee. Deleted projects or labels contribute no remaining matches without broadening the original filters. Remaining matches are exported, or an empty file succeeds.
Export types
ranks_by_asin.1
Daily keyword ranks for the selected ASINs over an inclusive date range. One record per tracked day, marketplace project, selected ASIN and keyword.
Required parameters
| Parameter | Description |
|---|---|
start_date | First day of the range as YYYY-MM-DD in America/Los_Angeles. |
end_date | Last day of the range, inclusive. The range must cover 1 to 31 days and end no later than today in America/Los_Angeles; a future start_date or end_date returns 400 future_dates_not_allowed. Yesterday can be requested from Los Angeles midnight, and today at any time. Today's records are a snapshot taken when the file is generated. Historical ranges are accepted even when no ranking data exists for them. |
Optional parameters
| Parameter | Default | Description |
|---|---|---|
format | json | Output format: json, jsonl or csv. |
primary_asin_only | true | Export only each project's primary ASIN. Set false to include every attached ASIN in the selected projects. With true, a project whose primary ASIN does not match asin_label_ids is left out rather than replaced. |
project_ids, marketplaces, project_label_ids, asin_label_ids, keyword_label_ids | none | All five filter parameters are supported. |
Output columns, in CSV order
| Column | Type | Description |
|---|---|---|
date | date | Tracking day in America/Los_Angeles. On today's date, ranks are provisional: a keyword not yet checked today can show yesterday's latest observation, unmarked. |
project_id | integer | Marketplace project ID. |
project_name | string | Project name when that project is read during the successful attempt. |
marketplace | string | Marketplace code such as US. |
asin | string | The selected ASIN. |
keyword | string | The tracked keyword. |
organic_rank | integer or null | Organic search position, or null when no rank was observed that day. |
sponsored_rank | integer or null | Sponsored position, or null when no rank was observed that day. |
choice_badge | boolean or null | Whether the Amazon's Choice badge was shown. Null when no rank was observed. |
ranked_asin | string or null | The ASIN that held the rank. It can be a variation of asin when variations are tracked. Null when no rank was observed. |
Days before tracking began are omitted. Tracked days without an observation are included with null ranks and count as records toward the export's credit cost.
Eligibility and charging
Requires current User API and general plan eligibility. All supported marketplaces, including AU, are available without a separate export marketplace entitlement. An export costs 1 credit per 100 records, rounded up, with a minimum of 1 credit, so an empty export costs 1 credit. Its estimated credits are held from your credit balance when it is accepted; a request the balance cannot cover is refused with 402 insufficient_credits. When it completes, the credits for its actual result.row_count are charged once, to the allowance cycle current at acceptance, and the hold is released. Check credits.balance on GET /v0/usage before large requests.
Record limits
Before retrieving rankings or generating a file, each attempt estimates records by multiplying selected ASINs by selected keywords by inclusive requested days for each marketplace project, then summing those project totals. All project, marketplace, label and primary-ASIN filters apply. The estimate ignores historical tracking periods and missing observations, so it can reject a request whose actual file would be smaller or empty.
The maximum is 1,000,000 records per export. An estimate above that limit fails with export_record_limit_exceeded; equality passes. These rules are identical for JSON, JSONL and CSV; a CSV header is not a record.
This check runs after 202 Accepted. Polling returns state: failed, a failure_code and failure_message, and result: null. A failed export generates no file, costs nothing and releases its held credits. Reduce the selected projects, ASINs, keywords or dates and submit a new request. Limit failures are terminal. Generation also enforces the limit if project contents change after the estimate. If they grow so much that the complete file costs more than its held credits and the rest of your credit balance, it fails with insufficient_credits.
project_keywords.1
The keyword metrics shown on each project's Keywords tab, for every selected keyword attachment. One record per marketplace project and keyword attachment: a keyword attached to two projects appears once for each, with that project's values. Each attempt reads your projects' current keywords; there is no date range.
Required parameters
None. {} exports every keyword attachment in your projects.
Optional parameters
| Parameter | Default | Description |
|---|---|---|
format | json | Output format: json, jsonl or csv. |
project_ids, marketplaces, project_label_ids, keyword_label_ids | none | Filter parameters. asin_label_ids is not supported. |
start_date, end_date, asin_label_ids, primary_asin_only and any other key return 400 invalid_export_parameters. Ranking export date rules, including the 31-day range limit, do not apply.
Output fields, in JSON and CSV order
After the three project fields, each field has the name and meaning of the matching ProjectKeyword field in GET /v0/projects/{projectId}/keywords. For the same project on the same day the values agree with that endpoint. tracked_from is not exported.
The metrics cover the account plan's metrics window, as in GET /v0/projects/{projectId}/keywords: the latest four loaded weeks, or the latest loaded month on plans without weekly data. The plan when the export is accepted decides it, and metrics_window on the export names it. The columns are the same either way, so descriptions below that say four weeks mean the latest month for a latest_month export.
| Field | Type | Description |
|---|---|---|
project_id | integer | Marketplace project ID. |
project_name | string | Project name when that project is read during the successful attempt. |
marketplace | string | Marketplace code such as US. |
keyword | string | The keyword. |
keyword_clicks_l4w | number | Clicks from searches for the keyword over the marketplace's latest four completed weeks. |
keyword_sales_l4w | number | Sales from those searches over the same four weeks. |
keyword_conversion_l4w | number | Sales as a percentage of clicks, 0 to 100, rounded to one decimal place. 0 when there are no clicks. |
top_asin | string | The ASIN with the most sales for the keyword. An empty string when the keyword has no search-term data. |
top_asin_sales_l4w | integer | The top ASIN's sales for the keyword. |
top_asin_clicks_l4w | integer | The top ASIN's clicks for the keyword. |
top_asin_conversion_l4w | number | The top ASIN's conversion, 0 to 100, rounded to one decimal place. 0 when there are no clicks. |
trend_l4w | number | Percentage change in keyword_sales_l4w against the previous four weeks, rounded to one decimal place. With no previous sales the change is measured against 1 sale. |
sales_distribution | number | The keyword's share of the four-week keyword sales of every keyword attachment in its marketplace project, as a percentage rounded to one decimal place. Export filters do not change it. 0 for a project with no keyword sales. |
dstr | integer | Daily Sales To Rank: the estimated daily sales needed to rank in the top 3. |
organic_rank | integer or null | The primary ASIN's organic position on the latest Los Angeles day: yesterday, or today for a project created today. 0 when the keyword was tracked but no rank was found, including days without a successful scrape. Null when the keyword was not tracked, is still being checked, or the project has no ASINs. |
sponsored_rank | integer or null | The primary ASIN's sponsored position on the same day, with the same 0 and null rules. Both ranks are null while a keyword is still being checked. |
asins_in_top_10 | integer | How many of the project's ASINs rank in the organic top 10 for the keyword, at most 10. 0 for a project without ASINs. |
labels | array | The keyword attachment's item labels as {label_id, label_name, color}. In CSV, the label names separated by a comma and a space, such as Core, Brand. |
A keyword without search-term data is exported with zero metrics and an empty top_asin. Records are ordered by project_id; within a project the order is not guaranteed.
JSON example:
Code
The same record in CSV:
Code
The example values are illustrative.
Eligibility and charging
The same eligibility and charging as ranks_by_asin.1: 1 credit per 100 records, rounded up, with a minimum of 1 credit, held from your credit balance at acceptance and charged for the actual result.row_count once when the export completes. A failed export costs nothing. The downloaded file is named project-keywords-export.<format>.gz.
Record limits
Before reading keyword data, each attempt estimates one record per selected keyword attachment; acceptance holds credits for the same estimate. The 1,000,000-record limit and its error code are the same as for ranks_by_asin.1. Generation also enforces the limit if keywords are added after the estimate.
List exports
Lists your account's one-off exports under data.exports, newest first, with the same fields as creation and detail responses. result is null before successful completion and contains file metadata afterward, including after file expiry. Use it to find export IDs and current states without polling each export individually.
Request rules
export_typeoptionally restricts the list to one export type; an unknown value returns400 unsupported_export_type.date_fromanddate_tooptionally filter creation dates as strictYYYY-MM-DDcalendar dates in America/Los_Angeles. Either bound may be omitted; both boundary days are included, and equal dates select one day. These filters usecreated_at, not the ranking dates insideparameters.- History dates have no 31-day limit or ranking date rule. Today and future bounds are valid. Full response timestamps remain UTC.
- Malformed, impossible or repeated dates return
400 invalid_date. Adate_tobeforedate_fromreturns400 invalid_date_range. Correct the dates and retry. limitdefaults to 50 and accepts 1 to 100.- All export states remain visible for their normal retention period after source-project deletion. Access follows your account ownership and current User API eligibility.
Pagination
Continue while data.page.has_more is true, passing data.page.next_cursor unchanged as the next request's opaque cursor with the same limit, export_type, date_from and date_to. Restart without a cursor when changing filters. A cursor that is unknown or belongs to another account returns an empty page.
Limits
- Listing exports, checking their status and requesting download links are free and keep working when the credit balance is exhausted.
- The burst limit is 60 requests per 60 seconds. After a
429, wait for theRetry-Afterdelay before retrying.
Examples
Replace <api_key> with your API key. This example finds exports created during August 2026 in Los Angeles time. Omit either date for an open-ended range.
Code
For the next page, replace <next_cursor> with the returned value; --data-urlencode encodes it for the URL:
Code
query Parameters
date_from^\d{4}-\d{2}-\d{2}$First included creation day. Omit for no lower bound. A strict YYYY-MM-DD calendar date in America/Los_Angeles. Filters created_at, independently of ranking dates. Today, future dates and ranges over 31 days are allowed.
date_to^\d{4}-\d{2}-\d{2}$Last included creation day. Omit for no upper bound. Must be on or after date_from when both are supplied. A strict YYYY-MM-DD calendar date in America/Los_Angeles. Filters created_at, independently of ranking dates. Today, future dates and ranges over 31 days are allowed.
export_typeReturn only exports of this type.
limitcursorOpaque cursor returned by the previous page.
List exports › Responses
Successful response.
Request an export
Requests a one-off export and returns 202 Accepted with the new export under data. The resource uses the same fields as list entries and detail responses, with result: null until successful completion. Use data.id (also returned in the Location header) to poll GET /v0/exports/{exportId}, then request a download link once state is ready.
Request rules
export_typechooses the file contents and whichparametersapply. The available types, with their required and optional parameters, output columns, eligibility and charging, are listed in the Exports overview above. The suffix on each id is the version of that type's parameters and output schema; a change ships as a new id and existing ids keep working.parameters.formatdefaults tojson;jsonlandcsvare also supported where the type allows them. Every field, including the format, lives insideparametersbecause the options differ by type.parametersis required and must contain only the chosen type's parameters. Unknown fields anywhere in the body are rejected.- Ranking exports may include any day up to and including today in America/Los_Angeles, at any time of day. A future
start_dateorend_daterejects the request with400 future_dates_not_allowed, and the message names the latest date you can request. Accepted dates stay fixed through processing and retries, so a request accepted just before Los Angeles midnight still generates. - Today is still in progress. A file that includes today is a snapshot taken when it is generated: keywords still being checked and keywords tracked but not ranked both have null rank fields, and before today's first check a value can be yesterday's latest observation. Those records count like any other. Export again later for a more complete day.
- A
readyfile never changes. Two exports of the same request can differ if the underlying data changes between them.
Estimated record limits
Before reading data or generating a file, each attempt estimates its records:
ranks_by_asin.1multiplies selected ASINs by selected keywords by inclusive requested days for each marketplace project, then sums those project totals. All project, marketplace, label and primary-ASIN filters apply. The estimate ignores historical tracking periods and missing observations, so it can reject a request whose actual file would be smaller or empty.project_keywords.1counts the selected keyword attachments. All project, marketplace and label filters apply.
The maximum is 1,000,000 records per export. An estimate above that limit fails with export_record_limit_exceeded; equality passes. These rules are identical for JSON, JSONL and CSV; a CSV header is not a record.
This check runs after 202 Accepted. Polling returns state: failed, a failure_code and failure_message, and result: null. A failed export generates no file, costs nothing and releases its held credits. Reduce the selected projects, ASINs, keywords or dates and submit a new request. Limit failures are terminal. Generation also enforces the limit if project contents change after the estimate. If they grow so much that the complete file costs more than its held credits and the rest of your credit balance, it fails with insufficient_credits.
Charging
- Every accepted request is a separate export and is charged separately, including an identical resubmission after a lost response.
- An export costs 1 credit per 100 records, rounded up, with a minimum of 1 credit. Acceptance estimates its records and holds the estimated credits from your credit balance. The hold covers at most 1,000,000 records (10,000 credits): a larger estimate is accepted with that hold and then fails with
export_record_limit_exceeded, costing nothing. When the balance cannot cover them the request returns402 insufficient_creditswithcredit_cost,credit_balanceandresets_at, and nothing is created or held. Checkcredits.balanceonGET /v0/usagebefore large requests. - When the export completes, the credits for its actual
result.row_countare charged once, to the allowance cycle current at acceptance, and the hold is released. The estimate itself is never charged. A failed export produces no downloadable file, costs nothing and releases its hold. - An empty result succeeds and costs 1 credit. Polling, listing and downloads are free.
- Accepted work finishes even if your subscription expires afterwards, but reading or downloading it still requires current eligibility.
Errors
400: unsupportedexport_type, invalidformat, parameters that do not belong to the chosen type, invalid dates or selection, or a project or label that is not in your account.error.codenames the problem.402: no active subscription (plan_required), or the credit balance cannot cover the export's estimated credits (insufficient_credits). Nothing is created or held.403: User API access or general plan eligibility is unavailable for your account.429outstanding_export_limit_reached: the account already has five outstanding exports. Wait for one to finish, then submit again.503credit_balance_unavailable: the credit balance could not be verified. Nothing is created; retry later.
Limits
- Only the export itself is charged. Listing exports, checking their status and requesting download links are free and keep working when the credit balance is exhausted.
- The burst limit is 60 requests per 60 seconds. After a
429, wait for theRetry-Afterdelay before retrying. - An account can have at most five outstanding exports: accepted exports that are waiting, being generated or waiting for an automatic retry, of every export type. The account's API keys and team members share the limit. A request for a sixth returns
429 outstanding_export_limit_reachedwithRetry-After: 30, creates no export and charges nothing. Ready, failed and expired exports never count, so you can submit again as soon as one outstanding export finishes. - Each account has one export generated at a time, in the order its exports were accepted. Accounts take turns, so another account's batch does not hold up yours.
Examples
Replace <api_key> with your API key. The dates and project ID are illustrative.
Export the primary ASIN of every project you own for August 2026 as JSON:
Code
To export one day for a single US project with every attached ASIN as CSV, use this body with the same method, URL and headers:
Code
To export the current metrics of every keyword attachment carrying item label 12 as CSV, use this body with the same method, URL and headers. Replace 12 with an item label ID from your account:
Code
Request an export › Request Body
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · export_type="ranks_by_asin.1" · requires: parameters | |
| type = object · export_type="project_keywords.1" · requires: parameters |
export_typeDaily keyword ranks for the selected ASINs over an inclusive date range. Every option, including the output format and the filter parameters, is a direct property of this object. Before file generation, the background worker estimates selected ASINs × selected keywords × inclusive days per marketplace project and sums those products. Estimates above 1,000,000 fail asynchronously; equality passes. Acceptance holds credits for the estimate. Historical tracking periods do not reduce the estimate.
Request an export › Responses
Durably accepted. Poll Location after at least Retry-After seconds; no completion-time guarantee.
One accepted export and its result. failure_code is machine-readable and failure_message says what to do next: export_record_limit_exceeded means the estimated or generated count exceeds 1,000,000 records; reduce the selection or dates. insufficient_credits means the complete file costs more credits than the balance covers, so submit a smaller request; export_allowance_insufficient is historical, from before credits, so submit a new export; selected_label_deleted and project_access_changed are retained historical failures, so submit a new export; generation_failed retries internally; retry_exhausted is terminal, so submit a new export; invalid_export_context means the saved request could not be processed, so submit a new export; Failed exports cost nothing. Finished details remain at least 90 days after activity and cycle end and longer while reconciliation needs them, then may return 404. Usage counters remain.
Get an export
Returns one export's state, parameters and result metadata under data. Poll it after acceptance until the state is terminal, then request a download link for a ready export.
States
queuedandprocessing: generation has not finished andresultis null. Poll again at least five seconds apart.ready: the file is complete.resultcontainsrow_count,compressed_bytesandexpires_at, and top-levelcompleted_atis set; callGET /v0/exports/{exportId}/download.failed: generation stopped andresultis null.failure_codeidentifies the cause andfailure_messagesays what to do next (see below).expired: the file's 30-day retention has ended. The export details andresultmetadata remain readable, but the file cannot be downloaded.
Transient generation problems are retried automatically and the export stays queued meanwhile. When retries run out, the state becomes failed with retry_exhausted.
Failure codes and recovery
Each code below is returned with a matching failure_message. The record-limit check runs after acceptance. A conservative estimate can fail even if historical output would be smaller or empty. Failed exports have result: null, offer no download, cost nothing and release their held credits. Limit failures are terminal, and a new allowance cycle does not restart them.
export_record_limit_exceeded: the estimated or generated count exceeds 1,000,000 records for one export. Reduce the selection or date range and submit a new request.insufficient_credits: the generated file costs more credits than its hold and the rest of your credit balance can cover. Submit a smaller range or selection; nothing was charged.export_allowance_insufficient: a historical failure from before credits, when the count exceeded the former export-row allowance. Submit a new export.selected_label_deletedorproject_access_changed: historical failures from older generation rules. Submit a new export; current generation skips disappeared matches without broadening filters.retry_exhausted: generation failed repeatedly. Submit a new export; nothing was charged.invalid_export_context: the saved export request could not be processed. Submit a new export; nothing was charged.
Errors
404: the ID is unknown or belongs to another account. Source-project deletion does not revoke access to your export. Finished exports remain readable for at least 90 days after their last activity and cycle end, after which they may also return404.
Limits
- Listing exports, checking their status and requesting download links are free and keep working when the credit balance is exhausted.
- The burst limit is 60 requests per 60 seconds. After a
429, wait for theRetry-Afterdelay before retrying.
Example
Replace <api_key> with your API key and <export_id> with the ID returned at acceptance.
Code
path Parameters
exportIdGet an export › Responses
Successful response.
One accepted export and its result. failure_code is machine-readable and failure_message says what to do next: export_record_limit_exceeded means the estimated or generated count exceeds 1,000,000 records; reduce the selection or dates. insufficient_credits means the complete file costs more credits than the balance covers, so submit a smaller request; export_allowance_insufficient is historical, from before credits, so submit a new export; selected_label_deleted and project_access_changed are retained historical failures, so submit a new export; generation_failed retries internally; retry_exhausted is terminal, so submit a new export; invalid_export_context means the saved request could not be processed, so submit a new export; Failed exports cost nothing. Finished details remain at least 90 days after activity and cycle end and longer while reconciliation needs them, then may return 404. Usage counters remain.
Get an export download link
Returns a temporary download URL under data.url, with its expiry in data.expires_at, for an export whose state is ready. Download the file with a plain GET on that URL; no authentication header is needed for it. Branded delivery uses downloads.datarova.com. Treat the complete returned URL, including its path and signature query, as opaque and confidential. Use it unchanged in an HTTP client or ordinary browser download.
Links and retention
- Each link lasts at most five minutes and never beyond the file's expiry. Request a new link whenever you need one; this does not regenerate the export, charge again or extend retention.
- After a link expires, request another through this endpoint while the file remains available and your account remains eligible. A transfer started before link expiry may finish afterward; a new request or range retry after expiry needs a fresh link. Revoking an API key or losing eligibility prevents new links, but does not immediately revoke links already issued.
- Completed files remain unchanged and downloadable after source-project deletion for exactly 720 hours after completion. The export's
result.expires_atshows when the file becomes unavailable.
File format
- Every file retains its gzip bytes and is delivered as
application/gzipwith attachment filenameranking-export.<format>.gz. The format isjson,jsonlorcsv. jsonis a single array of records.jsonlhas one record per line. Both keep native numbers, booleans andnull.csvhas a header row and uses the column order listed for the export type in the Exports overview above. Nulls are blank, booleans aretrueorfalse, and strings are quoted with embedded quotes doubled and newlines retained.- An empty export is
[]forjson, a file with no lines forjsonl, and a header row only forcsv.
Errors
409export_not_ready: the export isqueued,processingorfailed. Poll its status. For a failed export, readfailure_codeandfailure_messageand submit a smaller or corrected request; it has no download.410export_expired: the file's retention period has ended. Submit a new export if you still need the data.404: the ID is unknown or belongs to another account. Source-project deletion does not revoke access to your export.
Limits
- Listing exports, checking their status and requesting download links are free and keep working when the credit balance is exhausted.
- The burst limit is 60 requests per 60 seconds. After a
429, wait for theRetry-Afterdelay before retrying.
Example
Replace <api_key> with your API key and <export_id> with the ID of a ready export.
Code
path Parameters
exportIdGet an export download link › Responses
Successful response.