keywordstring
Search query.
https://api.sandbase.ai/v1/api/dataforseo/v3/merchant/amazon/products/live/advancedReturns real-time advanced product data from Amazon merchant search results. Provides item details, ratings, seller information, and ranking positions.
[
{
"cost": 0,
"status_code": 20000,
"status_message": "Ok.",
"tasks": [
{
"cost": 0,
"data": {
"api": "merchant",
"function": "products",
"se": "amazon",
"se_type": "products"
},
"id": "08200931-2190-0644-0000-41a8b1495d47",
"path": [
"v3",
"merchant",
"amazon",
"… 3 more items in the full response"
],
"result": null,
"result_count": 0,
"status_code": 40503,
"status_message": "POST Data Is Invalid.",
"time": "0 sec."
}
],
"tasks_count": 1,
"tasks_error": 1,
"time": "0.0074 sec.",
"version": "0.1.20260806"
}
]เลือกตัวอย่างเพื่อโหลดอินพุตและผลลัพธ์ลงใน playground
Live Amazon search results for a keyword: each product's ASIN, title, price, rating, units bought last month, Amazon's Choice and Best Seller badges, and position on the results page, for a chosen Amazon marketplace.
curl -X POST "https://api.sandbase.ai/v1/api/dataforseo/v3/merchant/amazon/products/live/advanced" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"keyword": "wireless earbuds", "location_code": 2840, "language_code": "en_US"}'
The result is returned in outputs[0].
| Name | Type | Required | Description |
|---|---|---|---|
keyword | string | No | Search query. |
language_code | string | No | Language code, e.g. "en". |
location_code | integer | No | Location code, e.g. 2840 for the United States. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"status_code": 20000,
"tasks": [
{
"result": [
{
"keyword": "wireless earbuds",
"se_results_count": 26638,
"items_count": 139,
"items": [
{
"type": "amazon_serp",
"rank_absolute": 1,
"data_asin": "B0BQPNMXQV",
"price_from": 29.95,
"currency": "USD",
"rating": {
"position": "left",
"rating_max": 5,
"rating_type": "Max5",
"type": "rating_element",
"value": 4.2,
"votes_count": 41300
},
"bought_past_month": 10000,
"is_amazon_choice": true,
"is_best_seller": false,
"url": "https://www.amazon.com/JBL-Vibe-Beam-Wireless-Headphones/dp/B0BQPNMXQV/ref=sr_1_1?crid=12Q4KVH9BL80&dib=eyJ2IjoiMSJ9.6RIJ1bUNpVXhigrCEYtY6VU5l_48G2dMjXvdpglJ0g25KHl8RDSsU6UZbroPlTL3urcZjYU4Y06bVG2FCVtQBYj158NS93gfv-M59qKqW6bj_T74QJouqnskxMGEkFBflx_3TvfWN9aXVmuvMwyGeGk63293aje2la2yOBN0Vs4g_ZCJ4wC5PQWJjSGzKyvuf_bS42hH_JsvIg7bMedd0u3DIjaBv69jKwtRM5MNKBM.zAmu3IQsZ9nvWsvZlRtwx3SNHQv62Bfa8Cr7Zg6oXbI&dib_tag=se&keywords=wireless+earbuds&qid=1793677000&sprefix=wireless%2Bearbuds%2Caps%2C148&sr=8-1",
"title": "JBL Vibe Beam - True Wireless Earbuds - Black"
}
]
}
]
}
]
}
| Field | Meaning |
|---|---|
items[].data_asin | Product ASIN. |
items[].title / url | Listing title and URL. |
items[].price_from / currency | Price shown on the results page. |
items[].rating | Star rating and number of ratings. |
items[].bought_past_month | Units bought in the past month as shown by Amazon. |
items[].is_amazon_choice / is_best_seller | Badges. |
items[].rank_absolute | Position on the results page. |
items[].type | amazon_serp for organic, amazon_paid for sponsored. |
location_code picks the marketplace (2840 = amazon.com); language_code uses Amazon's form such as en_US.Billed at the actual cost of each call, about $0.0033 for the request above. Failed calls are not charged.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
curl -X POST "https://api.sandbase.ai/v1/api/dataforseo/v3/merchant/amazon/products/live/advanced" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"keyword": "wireless earbuds",
"language_code": "en_US",
"location_code": 2840
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
keywordstringSearch query.
location_codeintegerLocation code, e.g. 2840 for the United States.
language_codestringLanguage code, e.g. "en".
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
[
{
"cost": 0,
"status_code": 20000,
"status_message": "Ok.",
"tasks": [
{
"cost": 0,
"data": {
"api": "merchant",
"function": "products",
"se": "amazon",
"se_type": "products"
},
"id": "08200931-2190-0644-0000-41a8b1495d47",
"path": [
"v3",
"merchant",
"amazon",
"… 3 more items in the full response"
],
"result": null,
"result_count": 0,
"status_code": 40503,
"status_message": "POST Data Is Invalid.",
"time": "0 sec."
}
],
"tasks_count": 1,
"tasks_error": 1,
"time": "0.0074 sec.",
"version": "0.1.20260806"
}
]สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
DataForSEO | เริ่มต้นที่ $0.0033 ต่อครั้ง | JSON |
DataForSEO | เริ่มต้นที่ $0.0102 ต่อครั้ง | JSON |
DataForSEO | เริ่มต้นที่ $0.000724 ต่อครั้ง | JSON |
DataForSEO | $0.004 ต่อการเรียก | JSON |
DataForSEO | เริ่มต้นที่ $0.00162 ต่อครั้ง | JSON |
DataForSEO | เริ่มต้นที่ $0.001105 ต่อครั้ง | JSON |
คำถาม
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/dataforseo/v3/merchant/amazon/products/live/advanced โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
เริ่มต้นที่ $0.0033 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ไม่ต้องระบุพารามิเตอร์ ตัวเลือก: keyword (string), location_code (integer) และ language_code (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น DataForSEO Merchant Amazon Products ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง DataForSEO API แยกต่างหาก