Datarova
Datarova User API

View the ASINs in a project, add ASINs, or remove them.


List project ASINs

GET
https://api.datarova.com
/v0/projects/{projectId}/asins
Bearer (API key)

Returns project ASINs for an owned project using cursor pagination.

Rate limit: 60 requests per 60 seconds.

Example request:

TerminalCode
curl --request GET \ --url 'https://api.datarova.com/v0/projects/1248/asins?limit=50' \ --header 'Authorization: Bearer <api_key>'

List project ASINs › path Parameters

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

List project ASINs › query Parameters

limit
​integer · min: 1 · max: 200

Default 50. Maximum 200.

Default: 50
cursor
​string

Opaque cursor returned by the previous page.

List project ASINs › Responses

ASIN page.

​object · required

Add project ASINs

POST
https://api.datarova.com
/v0/projects/{projectId}/asins
Bearer (API key)

Adds up to 25 ASINs to a marketplace project and returns which were added or already present. Use it to start tracking new products, optionally applying the same labels to every new item.

Request rules

Use the marketplace project’s project_id from GET /v0/projects and item-label IDs from GET /v0/item-labels. The project and labels must belong to your account. Project-label IDs cannot be used here. User API access and a credit balance that covers the call's 5 credits are required.

ASINs and limits

  • Send 1 to 25 ASINs. Surrounding whitespace is removed and letters are uppercased. Repeated identities are processed once.

Optional labels

  • Omit label_ids or send [] to add new products without labels. Send [12] for one label or [12,34] for several. Duplicate IDs are ignored; null is invalid.
  • An existing ASIN or already represented variation family keeps its labels. Use PATCH to replace or clear them. Unknown fields and query parameters are rejected.

In a variation-tracking project, requesting a parent adds the first child returned by Amazon and retains the parent as an alternate identifier. The new child receives your selected labels. Projects that track exact ASINs do not accept parent ASINs.

Results and errors

A 200 response contains data.added_asins, data.unchanged_asins, data.invalid_asins, data.validation_unavailable_asins and data.primary_asin. Added and unchanged entries identify the requested and stored ASINs and whether the product is primary. Success confirms project membership; product details and ranking results may become available later.

Invalid or unavailable ASINs can appear alongside successful additions. Correct invalid values; retry temporarily unavailable values later. Already represented products remain unchanged.

Invalid labels reject the whole request, including an all-existing batch. For 400 invalid_label_ids, correct the list; for 400 labels_unavailable, refresh your item-label catalog. Accepted products and labels are saved together. Only ASINs new to the account consume tracked-ASIN capacity; if the accepted additions would exceed that limit, 409 rejects all additions. Reduce the batch or free capacity before retrying. For 404 project_not_found, choose an accessible marketplace project.

Rate limits and usage

The burst limit is 10 requests per 60 seconds. When enforced, responses include X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset. After 429, wait the number of seconds in Retry-After before retrying.

Each successful batch costs 5 credits, including a batch that changes nothing, and is recorded under project_asins_add. See the shared quota headers and errors for your credit balance. Labels themselves do not consume tracked-item capacity.

Example requests

Replace <api_key> and <project_id>. The ASINs and label IDs below are illustrative. Start with a request without labels:

TerminalCode
curl --request POST \ --url 'https://api.datarova.com/v0/projects/<project_id>/asins' \ --header 'Authorization: Bearer <api_key>' \ --header 'Content-Type: application/json' \ --data '{"asins":["B00PKNO7LK","B07FZ8S74R"]}'

To label every new item, use this body with the same method, URL and headers. Replace 12 and 34 with IDs from your item-label catalog:

JSONCode
{"asins":["B00PKNO7LK","B07FZ8S74R"],"label_ids":[12,34]}

Use [12] for one label. Omit label_ids or send [] for no labels on new items. Existing items keep their current labels in every variant.

Add project ASINs › path Parameters

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

Add project ASINs › Request Body

asins
​string[] · minItems: 1 · maxItems: 25 · required

ASIN strings. Values are trimmed, uppercased, and deduplicated in first-seen order. A non-string member rejects the request; a malformed normalized ASIN is returned per item in invalid_asins. The maximum of 25 submitted items applies before deduplication.

label_ids
​integer[]

Optional shared account-owned item-label selection for new attachments only. Omit or send [] for unlabeled creation. Existing attachments retain their labels.

Add project ASINs › Responses

Ordered addition result. added_asins and unchanged_asins identify each requested ASIN, the ASIN stored in the project, and whether it is primary. The invalid and unavailable arrays identify the requested ASIN and reason.

​object · required

Replace ASIN labels

PATCH
https://api.datarova.com
/v0/projects/{projectId}/asins
Bearer (API key)

Replaces the item labels on existing ASINs in one marketplace project and returns which changed or already had that selection. Use it to reorganize items or clear their labels without removing them or changing tracking and history.

Request rules

Use the marketplace project’s project_id from GET /v0/projects and item-label IDs from GET /v0/item-labels. The project and labels must belong to your account. Project-label IDs cannot be used here. User API access and a credit balance that covers the call's 5 credits are required.

  • Send 1 to 1,000 ASINs; the limit counts submitted entries before duplicates are removed. Normalized duplicates are processed once, in first-seen order.
  • Supply the complete desired label_ids selection. Labels left out are removed. Use [12] for one label, [12,34] for several, or [] to clear assignments without deleting catalog labels.
  • Omitted or null label selections are invalid. Duplicate label IDs and their order do not change the selection. No other fields or query parameters are accepted.

ASINs are trimmed and uppercased and must contain exactly 10 letters or digits. Use an exact attached ASIN or, in a variation-tracking project, its retained parent identifier. Other variation siblings are not matched. If you supply both the retained parent and its attached child, both receive the same outcome.

The complete JSON body, including labels and whitespace, must fit within 2 MiB, or 2,097,152 bytes.

Results and errors

A 200 response contains data.project_id, the accepted data.label_ids in ascending order, and data.updated_asins and data.unchanged_asins. Each normalized submitted identity appears in exactly one list. The lists contain ASIN strings, including a submitted retained-parent identity, rather than requested/stored ASIN objects. An identical retry succeeds with every item unchanged. Existing item reads show the saved labels.

The whole batch succeeds or nothing changes. For 404 project_not_found or 404 asin_not_found, check the project and requested items. For 400 invalid_label_ids, correct the list; for 400 labels_unavailable, refresh your item-label catalog. Reduce the serialized body after 413 request_body_too_large, and correct malformed input before retrying.

The same items in other projects or marketplaces are unaffected. Label replacement does not change tracking, history, variation settings or the primary ASIN, or consume tracked-item capacity, so it remains available at that capacity limit.

Rate limits and usage

The burst limit is 10 requests per 60 seconds. When enforced, responses include X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset. After 429, wait the number of seconds in Retry-After before retrying.

Each successful batch costs 5 credits, including a batch that changes nothing, and is recorded under project_asins_update. See the shared quota headers and errors for your credit balance. Labels themselves do not consume tracked-item capacity.

Example requests

Replace <api_key> and <project_id>. The items and label IDs below are illustrative; use IDs from your own item-label catalog and items already in the selected project.

TerminalCode
curl --request PATCH \ --url 'https://api.datarova.com/v0/projects/<project_id>/asins' \ --header 'Authorization: Bearer <api_key>' \ --header 'Content-Type: application/json' \ --data '{"asins":["B00PKNO7LK","B07FZ8S74R"],"label_ids":[12,34]}'

To clear labels from the same items, use this body with the same method, URL and headers:

JSONCode
{"asins":["B00PKNO7LK","B07FZ8S74R"],"label_ids":[]}

Replace ASIN labels › path Parameters

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

Replace ASIN labels › Request Body

asins
​string[] · minItems: 1 · maxItems: 1000 · required
label_ids
​integer[] · required

Replace ASIN labels › Responses

Atomic replacement succeeded; retries return all identities unchanged.

​object · required

Remove project ASINs

DELETE
https://api.datarova.com
/v0/projects/{projectId}/asins
Bearer (API key)

Removes between 1 and 100 ASINs from a project.

Request rules

  • Send the ASINs in the asins array.
  • Values are trimmed, converted to uppercase, and deduplicated in their original order.

How ASINs are matched

  • An exact ASIN currently in the project can be removed.
  • In a variation-tracking project, the retained parent identifier can remove the child ASIN saved in the project.
  • A different child from the same variation family does not remove the saved ASIN.
  • Missing ASINs and multiple requested identifiers that resolve to the same saved ASIN are successful no-ops.

After removal

If the primary ASIN is removed, the oldest remaining ASIN becomes primary. A cleanup failure returns 503; retry the request.

Rate limit: 10 requests per 60 seconds. Each successful removal costs 5 credits and is recorded under project_asins_remove.

Example request:

TerminalCode
curl --request DELETE \ --url https://api.datarova.com/v0/projects/1248/asins \ --header 'Authorization: Bearer <api_key>' \ --header 'Content-Type: application/json' \ --data '{"asins":["B0PARENT01","B0MISSING1"]}'

Remove project ASINs › path Parameters

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

Remove project ASINs › Request Body

asins
​string[] · minItems: 1 · maxItems: 100 · required

ASIN or retained-parent alias strings. Values are trimmed, uppercased, and deduplicated in first-seen order. Every member must be a string.

Remove project ASINs › Responses

Ordered removal result. Removed and unchanged entries identify the requested ASIN, the ASIN stored in the project, and whether it was primary before removal.

​object · required