asinstring必填
ASIN (Amazon Standard Identification Number).
https://api.sandbase.ai/v1/api/amazon/product-detailGet details for an Amazon product identified by ASIN in a selected country marketplace. Use it to look up a known listing for catalog review, product comparison, or downstream commerce analysis.
您的输出将显示在这里
完成输入,然后点击运行。
This API returns the details of one Amazon listing, including bullet points, variations, delivery text, stock message, and badge flags. It needs an asin and optionally a country code for the marketplace, which defaults to US.
parent_asin to group related listings.customers_say summary to get a quick view of customer feedback on a product.curl -X POST "https://api.sandbase.ai/v1/api/amazon/product-detail" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"asin": "B0D1XD1ZV3"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
asin | string | Yes | ASIN (Amazon Standard Identification Number). |
country | string | No | Country code for the Amazon product. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"about_product": [
"INTELLIGENT NOISE CONTROL — Active Noise Cancellation removes up to 2x more back…"
],
"all_product_variations": {
"B0D1XD1ZV3": {
"style": "Without AppleCare+"
}
},
"aplus_images": [],
"aplus_text": null,
"asin": "B0D1XD1ZV3",
"best_sellers_rank": null,
"brand_store_id": "77D9E1F7-0337-4282-9DB6-B6B8FB2DC98D",
"buy_boxes": [],
"carousel_products": null,
"category": {
"id": "aps",
"name": "All Departments"
},
"category_path": [],
"climate_pledge_friendly": false
}
| Field | Meaning |
|---|---|
asin / landing_asin / parent_asin | The ASIN of the requested listing, the ASIN of the landing page, and the ASIN of the parent product that groups its variations. |
about_product[] | The bullet points from the listing, as a list of strings. |
all_product_variations | Variations of the product, keyed by ASIN. Each entry holds the variation attributes, such as style. |
product_byline | The byline text shown with the listing, such as Visit the Apple Store. |
product_availability | The stock message shown on the page, such as how many units are left. |
delivery / delivery_time / primary_delivery_time | The delivery text shown on the page, and the delivery date range split out as its own value. |
is_prime / is_best_seller / is_amazon_choice / climate_pledge_friendly | Boolean flags for Prime status and badges on the listing. |
customers_say | A short text summary of what customers say about the product. |
country / currency / domain / marketplace_id | The marketplace the data came from: the country code, the currency code, the Amazon domain, and the marketplace ID. |
has_video / has_aplus / has_brandstory | Boolean flags that show whether the listing has a video, A+ content, or a brand story. |
Need to choose an ASIN first? Search products by keyword, inspect a listing, then follow the Python ASIN request example. The lookup is a separate request, not an automatic export of all matching products.
country as a code such as US, DE, or JP. If you omit it, the request uses US.asin to this API.null or an empty list when the listing has no such data, for example best_sellers_rank, buy_boxes, and aplus_text.$0.014286 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
开始构建
具备统一身份验证和使用情况跟踪的平台 API 端点。
curl -X POST "https://api.sandbase.ai/v1/api/amazon/product-detail" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"asin": "B0D1XD1ZV3",
"country": "US"
}'将您的 SandBase API 密钥设置到服务器环境中。请求使用 Bearer 身份验证。
export SANDBASE_API_KEY="YOUR_API_KEY"请将密钥保存在服务器端。不要在浏览器代码中暴露它。
asinstring必填ASIN (Amazon Standard Identification Number).
countrystringCountry code for the Amazon product.
默认值:"US"
可选值:US, AU, BR, CA, CN, FR, DE, IN, IT, MX, NL, SG, ES, TR, AE, GB, JP, SA, PL, SE, BE, EG, ZA, IE
这是该 API 保存的示例响应;查看时不会发起实时请求。
尚未发布已保存的响应。请在 Playground 中运行 API 以查看其响应。
探索更多
| API | 价格 | 响应 |
|---|---|---|
Amazon | $0.014286 每次调用 | JSON |
Amazon | 每次调用从 $0.0033 起 | JSON |
Amazon | $0.00015 每次调用 | 异步 JSON |
Amazon | $0.014286 每次调用 | JSON |
Amazon | $0.014286 每次调用 | JSON |
Amazon | 每次调用从 $0.00085 起 | JSON |
问题
向 https://api.sandbase.ai/v1/api/amazon/product-detail 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。
每次调用 $0.014286,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。
必填:asin (string)。 可选:country(US, AU, BR, CA, CN, FR, DE, IN, IT, MX, NL, SG, ES, TR, AE, GB, JP, SA, PL, SE, BE, EG, ZA, IE 之一)。 Parameters 表和本页的 Playground 列出了每个字段。
在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。
不需要。Amazon Product Details 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 Amazon API 访问权限。
请使用商品列表中的 ASIN 作为字符串 asin,并可选提供受支持的国家/地区代码。这个 endpoint 不接受用商品 URL 代替 asin。单独的 Amazon Product endpoint 有 amazon_domain 参数和自己的参考文档;不要把那些字段复制到 Product Details 中。
不相同。当前 Product Details 参考文档描述的是同步响应,而单独的 Amazon Product 参考文档标记为异步。请遵循所选 endpoint 的契约。对于 Product Details,请验证已完成的平台响应并读取 outputs[0].data;不要猜测轮询 URL,也不要假设两个变体返回相同的业务字段。
不会。文档中的客户摘要、评分或评论数并不是所有评论文本的导出,而单个商品快照也不能证明销售、利润率或需求。某些字段可能缺失、为 null 或为空。检查结果时请保留请求的 ASIN 和 marketplace,并在将两个商品视为同一产品之前验证任何 variant 或 parent 标识符。