asinstringbắt buộc
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.
Đầu ra của bạn sẽ xuất hiện ở đây
Hoàn tất đầu vào, rồi nhấp Run.
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.
Bắt đầu xây dựng
Endpoint API của nền tảng với xác thực và theo dõi mức sử dụng thống nhất.
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"
}'Đặt SandBase API key của bạn trong môi trường máy chủ. Các request sử dụng xác thực Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Giữ key của bạn trên máy chủ. Không hiển thị trong mã chạy trên trình duyệt.
asinstringbắt buộcASIN (Amazon Standard Identification Number).
countrystringCountry code for the Amazon product.
Mặc định: "US"
Giá trị có thể dùng: US, AU, BR, CA, CN, FR, DE, IN, IT, MX, NL, SG, ES, TR, AE, GB, JP, SA, PL, SE, BE, EG, ZA, IE
Đây là phản hồi ví dụ đã lưu cho API này; không có request thực nào được gửi khi xem mục này.
Chưa có phản hồi đã lưu nào được công bố. Chạy API trong Playground để xem phản hồi.
Khám phá thêm
| API | Giá | Phản hồi |
|---|---|---|
Amazon Product DetailsAPI này Amazon | $0.014286 mỗi lần gọi | JSON |
Amazon | Từ $0.0033 mỗi lần gọi | JSON |
Amazon | $0.00015 mỗi lần gọi | JSON bất đồng bộ |
Amazon | $0.014286 mỗi lần gọi | JSON |
Amazon | $0.014286 mỗi lần gọi | JSON |
Amazon | Từ $0.00085 mỗi lần gọi | JSON |
Câu hỏi
Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/amazon/product-detail với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.
$0.014286 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.
Bắt buộc: asin (string). Tùy chọn: country (một trong số US, AU, BR, CA, CN, FR, DE, IN, IT, MX, NL, SG, ES, TR, AE, GB, JP, SA, PL, SE, BE, EG, ZA, IE). Bảng Parameters và Playground trên trang này liệt kê mọi trường.
Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.
Không. Amazon Product Details chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Amazon.
Dùng ASIN của listing làm asin dạng chuỗi, kèm một mã quốc gia được hỗ trợ tùy chọn. Endpoint này không chấp nhận URL sản phẩm thay cho asin. Endpoint Amazon Product riêng biệt có tham số amazon_domain và tham chiếu riêng; đừng sao chép các trường đó vào Product Details.
Không. Tham chiếu Product Details hiện tại mô tả phản hồi đồng bộ, trong khi tham chiếu Amazon Product riêng biệt được đánh dấu là không đồng bộ. Hãy làm theo hợp đồng của endpoint đã chọn. Với Product Details, hãy xác thực phản hồi nền tảng đã hoàn tất và đọc outputs[0].data; đừng đoán URL polling hoặc cho rằng cả hai biến thể trả về cùng các trường nghiệp vụ.
Không. Tóm tắt khách hàng, rating hoặc số lượng review được tài liệu hóa không phải là bản xuất của toàn bộ nội dung review, và một ảnh chụp listing không chứng minh doanh số, biên lợi nhuận hay nhu cầu. Một số trường có thể thiếu, null hoặc rỗng. Hãy giữ nguyên ASIN và marketplace được yêu cầu khi kiểm tra kết quả, và xác minh mọi variant hoặc parent identifier trước khi coi hai listing là cùng một sản phẩm.