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.
เอาต์พุตของคุณจะแสดงที่นี่
กรอกอินพุตให้ครบ แล้วคลิก 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.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform 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 key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ 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 นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
ยังไม่มีการเผยแพร่การตอบกลับที่บันทึกไว้ ให้รัน API ใน Playground เพื่อดูการตอบกลับ
สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
Amazon Product DetailsAPI นี้ Amazon | $0.014286 ต่อการเรียก | JSON |
Amazon | เริ่มต้นที่ $0.0033 ต่อครั้ง | JSON |
Amazon | $0.00015 ต่อการเรียก | Async JSON |
Amazon | $0.014286 ต่อการเรียก | JSON |
Amazon | $0.014286 ต่อการเรียก | JSON |
Amazon | เริ่มต้นที่ $0.00085 ต่อครั้ง | JSON |
คำถาม
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/amazon/product-detail โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน 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 ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น Amazon Product Details ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Amazon API แยกต่างหาก
ใช้ ASIN ของรายการสินค้าเป็น asin แบบสตริง พร้อม country code ที่รองรับตามต้องการ เอ็นด์พอยต์นี้ไม่รับ product URL แทน asin เอ็นด์พอยต์ Amazon Product แยกต่างหากมีพารามิเตอร์ amazon_domain และเอกสารอ้างอิงของตัวเอง; อย่านำฟิลด์เหล่านั้นไปใส่ใน Product Details
ไม่ เอกสารอ้างอิง Product Details ปัจจุบันอธิบาย response แบบ synchronous ขณะที่เอกสารอ้างอิง Amazon Product แยกต่างหากระบุว่าเป็นแบบ asynchronous ให้ปฏิบัติตามสัญญาของเอ็นด์พอยต์ที่เลือก สำหรับ Product Details ให้ตรวจสอบ platform response ที่เสร็จสมบูรณ์แล้วอ่าน outputs[0].data; อย่าเดา polling URL หรือสมมติว่าทั้งสองรูปแบบส่งคืนฟิลด์ทางธุรกิจเหมือนกัน
ไม่ได้ สรุปของลูกค้า, rating หรือจำนวนรีวิวที่เอกสารระบุไม่ได้เป็นการส่งออกข้อความรีวิวทั้งหมด และสแนปช็อตของรายการสินค้าเพียงครั้งเดียวก็ไม่ใช่หลักฐานของยอดขาย มาร์จิ้น หรือความต้องการ บางฟิลด์อาจหายไป เป็น null หรือว่างเปล่า ให้คง ASIN และ marketplace ที่ขอไว้เมื่อวิเคราะห์ผลลัพธ์ และตรวจสอบ variant หรือ parent identifiers ใดๆ ก่อนจะถือว่าสองรายการเป็นสินค้าเดียวกัน