product_idstringจำเป็น
Product ID (required)
https://api.sandbase.ai/v1/api/tiktok/shop-web/product-detail-v2Returns basic product details from TikTok Shop for a specified item. Query by product identifier with optional region and seller filters.
[
{
"data": {
"message": "GB 地区暂不支持,请选择 supported_regions 中的地区 / GB is temporarily unavailable; choose one of supported_regions",
"region": "GB",
"region_supported": false,
"supported_regions": [
"ID",
"JP",
"MX",
"… 6 more items in the full response"
]
}
}
]เลือกตัวอย่างเพื่อโหลดอินพุตและผลลัพธ์ลงใน playground
Retrieve TikTok Shop product information by supplying a product_id. You can also narrow results by setting region and seller_id.
curl -X POST "https://api.sandbase.ai/v1/api/tiktok/shop-web/product-detail-v2" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"product_id": "<product_id>"}'
| Name | Type | Required | Description |
|---|---|---|---|
product_id | string | Yes | Product ID (required) |
region | string | No | Region coverage is unresolved: the schema description lists US/GB/SG/MY/PH/TH/VN/ID, but the saved GB detail result says region_supported false and lists ID/JP/MX/MY/PH/SG/TH/US/VN. Preserve both sources; neither is a newly verified coverage guarantee, and the same product may not exist in another market. |
seller_id | string | No | Seller ID (can be empty string) |
seller_id can be left as an empty string if unknown.Flat price per call. Failed calls, including lookups whose target does not exist, are not charged.
Send a product_id string and deliberately choose its region. seller_id is optional and may be empty when unknown; this detail schema declares no region default. A display title, seller ID or link is not a product ID. The saved request and generated request reference retain a GB example that returned an unsupported-region result; do not present that reference as a newly successful product lookup.
Region coverage is unresolved: the schema description lists US/GB/SG/MY/PH/TH/VN/ID, but the saved GB detail result says region_supported false and lists ID/JP/MX/MY/PH/SG/TH/US/VN. Preserve both sources; neither is a newly verified coverage guarantee, and the same product may not exist in another market.
The October 7 saved business object has region_supported false, region GB, an explanation and supported_regions. It has no code, nested data or product object. Detect that negative result explicitly and stop; do not treat it as code 0, manufacture an empty product or automatically switch regions. The schema's permissive object response is not a contract for every product field.
No current successful detail payload was obtained for this revision. The tutorial's October 1 US components_map observation remains dated history, not a newly verified universal success parser. Report an unfamiliar success shape for inspection instead of claiming that stock, price, title or reviews were checked. The README placeholder product ID is not an executed success example.
Keep requested market, exact identifiers and observation context. This read does not verify inventory, authenticity, stock across countries or sales performance. It does not poll, fetch media, call reviews or expand the seller catalog. To discover candidates instead, choose one product-search page independently and review the returned market and price units first.
Choose a keyword and market for search, or a known product ID and its market for detail. Give your agent the setup Skill, Markdown quickstart, selected endpoint and desired output. Keep SANDBASE_API_KEY locally and call POST /v1/api/ with Bearer authentication. Do not automatically select the best-selling candidate, resolve a link, fetch reviews or traverse a seller catalog.
Require completed SandBase status and a business object at outputs[0].data. Handle region_supported false before success parsing. Reject missing or malformed data instead of substituting an empty successful result. Keep exact string product, seller and SKU identifiers; numeric coercion can lose precision. This revision used public references and saved samples, not new business requests or a retested regional workflow.
Pricing inspected November 8 lists $0.001 per selected call and eligibility for 100 daily calls shared across eligible organization APIs, resetting at 00:00 UTC. Eligibility is not a remaining-quota measurement or a guarantee that the next call is free. Two deliberately chosen requests list at $0.002 before quota effects; this guide does not execute the pair. For the dated October experiment, see the TikTok Shop Python guide. Use the current request and saved-response boundaries described on this page.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
curl -X POST "https://api.sandbase.ai/v1/api/tiktok/shop-web/product-detail-v2" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"product_id": "1731581114818794403",
"region": "GB"
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
product_idstringจำเป็นProduct ID (required)
regionstringRegion coverage is unresolved: the schema description lists US/GB/SG/MY/PH/TH/VN/ID, but the saved GB detail result says region_supported false and lists ID/JP/MX/MY/PH/SG/TH/US/VN. Preserve both sources; neither is a newly verified coverage guarantee, and the same product may not exist in another market.
seller_idstringSeller ID (can be empty string)
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
[
{
"data": {
"message": "GB 地区暂不支持,请选择 supported_regions 中的地区 / GB is temporarily unavailable; choose one of supported_regions",
"region": "GB",
"region_supported": false,
"supported_regions": [
"ID",
"JP",
"MX",
"… 6 more items in the full response"
]
}
}
]สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
TikTok | $0.001 ต่อการเรียก | JSON |
TikTok | $0.001 ต่อการเรียก | JSON |
TikTok | $0.001 ต่อการเรียก | JSON |
TikTok | $0.001 ต่อการเรียก | JSON |
TikTok | $0.001 ต่อการเรียก | JSON |
TikTok | $0.001 ต่อการเรียก | JSON |
คู่มือ:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared
คำถาม
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/tiktok/shop-web/product-detail-v2 โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.001 ต่อครั้ง ทุกองค์กรจะได้รับคำขอฟรี 100 ครั้งต่อวัน UTC โดยใช้ร่วมกันใน SandBase APIs ที่เข้าเงื่อนไขรวมถึงรายการนี้ หลังจากนั้นแต่ละคำขอจะคิดค่าบริการตามราคานี้จากยอดคงเหลือ SandBase ของคุณ ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: product_id (string). ตัวเลือก: region (string) และ seller_id (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส)
ไม่จำเป็น TikTok Shop Product Details (V2) ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง TikTok API แยกต่างหาก
ไม่ มันคืนค่า region_supported false โดยไม่มี code, data หรือ product object เก็บตัวอย่างเชิงลบไว้และหยุดอย่างชัดเจน อย่าสร้างความสำเร็จแบบว่าง ๆ ขึ้นมาเองหรือสลับไปยังภูมิภาคอื่นโดยไม่บอก
ความครอบคลุมของภูมิภาคยังไม่ชัดเจน: คำอธิบายสคีมาระบุ US/GB/SG/MY/PH/TH/VN/ID แต่ผลลัพธ์รายละเอียด GB ที่บันทึกไว้บอกว่า region_supported false และแสดง ID/JP/MX/MY/PH/SG/TH/US/VN เก็บทั้งสองแหล่งข้อมูลไว้; ไม่มีแหล่งใดเป็นการยืนยันความครอบคลุมใหม่ และสินค้าเดียวกันอาจไม่มีในตลาดอื่น
ไม่ได้รับผลลัพธ์รายละเอียดใหม่ที่สำเร็จ โครงสร้าง components_map ของ US ในอดีตเป็นประวัติที่ล้าสมัย; สคีมาผลลัพธ์ปัจจุบันเปิดกว้างและไม่รับประกันฟิลด์สต็อก ผลลัพธ์ที่ไม่รู้จักต้องตรวจสอบ ไม่ใช่อ้างว่าได้ยืนยันสต็อกแล้วหรือขอรีวิว/แค็ตตาล็อกโดยอัตโนมัติ