Sand AISand AI MAGI-2MAGI-2 ist jetzt auf SandBase: 1080p-Video mit nativem AudioJetzt testen

TikTok Shop Product ID by Share Link

API-Dokumentation
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.

Preis
$0.001USD / Aufruf
Methode
POST
Antwort
JSON
Parameter
1 erforderlich · 0 optional
100 kostenlose Aufrufe / TagDie ersten 100 Aufrufe pro Tag kostenlos (organisationsweit geteilt) · Zurücksetzung um 00:00 UTC. Danach Abrechnung pro Aufruf.

Playground

Eingabe
AusgabeBeispiel
Antwortoutputs · 308 B · 12 Zeilen
[
  {
    "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
    }
  }
]

Beispiele

Wählen Sie ein Beispiel aus, um seine Eingaben und das Ergebnis in den Playground zu laden.

API-README

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.

Mehr entdecken

Verwandte APIs

Alle APIs
APIPreisAntwort
TikTok$0.001 pro AufrufJSON
TikTok$0.001 pro AufrufJSON
TikTok$0.001 pro AufrufJSON
TikTok$0.001 pro AufrufJSON
TikTok$0.001 pro AufrufJSON
TikTok$0.001 pro AufrufJSON

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

Fragen

FAQ

Wie verwende ich die TikTok Shop Product ID by Share Link API?

Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/tiktok/shop-web/product-id-by-share-link mit Ihrem SandBase API-Schlüssel im Authorization-Header (Bearer) und den Parametern als JSON-Body. Sie können das auch ohne Code direkt auf dieser Seite im Playground testen.

Was kostet die TikTok Shop Product ID by Share Link API?

$0.001 pro Aufruf. Jede Organisation erhält 100 kostenlose Aufrufe pro UTC-Tag, gemeinsam über alle berechtigten SandBase APIs einschließlich dieser hier; danach wird jeder Aufruf zu diesem Preis von Ihrem SandBase-Guthaben abgerechnet. Es gibt kein Abo.

Welche Parameter akzeptiert die TikTok Shop Product ID by Share Link API?

Erforderlich: share_link (string). Die Parametertabelle und der Playground auf dieser Seite listen jedes Feld auf.

Was gibt die TikTok Shop Product ID by Share Link API zurück?

Eine JSON-Antwort, die in derselben HTTP-Anfrage zurückgegeben wird (synchron). Die README auf dieser Seite enthält eine Beispielantwort.

Benötige ich ein TikTok-Entwicklerkonto oder einen API-Schlüssel?

Nein. TikTok Shop Product ID by Share Link läuft über SandBase, daher deckt ein SandBase API-Schlüssel diesen Endpunkt und jede andere API sowie jedes Modell im Katalog ab. Sie müssen keinen separaten Zugang für TikTok API beantragen.