Sand AISand AI MAGI-2MAGI-2 è ora su SandBase: video in 1080p con audio nativoProvalo ora

TikTok Shop Product ID by Share Link

Documentazione API
https://api.sandbase.ai/v1/api/tiktok/shop-web/product-id-by-share-link

Returns the TikTok Shop product identifier extracted from a provided product share link. Takes a required share URL to resolve the associated product ID.

Prezzo
$0.001USD / chiamata
Metodo
POST
Risposta
JSON
Parametri
1 obbligatori · 0 opzionali
100 chiamate gratuite / giornoPrime 100 chiamate al giorno gratuite (condivise per organizzazione) · Si azzera alle 00:00 UTC. Dopo, pagamento per chiamata.

Playground

Input
OutputEsempio
Rispostaoutputs · 308 B · 12 righe
[
  {
    "data": {
      "final_url": "test",
      "message": "无法识别的链接形态 / unrecognized link shape;原样重试不会成功,请核对分享链接 / retrying the same link will not succeed — please check the share link",
      "product_id": null,
      "resolved": false,
      "share_link": "test",
      "status_code": null
    }
  }
]

Esempi

Seleziona un esempio per caricare i suoi input e il risultato nel playground.

README API

TikTok Shop Product ID by Share Link API

Returns the TikTok Shop product ID for a product share link. Send the full share URL in share_link. The response also includes a product_link deep link for the TikTok app.

Use cases

  • Convert a TikTok Shop share link copied from the app into a numeric product ID.
  • Normalize affiliate share links into product IDs before storing them in a product database.
  • Feed the resolved product_id into a product detail call to get price and seller data.
  • Deduplicate a list of shared links by comparing the product IDs they resolve to.

Request

curl -X POST "https://api.sandbase.ai/v1/api/tiktok/shop-web/product-id-by-share-link" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"share_link": "https://affiliate-us.tiktok.com/api/v1/share/AJ4hS3OdXmSg"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
share_linkstringYesShare link

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "product_id": "8651224669119091502",
  "product_link": "snssdk1180://lynxview?bundle=partner-product-page%2Ftemplate.js&channel=tea_prod…"
}

Response fields

FieldMeaning
product_idThe TikTok Shop product ID that the share link points to. It is returned as a string of digits.
product_linkA TikTok app deep link (snssdk1180:// scheme) for the product page. It carries URL-encoded query parameters such as the page bundle and channel.

Notes

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Esplora altro

API correlate

Tutte le API
APIPrezzoRisposta
TikTok$0.001 per chiamataJSON
TikTok$0.001 per chiamataJSON
TikTok$0.001 per chiamataJSON
TikTok$0.001 per chiamataJSON
TikTok$0.001 per chiamataJSON
TikTok$0.001 per chiamataJSON

Guide:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared

Domande

FAQ

Come uso l'API TikTok Shop Product ID by Share Link?

Invia una richiesta POST a https://api.sandbase.ai/v1/api/tiktok/shop-web/product-id-by-share-link con la tua chiave API di SandBase nell'header Authorization (Bearer) e i parametri nel body JSON. Puoi anche provarla nel Playground di questa pagina senza scrivere codice.

Quanto costa l'API TikTok Shop Product ID by Share Link?

$0.001 per chiamata. Ogni organizzazione riceve 100 chiamate gratuite al giorno UTC, condivise tra le API SandBase idonee, inclusa questa; dopo, ogni chiamata viene addebitata a questo prezzo dal tuo saldo SandBase. Non c'è alcun abbonamento.

Quali parametri accetta l'API TikTok Shop Product ID by Share Link?

Richiesti: share_link (string). La tabella dei parametri e il Playground di questa pagina elencano tutti i campi.

Cosa restituisce l'API TikTok Shop Product ID by Share Link?

Una risposta JSON restituita nella stessa richiesta HTTP (sincrona). Il README di questa pagina include una risposta di esempio.

Mi serve un account sviluppatore o una chiave API TikTok?

No. TikTok Shop Product ID by Share Link funziona tramite SandBase, quindi una sola chiave API SandBase copre questo endpoint e tutte le altre API e modelli del catalogo. Non è necessario richiedere separatamente l'accesso alle API TikTok.