product_idstringwymagane
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"
]
}
}
]Wybierz przykład, aby wczytać jego dane wejściowe i wynik do playgroundu.
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.
Zacznij tworzyć
Punkt końcowy API platformy z jednolitym uwierzytelnianiem i śledzeniem użycia.
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"
}'Ustaw klucz API SandBase w środowisku serwera. Żądania używają uwierzytelniania Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Przechowuj klucz na serwerze. Nie ujawniaj go w kodzie przeglądarkowym.
product_idstringwymaganeProduct 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)
Zapisany przykładowy response dla tego API; podczas wyświetlania nie jest wykonywane żadne żądanie na żywo.
[
{
"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"
]
}
}
]Odkryj więcej
| API | Cena | Odpowiedź |
|---|---|---|
TikTok | $0.001 za wywołanie | JSON |
TikTok | $0.001 za wywołanie | JSON |
TikTok | $0.001 za wywołanie | JSON |
TikTok | $0.001 za wywołanie | JSON |
TikTok | $0.001 za wywołanie | JSON |
TikTok | $0.001 za wywołanie | JSON |
Przewodniki:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared
Pytania
Wyślij żądanie POST do https://api.sandbase.ai/v1/api/tiktok/shop-web/product-detail-v2 z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.
$0.001 za wywołanie. Każda organizacja otrzymuje 100 bezpłatnych wywołań na dzień UTC, współdzielonych między kwalifikującymi się API SandBase, w tym to; potem każde wywołanie jest rozliczane według tej stawki z salda SandBase. Nie ma subskrypcji.
Wymagane: product_id (string). Opcjonalne: region (string) i seller_id (string). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.
Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie).
Nie. TikTok Shop Product Details (V2) działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API TikTok.
Nie. Zwraca region_supported false bez code, data ani obiektu product. Zachowaj negatywny przykład i jawne zatrzymanie; nie twórz pustego sukcesu ani po cichu nie przełączaj na inny region.
Zakres regionów pozostaje nierozstrzygnięty: opis schematu podaje US/GB/SG/MY/PH/TH/VN/ID, ale zapisany wynik szczegółów GB mówi region_supported false i wymienia ID/JP/MX/MY/PH/SG/TH/US/VN. Zachowaj oba źródła; żadne z nich nie jest nowo zweryfikowaną gwarancją pokrycia, a ten sam produkt może nie istnieć na innym rynku.
Nie uzyskano nowej pomyślnej odpowiedzi szczegółów. Stare spostrzeżenie dotyczące US components_map to historyczny zapis; obecny schemat odpowiedzi jest elastyczny i nie gwarantuje pól magazynowych. Nierozpoznane wyniki wymagają analizy, a nie twierdzenia o zweryfikowanym stanie magazynowym czy automatycznego żądania review/catalog.