Product Details
Retrieve Amazon product metadata, price, ratings, category, seller, listing, and variation data.
/v1 /amazon /products /detailsAPI 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": "B0DRVKZHK9",
"asinUrl": "https://www.amazon.com/dp/B0DRVKZHK9?th=1",
"availableDate": 1710345600000,
"brand": "Yitrust",
"brandUrl": "/stores/Yitrust/page/3440BDBD-A6C1-4DA6-800B-4EDA16B2F347?ref_=ast_bln&store_ref=bl_ast_dp_brandLogo_sto",
"bsrId": "beauty",
"bsrLabel": "Beauty & Personal Care",
"bsrRank": 58102,
"subcategories": [
{
"rank": 136,
"code": "11058221",
"label": "Hot-Air Hair Brushes"
}
],
"createdTime": 1735855239000,
"dimensions": "1 x 1 x 1 inches",
"firstRatingDate": null,
"imageUrl": "https://m.media-amazon.com/images/I/4182p-TslhL._AC_US200_.jpg",
"lqs": 100,
"nodeId": 11058221,
"nodeIdPath": "3760911:11057241:11058091:11058221",
"nodeLabelPath": "Beauty & Personal Care:Hair Care:Styling Tools & Appliances:Hot-Air Brushes",
"nodeLabelPathLocale": null,
"parent": "B0DRVKZHK9",
"price": 73.99,
"primePrice": -1,
"deliveryPrice": -1,
"coupon": "",
"questions": null,
"rating": 4.6,
"ratings": 13,
"reviews": null,
"variantRatings": null,
"variantReviews": null,
"sellerId": "A3RB0UBY5ZAEAH",
"sellerName": "Yitrust",
"fulfillment": "FBA",
"sellers": 1,
"marketplace": "US",
"title": "6 in 1 Blow Dryer Brush, Hair Dryer with Diffuser for Curly Hair, Negative Ionic Hair Dryer Brush Set, Air Curling Iron Air Styler, Brush Blow Dryer Straight, Volumize, Drying Hair Styling Tool",
"updatedTime": 1740475874000,
"variations": 2,
"weight": "2.49 Pounds",
"zoomImageUrl": "https://m.media-amazon.com/images/I/4182p-TslhL._AC_US600_.jpg",
"skuList": [
"Color: Black"
],
"variationList": [
{
"asin": "B0CY5J4PKN",
"attribute": "Color: Black"
}
],
"features": [
"NEW UPDATE 6 IN 1 HAIR DRYER BRUSH: The hair dryer brush set new with diffuser for women comes with 6 interchangeable brush attachments that make 1*narrow hairdryer head, 2* left/right direction air hair wrapping curling iron, 1*hair straightener brush, 1* volumizing brush, 1*..."
],
"overviews": "{\"Brand\":\"Yitrust\",\"Color\":\"Black\",\"Material\":\"Plastic\",\"Wattage\":\"1000 watts\",\"Power Source\":\"Corded Electric\"}",
"badge": {
"bestSeller": "N",
"amazonChoice": "N",
"newRelease": "N",
"ebc": "Y",
"video": "Y"
}
}
}Availability: Available
This endpoint is active in the v1 gateway, OpenAPI, and subscription catalog. A successful call consumes 1 billing unit.
POST /v1/amazon/products/details
The request and response fields below match the current public contract.
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/products/details \
--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/products/details
Endpoint: POST https://ecommercedataapi.com/v1/amazon/products/details
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/products/details',
{
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/products/details",
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 |
|---|---|---|---|---|
marketplace | String | No | Amazon marketplace code. Supported values are listed in the schema. | 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. | 包括了下面 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 |
nodeId | String | Node ID. | 1063280 |
nodeIdPath | String | Node ID path. | 1055398:1063252:1063280 |
nodeLabelPath | String | Node label path. | Home & Kitchen:Bedding:Blankets & Throws |
nodeLabelPathLocale | String | Node label path locale. | 家居厨房用品:床上用品:毯子、盖毯 |
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. | 见表 1.2 |
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": "B0DRVKZHK9",
"asinUrl": "https://www.amazon.com/dp/B0DRVKZHK9?th=1",
"availableDate": 1710345600000,
"brand": "Yitrust",
"brandUrl": "/stores/Yitrust/page/3440BDBD-A6C1-4DA6-800B-4EDA16B2F347?ref_=ast_bln&store_ref=bl_ast_dp_brandLogo_sto",
"bsrId": "beauty",
"bsrLabel": "Beauty & Personal Care",
"bsrRank": 58102,
"subcategories": [
{
"rank": 136,
"code": "11058221",
"label": "Hot-Air Hair Brushes"
}
],
"createdTime": 1735855239000,
"dimensions": "1 x 1 x 1 inches",
"firstRatingDate": null,
"imageUrl": "https://m.media-amazon.com/images/I/4182p-TslhL._AC_US200_.jpg",
"lqs": 100,
"nodeId": 11058221,
"nodeIdPath": "3760911:11057241:11058091:11058221",
"nodeLabelPath": "Beauty & Personal Care:Hair Care:Styling Tools & Appliances:Hot-Air Brushes",
"nodeLabelPathLocale": null,
"parent": "B0DRVKZHK9",
"price": 73.99,
"primePrice": -1,
"deliveryPrice": -1,
"coupon": "",
"questions": null,
"rating": 4.6,
"ratings": 13,
"reviews": null,
"variantRatings": null,
"variantReviews": null,
"sellerId": "A3RB0UBY5ZAEAH",
"sellerName": "Yitrust",
"fulfillment": "FBA",
"sellers": 1,
"marketplace": "US",
"title": "6 in 1 Blow Dryer Brush, Hair Dryer with Diffuser for Curly Hair, Negative Ionic Hair Dryer Brush Set, Air Curling Iron Air Styler, Brush Blow Dryer Straight, Volumize, Drying Hair Styling Tool",
"updatedTime": 1740475874000,
"variations": 2,
"weight": "2.49 Pounds",
"zoomImageUrl": "https://m.media-amazon.com/images/I/4182p-TslhL._AC_US600_.jpg",
"skuList": ["Color: Black"],
"variationList": [
{
"asin": "B0CY5J4PKN",
"attribute": "Color: Black"
}
],
"features": [
"NEW UPDATE 6 IN 1 HAIR DRYER BRUSH: The hair dryer brush set new with diffuser for women comes with 6 interchangeable brush attachments that make 1*narrow hairdryer head, 2* left/right direction air hair wrapping curling iron, 1*hair straightener brush, 1* volumizing brush, 1*..."
],
"overviews": "{\"Brand\":\"Yitrust\",\"Color\":\"Black\",\"Material\":\"Plastic\",\"Wattage\":\"1000 watts\",\"Power Source\":\"Corded Electric\"}",
"badge": {
"bestSeller": "N",
"amazonChoice": "N",
"newRelease": "N",
"ebc": "Y",
"video": "Y"
}
}
}See Errors and rate limits for error payloads, request tracing, and rate-limit headers.