SocialPipe docs

Tiktok Shop Web Fetch Product Id By Share Link

GET/v1/tiktok/shop/web/fetch_product_id_by_share_link

Returns no personal data. See our terms for what you may do with it.

Costs 1 credit. A cache hit costs nothing, and an answer that contains no data is never charged.

curl "https://api.socialpipe.dev/v1/tiktok/shop/web/fetch_product_id_by_share_link" \  -H "Authorization: Bearer $SOCIALPIPE_KEY"
AuthorizationBearer <token>

Your SocialPipe API key, as Authorization: Bearer sp_live_…. Create one in the dashboard.

In: header

Query Parameters

cache_ttl?|

Max acceptable age of a cached result, in seconds. A lower value demands fresher data; it does not shorten what is stored.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/tiktok/shop/web/fetch_product_id_by_share_link?share_link=https%3A%2F%2Faffiliate-us.tiktok.com%2Fapi%2Fv1%2Fshare%2FAJ4hS3OdXmSg"
{  "cache_age": 0,  "cached": false,  "credits_remaining": 0,  "credits_used": 0,  "data": {},  "schema_version": "2",  "success": true,  "took_ms": 0}