Amazon search
get_asin_family
Get ASIN family ยท Read-only, reaches outside Datarova
Resolve the ASIN family of one ASIN in one marketplace: the parent ASIN and every child Amazon currently reports under it, or a standalone ASIN alone, with each member's role, stored title and deleted flag, the variation theme when known, and when membership was last confirmed (observed_at).
- A listing shoppers see is the whole family, and Amazon search results show one ASIN per result with no parent link.
- When the user asks where an ASIN or listing ranks, call this before
live_searchunless they ask for that exact ASIN, then match every member againstlive_searchsearch_results, including the parent; the same listing can appear more than once, so report each matching result separately. - Search results, not this tool, carry each hit's position and attribute text.
- status
not_foundmeans Amazon does not list the ASIN in this marketplace: stop rather than searching for it. - The warning
parent_has_no_childrenmeans the listing is not sellable as it stands. - Children with
is_deletedtrue were recently removed and may still appear in search results for a while. - Answers from Datarova's catalogue when it was refreshed within the last day, otherwise asks Amazon.
Cost and limits: Each successful call, including not_found, consumes 5 credits; shared 60-per-minute limit.
Input
| Name | Type | Required | Description |
|---|---|---|---|
marketplace | string | Required | Marketplace code, any letter case: US, CA, MX, UK, DE, FR, IT, ES, AU. Maximum length 2. |
asin | string | Required | One 10-character ASIN, any letter case; surrounding whitespace is ignored. Maximum length 32. |
Output
Read this object from the result's structuredContent. The result's content carries a text version for the model, which is not always the same JSON.
Fields of data:
| Name | Type | Required | Description |
|---|---|---|---|
requested_asin | string | Required | The requested ASIN, trimmed and uppercased. Pattern ^[A-Z0-9]{10}$. |
marketplace | string | Required | One of US, CA, MX, UK, DE, FR, IT, ES, AU. |
status | "found" | "not_found" | Required | not_found when Amazon reports the ASIN absent from this marketplace, or Datarova recently recorded it as deleted. Both answers are successful. |
family | AsinFamily | null | Required | The ASIN family, or null when status is not_found. |
data.family
| Name | Type | Required | Description |
|---|---|---|---|
parent_asin | string | null | Required | The parent ASIN, or null for a standalone ASIN. Pattern ^[A-Z0-9]{10}$. |
variation_theme | string | null | Required | The attributes that vary across the family as Amazon names them, for example COLOR_NAME/SIZE_NAME. Null when unknown, which includes every answer from stored data. |
observed_at | string | null (date-time) | Required | When the family membership was last confirmed. Null when the answer comes from stored rows of unknown age. |
members | AsinFamilyMember[] | Required | The parent first, then children in ASIN order; a standalone ASIN alone. At least 1 item. |
warnings | "parent_has_no_children"[] | Required | parent_has_no_children: the parent reports no current children, so the family does not identify a sellable listing. |
Full input and output JSON Schema
Code