Product Details
Retrieve Amazon product metadata, price, ratings, category, seller, listing, and variation data.
/v1 /amazon /asin /detailAPI data samples
Inspect the request body and complete response shape used by this endpoint.
{
"marketplace": "US",
"asin": "B08CK5Z5Q1"
}{
"request_id": "8fb43e59-4ff9-4dc8-a4b7-2ed164e45ab8",
"data": {
"asin": "B07H9PZDQW",
"asinUrl": "https://www.amazon.com/dp/B07H9PZDQW",
"availableDate": 1536595200000,
"brand": "Gaiam",
"bsrId": "sporting-goods",
"bsrLabel": "Sports & Outdoors",
"bsrRank": 45,
"dimensions": "72\"L x 24\"W x 0.39\"Th",
"imageUrl": "https://images-na.ssl-images-amazon.com/images/I/81mao7QZ1iL._AC_US200_.jpg",
"nodeLabelPath": "Sports & Outdoors:Exercise & Fitness:Yoga:Mats",
"parent": "B0FRG5TM2T",
"price": 22.15,
"rating": 4.6,
"ratings": 46989,
"reviews": 0,
"sellerName": "Amazon",
"fulfillment": "AMZ",
"marketplace": "US",
"title": "Gaiam Thick Yoga Mat, Exercise & Fitness Mat with Easy-Cinch Carrying Strap",
"updatedTime": 1795101494000,
"variations": 13,
"weight": "1.27 kg",
"zoomImageUrl": "https://images-na.ssl-images-amazon.com/images/I/81mao7QZ1iL._AC_US600_.jpg",
"variationList": [
{
"asin": "B0FNXCBRGL",
"attribute": "Color: French Rose | Size: 2/5 inch"
},
{
"asin": "B0H7C6SFMJ",
"attribute": "Color: Purple | Size: 1 inch"
}
],
"features": [
"Extra-Thick Cushioning for Joint Comfort : Made with 10mm (2/5\") high-density NBR foam, this mat delivers plush cushioning that helps reduce pressure on knees, hips, and joints—ideal for beginners, low-impact yoga, Pilates, stretching, floor exercises, and home workouts on hard surfaces.",
"Comfort-Focused Surface for Controlled Movement : Textured foam surface helps reduce slipping on most hard floors during dry workouts and everyday exercise. The softer, cushioned feel prioritizes comfort and shock absorption over firmness, making it a great choice for floor-based and low-impact routines."
],
"badge": {
"bestSeller": "Y",
"amazonChoice": "Y",
"newRelease": "Y",
"ebc": "Y",
"video": "Y"
},
"brandUrl": "/stores/Gaiam/page/A9256F20-A989-462E-8455-BA8B29F7A245?lp_asin=B07H9PZDQW&ref_=ast_bln&store_ref=bl_ast_dp_brandlogo_sto",
"createdTime": 1606454204000,
"firstRatingDate": 1768924800000,
"lqs": 100,
"questions": 79,
"variantRatings": 0,
"variantReviews": 609,
"sellerId": "",
"sellers": 2,
"skuList": [
"Color: Black",
"Size: 2/5 inch"
],
"overviews": null,
"subcategories": [
{
"rank": 2,
"code": "3422301",
"label": "Yoga Mats"
}
],
"deliveryPrice": -1,
"primePrice": -1,
"coupon": ""
}
}Availability: Available
This endpoint is active in the v1 gateway, OpenAPI, and subscription catalog. A successful call consumes 1 billing unit.
POST /v1/amazon/asin/detail
The request and response fields below match the current public contract.
MCP
| Item | Value |
|---|---|
| MCP Code | amazon_asin_detail |
Legacy path(s) remain available for compatibility but are deprecated:
/v1/amazon/products/details. Compatibility requests returnDeprecation: trueand aLinkheader pointing to the canonical path.
Quick call
First create an API key, then store it in a server-side environment variable:
export ECOMMERCE_DATA_API_KEY="your_api_key"curl --request POST \
--url https://ecommercedataapi.com/v1/amazon/asin/detail \
--header "Content-Type: application/json" \
--header "X-API-Key: ${ECOMMERCE_DATA_API_KEY}" \
--data '{
"marketplace": "US",
"asin": "B08CK5Z5Q1"
}'Integrate with an AI CLI
Copy for your AI CLI
Paste this task into Codex, Claude Code, Gemini CLI, or another coding agent.
Integrate the "Product Details" endpoint from Ecommerce Data API into the current repository. Make the changes directly instead of only returning sample code.
API documentation: https://ecommercedataapi.com/en/docs/amazon/asin/detail
Endpoint: POST https://ecommercedataapi.com/v1/amazon/asin/detail
API key environment variable: ECOMMERCE_DATA_API_KEY
Example request:
{
"marketplace": "US",
"asin": "B08CK5Z5Q1"
}
Requirements:
1. Read the API documentation first, then inspect the repository's language, framework, HTTP client, directory structure, and environment-variable conventions.
2. Reuse the existing API client and error-handling patterns. If none exist, add the smallest reusable Ecommerce Data API client and an endpoint-specific wrapper.
3. Read the key from the server-side ECOMMERCE_DATA_API_KEY environment variable and send Content-Type: application/json plus the X-API-Key header. Never write a real key into source code, browser code, logs, test snapshots, or Git.
4. If the environment variable is missing, tell me to configure ECOMMERCE_DATA_API_KEY myself. Do not request, print, or invent the real key, and continue implementing code and tests that do not require a live request.
5. Implement request and response types from the documentation. Handle non-2xx responses, request_id, error.code, error.message, and 429 rate limits.
6. Add a minimal usage example or test that follows the repository's conventions. Run one minimal live request only when the key is already configured and external requests are allowed; otherwise use mocks or static validation.
7. Run the relevant formatter, type checker, and tests. Report changed files, usage, verification results, and any environment variable I still need to configure.Open this request in Postman
Download the preconfigured collection for this endpoint, then import it into Postman.
Node.js example
const response = await fetch(
'https://ecommercedataapi.com/v1/amazon/asin/detail',
{
method: 'POST',
headers: {
'Content-Type': 'application/json',
'X-API-Key': process.env.ECOMMERCE_DATA_API_KEY,
},
body: JSON.stringify({
marketplace: 'US',
asin: 'B08CK5Z5Q1',
}),
}
);
const result = await response.json();
if (!response.ok) {
throw new Error(`${result.error?.code}: ${result.error?.message}`);
}
console.log(result.data);Python example
import os
import requests
response = requests.post(
"https://ecommercedataapi.com/v1/amazon/asin/detail",
headers={
"Content-Type": "application/json",
"X-API-Key": os.environ["ECOMMERCE_DATA_API_KEY"],
},
json={
"marketplace": "US",
"asin": "B08CK5Z5Q1",
},
timeout=30,
)
response.raise_for_status()
print(response.json()["data"])Request body
Send the fields below directly in the JSON body without an extra wrapper. Undefined fields are rejected.
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
returnFields | String | No | Optional comma-separated response fields. Omit to receive the standard payload. | asin,title |
marketplace | String | No | Amazon marketplace code. Supported values are listed in the schema. Available values (Table 1.2): US, JP, UK, DE, FR, IT, ES, CA, IN, MX, BR, AU, AE | US |
asin | String | Yes | Amazon Standard Identification Number. | B08GHW4TBS |
Response structure
| Field | Type | Description |
|---|---|---|
request_id | String | Unique identifier for this request. |
data | Object | Endpoint business data. |
The fields below are inside data. For array endpoints they describe one array item; for paginated endpoints they describe one record in items[].
Response fields
| Field | Type | Description | Example |
|---|---|---|---|
asin | String | ASIN. | B08GHW4TBS |
asinUrl | String | ASIN URL. | https://www.amazon.com/dp/B08GHW4TBS |
availableDate | Integer | Available date. Date or timestamp value. | 1609059137000 |
badge | Object | Badge. Badge flags reflect the most recent data collection and can differ from what Amazon shows right now. | 包括了下面 5 个标识 |
badge.bestSeller | String | Best seller. | Y 或者 N |
badge.amazonChoice | String | Amazon choice. | Y 或者 N |
badge.newRelease | String | New release. | Y 或者 N |
badge.ebc | String | A+ content. | Y 或者 N |
badge.video | String | Video. | Y 或者 N |
brand | String | Brand. | mermaker |
brandUrl | String | Brand URL. | /stores/Mermaker/page/984A6448-1C68-4CCA-AD5A-D574EA2D65D5?ref_=ast_bln |
bsrId | String | BSR ID. | home-garden |
bsrLabel | String | BSR label. | Home & Kitchen |
bsrRank | Integer | BSR rank. | 1006 |
createdTime | Integer | Created time. Date or timestamp value. | 1606467137000 |
dimensions | String | Dimensions. | 7 x 6 x 0.6 inches |
firstRatingDate | Integer | First rating date. Date or timestamp value. | 1609059137000 |
imageUrl | String | Image URL. | https://images-na.ssl-images-amazon.com/images/I/412616zl5YL .AC_US200.jpg |
lqs | Integer | Listing quality score. | 97 |
nodeLabelPath | String | Node label path. | Home & Kitchen:Bedding:Blankets & Throws |
parent | String | Parent. | B07V5GB9B5 |
price | Number | Price. | 21.99 |
questions | Integer | Questions. | 5 |
rating | Number | Rating. | 4.8 |
ratings | Integer | Ratings. | 29229 |
reviews | Integer | Reviews. | 9229 |
variantRatings | Integer | Variant ratings. | 12454 |
variantReviews | Integer | Variant reviews. | 3211 |
sellerId | String | Seller ID. | A13AJ1GXFINAZ |
sellerName | String | Seller name. | Mermaker |
fulfillment | String | Fulfillment. | FBA |
sellers | Integer | Sellers. | 1 |
skuList | Array | Sku list. | ["Color: Beige","Size: 47 inches"] |
marketplace | String | Marketplace. Available values (Table 1.2): US, JP, UK, DE, FR, IT, ES, CA, IN, MX, BR, AU, AE | US, JP, UK |
title | String | Title. | mermaker Burritos Tortilla Blanket 2.0 Double Sided 47 inches for Adult and Kids,Giant Funny Realistic Food Throw Blanket,285 GSM Novelty Soft Flannel Taco Blanket (Yellow Blanket-Double Sided) |
features | Array | Features. | - |
overviews | String | Overviews. | - |
updatedTime | Integer | Updated time. Date or timestamp value. | 1609059137000 |
variationList | Array | Variation list. | [{"asin":"B07V5GB9B5","attribute":"Beige"},{"asin":"B08H86SSSF","attribute":"Cookie"}] |
variations | Integer | Variations. | 14 |
weight | String | Weight. | 15.2 ounces |
zoomImageUrl | String | Zoom image URL. | https://images-na.ssl-images-amazon.com/images/I/412616zl5YL .AC_US600.jpg |
subcategories | Object | Subcategories. | - |
subcategories.rank | Integer | Rank. | 1 |
subcategories.code | String | Code. | 17874234011 |
subcategories.label | String | Label. | Kids' Throw Blankets |
deliveryPrice | Number | Delivery price. | 4 |
primePrice | Number | Prime price. | 42 |
coupon | String | Coupon. | [save $20] |
coupon.amazonChoice | String | Amazon choice. | Y 或者 N |
Response example
{
"request_id": "8fb43e59-4ff9-4dc8-a4b7-2ed164e45ab8",
"data": {
"asin": "B07H9PZDQW",
"asinUrl": "https://www.amazon.com/dp/B07H9PZDQW",
"availableDate": 1536595200000,
"brand": "Gaiam",
"bsrId": "sporting-goods",
"bsrLabel": "Sports & Outdoors",
"bsrRank": 45,
"dimensions": "72\"L x 24\"W x 0.39\"Th",
"imageUrl": "https://images-na.ssl-images-amazon.com/images/I/81mao7QZ1iL._AC_US200_.jpg",
"nodeLabelPath": "Sports & Outdoors:Exercise & Fitness:Yoga:Mats",
"parent": "B0FRG5TM2T",
"price": 22.15,
"rating": 4.6,
"ratings": 46989,
"reviews": 0,
"sellerName": "Amazon",
"fulfillment": "AMZ",
"marketplace": "US",
"title": "Gaiam Thick Yoga Mat, Exercise & Fitness Mat with Easy-Cinch Carrying Strap",
"updatedTime": 1795101494000,
"variations": 13,
"weight": "1.27 kg",
"zoomImageUrl": "https://images-na.ssl-images-amazon.com/images/I/81mao7QZ1iL._AC_US600_.jpg",
"variationList": [
{
"asin": "B0FNXCBRGL",
"attribute": "Color: French Rose | Size: 2/5 inch"
},
{
"asin": "B0H7C6SFMJ",
"attribute": "Color: Purple | Size: 1 inch"
}
],
"features": [
"Extra-Thick Cushioning for Joint Comfort : Made with 10mm (2/5\") high-density NBR foam, this mat delivers plush cushioning that helps reduce pressure on knees, hips, and joints—ideal for beginners, low-impact yoga, Pilates, stretching, floor exercises, and home workouts on hard surfaces.",
"Comfort-Focused Surface for Controlled Movement : Textured foam surface helps reduce slipping on most hard floors during dry workouts and everyday exercise. The softer, cushioned feel prioritizes comfort and shock absorption over firmness, making it a great choice for floor-based and low-impact routines."
],
"badge": {
"bestSeller": "Y",
"amazonChoice": "Y",
"newRelease": "Y",
"ebc": "Y",
"video": "Y"
},
"brandUrl": "/stores/Gaiam/page/A9256F20-A989-462E-8455-BA8B29F7A245?lp_asin=B07H9PZDQW&ref_=ast_bln&store_ref=bl_ast_dp_brandlogo_sto",
"createdTime": 1606454204000,
"firstRatingDate": 1768924800000,
"lqs": 100,
"questions": 79,
"variantRatings": 0,
"variantReviews": 609,
"sellerId": "",
"sellers": 2,
"skuList": ["Color: Black", "Size: 2/5 inch"],
"overviews": null,
"subcategories": [
{
"rank": 2,
"code": "3422301",
"label": "Yoga Mats"
}
],
"deliveryPrice": -1,
"primePrice": -1,
"coupon": ""
}
}See Errors and rate limits for error payloads, request tracing, and rate-limit headers.
Overview, use cases and FAQ
AI skills and agents that use this API
Start from a seller task, see how these capabilities use the current API, and review source and permissions before installation.