product_idstringwajib
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"
]
}
}
]Pilih contoh untuk memuat input dan hasilnya ke 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.
Mulai membangun
Endpoint API platform dengan autentikasi dan pelacakan penggunaan terpadu.
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"
}'Atur SandBase API key Anda di environment server Anda. Permintaan menggunakan autentikasi Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Simpan key Anda di server. Jangan tampilkan di kode browser.
product_idstringwajibProduct 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)
Contoh respons yang disimpan untuk API ini; tidak ada permintaan langsung yang dibuat saat melihatnya.
[
{
"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"
]
}
}
]Jelajahi lebih lanjut
| API | Harga | Respons |
|---|---|---|
TikTok | $0.001 per panggilan | JSON |
TikTok | $0.001 per panggilan | JSON |
TikTok | $0.001 per panggilan | JSON |
TikTok | $0.001 per panggilan | JSON |
TikTok | $0.001 per panggilan | JSON |
TikTok | $0.001 per panggilan | JSON |
Panduan:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared
Pertanyaan
Kirim permintaan POST ke https://api.sandbase.ai/v1/api/tiktok/shop-web/product-detail-v2 dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.
$0.001 per panggilan. Setiap organisasi mendapat 100 panggilan gratis per hari UTC, dibagi di seluruh API SandBase yang memenuhi syarat termasuk yang ini; setelah itu setiap panggilan ditagihkan dengan harga ini dari saldo SandBase Anda. Tidak ada langganan.
Wajib: product_id (string). Opsional: region (string) dan seller_id (string). Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.
Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron).
Tidak. TikTok Shop Product Details (V2) berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API TikTok secara terpisah.
Tidak. Respons itu mengembalikan region_supported false tanpa code, data, atau objek product. Pertahankan contoh negatif dan berhenti secara eksplisit; jangan mengarang success kosong atau diam-diam beralih ke region lain.
Cakupan region belum terselesaikan: deskripsi skema mencantumkan US/GB/SG/MY/PH/TH/VN/ID, tetapi hasil detail GB yang tersimpan mengatakan region_supported false dan mencantumkan ID/JP/MX/MY/PH/SG/TH/US/VN. Pertahankan kedua sumber; tidak ada yang merupakan jaminan cakupan terverifikasi baru, dan produk yang sama mungkin tidak ada di pasar lain.
Tidak ada respons detail sukses baru yang diperoleh. Pengamatan lama components_map US adalah sejarah yang sudah usang; skema respons saat ini bersifat permisif dan tidak menjamin field inventory. Hasil yang tidak dikenal memerlukan inspeksi, bukan klaim stok terverifikasi atau permintaan review/katalog otomatis.