TikTok Shop products of a shop API

Every product of one shop; parent is the shop's profile (first page).

GETapi.socialscrape.io/v1/tiktok/shop/products
Cost
1 credit
Cached repeats
0 creditssend max_age_days, results kept 30 days
Failed requests
0 credits
Status
Betashape may still gain fields

20 products a page in TikTok's own order, which puts a shop's best sellers first. sort=new_releases reads the whole catalogue (up to 120 products) and orders it newest first by product id, so it ignores the cursor and returns one page. US catalogue only.

You send url.

Request

Send your key in the x-api-key header.

curl
curl -G "https://api.socialscrape.io/v1/tiktok/shop/products" \
  -H "x-api-key: $SOCIALSCRAPE_API_KEY" \
  --data-urlencode 'url=https://www.tiktok.com/shop/store/goli-nutrition/7495794203056835079'
Python
import os
import requests

params = {
    "url": "https://www.tiktok.com/shop/store/goli-nutrition/7495794203056835079",
}
res = requests.get(
    "https://api.socialscrape.io/v1/tiktok/shop/products",
    headers={"x-api-key": os.environ["SOCIALSCRAPE_API_KEY"]},
    params=params,
    timeout=60,
)
body = res.json()

if body["ok"]:
    print(body["data"])
else:
    print(body["error"]["code"], body["error"]["message"])
TypeScript
const url = new URL("https://api.socialscrape.io/v1/tiktok/shop/products");
url.search = new URLSearchParams({
  url: "https://www.tiktok.com/shop/store/goli-nutrition/7495794203056835079",
}).toString();
const res = await fetch(url, {
  headers: { "x-api-key": process.env.SOCIALSCRAPE_API_KEY! },
});
const body = await res.json();

if (body.ok) {
  console.log(body.data);
} else {
  console.error(body.error.code, body.error.message);
}
n8n
{
  "nodes": [
    {
      "name": "SocialScrape TikTok Shop products of a shop",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        0,
        0
      ],
      "parameters": {
        "method": "GET",
        "url": "https://api.socialscrape.io/v1/tiktok/shop/products",
        "sendQuery": true,
        "queryParameters": {
          "parameters": [
            {
              "name": "url",
              "value": "https://www.tiktok.com/shop/store/goli-nutrition/7495794203056835079"
            }
          ]
        },
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "x-api-key",
              "value": "={{ $env.SOCIALSCRAPE_API_KEY }}"
            }
          ]
        }
      }
    }
  ],
  "connections": {}
}

Parameters

NameTypeRequiredDescription
urlurlyesShop URL (tiktok.com/shop/store/<name>/<id>).
sortstringOrder of results. Changing it restarts the cursor chain. Also accepted as sort_by, sortBy, order.
cursorstringOpaque cursor from the previous page; pass it back unchanged. Also accepted as continuationToken, continuation_token, next_max_id, max_id, max_cursor, min_time, after, page_token, pageToken, paginationToken, next_page_id, page.
regionstringTwo-letter country code (ISO 3166-1) for results that vary by country. Also accepted as country, geo.

Every request also accepts trim, raw and max_age_days.

Response

Sample from a recorded response, shortened. Values are public data, not yours.

Status 200Sample
{
  "ok": true,
  "credits_charged": 1,
  "credits_remaining": 4999,
  "cached": false,
  "cached_at": null,
  "request_id": "req_b0074802ede3c6d7f03c29f6",
  "data": {
    "object": "list",
    "items": [
      {
        "object": "product",
        "platform": "tiktok",
        "id": "1729527313880355335",
        "url": "https://www.tiktok.com/shop/pdp/ashwagandha-gummies-by-goli-ksm-66-mixed-berry-vegan-non-gmo/1729527313880355335",
        "title": "Goli Ashwagandha & Vitamin D Gummy - Mixed Berry, KSM-66, Vegan, Plant Based, Non-GMO, Gluten-Free & Gelatin Free. America's #1 Ashwagandha Brand",
        "description": null,
        "price": {
          "amount": 19.47,
          "currency": "USD",
          "original_amount": 24.7,
          "display": "$19.47"
        },
        "seller": {
          "id": "7495794203056835079",
          "handle": null,
          "name": "Goli Nutrition",
          "url": null,
          "avatar_url": "https://p16-oec-general-useast5.ttcdn-us.com/tos-useast5-i-omjb5zjo8w-tx/e7478d3e93d4487a9e772fa74e10f506~tplv-fhlh96nyum-resize-png:300:300.png?dr=12184&t=5...",
          "verified": null
        },
        "rating": 4.5,
        "review_count": 94470,
        "sold_count": 1306215,
        "image_urls": [
          "https://p16-oec-general-useast5.ttcdn-us.com/tos-useast5-i-omjb5zjo8w-tx/2bc69aa9f6084480beee1bb4a8db3a69~tplv-fhlh96nyum-crop-webp:1500:1500.webp?dr=12190&t..."
        ],
        "category": null,
        "in_stock": null,
        "location": null,
        "published_at": null,
        "extra": {
          "brand": "Goli",
          "discount": "21%",
          "labels": [
            "Free shipping"
          ],
          "sku_id": "1729527298861535751"
        }
      },
      {
        "object": "product",
        "platform": "tiktok",
        "id": "1731194857673101831",
        "url": "https://www.tiktok.com/shop/pdp/zero-sugar-best-seller-trio-goli-ashwagandha-gummies-vegan-non-gmo/1731194857673101831",
        "title": "Goli Zero Sugar Best Seller Trio - Daily Gut & Wellness Support with Pre, Post & Probiotics, Apple Cider Vinegar, Ashwagandha & L-Theanine Gummies",
        "description": null,
        "price": {
          "amount": 49.37,
          "currency": "USD",
          "original_amount": 74.1,
          "display": "$49.37"
        },
        "seller": {
          "id": "7495794203056835079",
          "handle": null,
          "name": "Goli Nutrition",
          "url": null,
          "avatar_url": "https://p16-oec-general-useast5.ttcdn-us.com/tos-useast5-i-omjb5zjo8w-tx/e7478d3e93d4487a9e772fa74e10f506~tplv-fhlh96nyum-resize-png:300:300.png?dr=12184&t=5...",
          "verified": null
        },
        "rating": 4.4,
        "review_count": 49061,
        "sold_count": 1041805,
        "image_urls": [
          "https://p16-oec-general-useast5.ttcdn-us.com/tos-useast5-i-omjb5zjo8w-tx/02f1b939f53d400998099bfad0f85a14~tplv-fhlh96nyum-crop-webp:3000:3000.webp?dr=12190&t..."
        ],
        "category": null,
        "in_stock": null,
        "location": null,
        "published_at": null,
        "extra": {
          "brand": "Goli",
          "discount": "33%",
          "labels": [
            "Free shipping"
          ],
          "sku_id": "1731194889857176071"
        }
      }
    ],
    "cursor": "eyJzIjoiNzQ5NTc5NDIwMzA1NjgzNTA3OSIsInNwIjoiMjBfV3pNM05qUXpMRFUzTURBd01EQXdMREUzTkRjek16TTNNRFF6TURBc0lqRTNNekV4TnpNM01ETTBOelU1TlRneU56a2lYUT09IiwibyI6MjB9",
    "has_more": true,
    "parent": {
      "object": "profile",
      "platform": "tiktok",
      "id": "7495794203056835079",
      "handle": null,
      "name": "Goli Nutrition",
      "headline": null,
      "url": "https://www.tiktok.com/shop/store/goli-nutrition/7495794203056835079",
      "kind": "shop",
      "bio": "Shop Goli Nutrition on TikTok Shop! 5.8M sold, 601.5K+ followers. 89+% positive feedback. 0+% Ships in 48h, 99+% replies in 24h. Join the trend!",
      "avatar_url": "https://p16-oec-general-useast5.ttcdn-us.com/tos-useast5-i-omjb5zjo8w-tx/e7478d3e93d4487a9e772fa74e10f506~tplv-fhlh96nyum-resize-webp:300:300.webp?dr=12185&t...",
      "banner_url": null,
      "verified": null,
      "is_private": null,
      "external_url": null,
      "links": [
        {
          "title": "TikTok Shop",
          "url": "https://www.tiktok.com/shop/store/goli-nutrition/7495794203056835079"
        }
      ],
      "location": null,
      "category": null,
      "created_at": null,
      "stats": {
        "followers": 601537,
        "following": null,
        "posts": 5637,
        "likes": null,
        "views": null
      },
      "extra": {
        "creator_name": "GoliĀ® Nutrition",
        "identity": "OFFICIAL SHOP",
        "product_count": 53,
        "rating": 4.6,
        "region": "US",
        "review_count": 412514
      }
    }
  },
  "cursor": "eyJzIjoiNzQ5NTc5NDIwMzA1NjgzNTA3OSIsInNwIjoiMjBfV3pNM05qUXpMRFUzTURBd01EQXdMREUzTkRjek16TTNNRFF6TURBc0lqRTNNekV4TnpNM01ETTBOelU1TlRneU56a2lYUT09IiwibyI6MjB9",
  "has_more": true
}

Fields

A page of results. Each entry in items is a Product. cursor and has_more page through the rest.

A field the platform does not give is null, never made up. Extra platform details are in extra.

FieldTypeAlwaysNotes
object"product"
platformPlatformyes
idstringyes
urlstring or null
titlestring or null
descriptionstring or null
pricePrice or null
sellerAuthor or null
ratingnumber or null
review_countinteger or null
sold_countinteger or null
image_urlsstring[] or null
categorystring or null
in_stockboolean or null
Show the other 3 fields
FieldTypeAlwaysNotes
locationPlace or null
published_atstring (ISO 8601 date-time) or null
extraobject or null

Full field list in the reference for this endpoint and the data models. Errors are listed under Errors.

Questions

Which errors can it return?

invalid_params (do not retry), unsupported_url (do not retry), not_found (do not retry). Account and platform errors from the errors list can also happen. A failure always costs 0 credits.

How do I get more than one page?

Send the same request with cursor set to the cursor you received, until has_more is false. Each page costs its own price. See pagination.

Is there an SDK call for it?

The preview Python client has client.tiktok.shop_products(...) and the TypeScript client client.tiktok.shopProducts(). Both return the same envelope as the HTTP API. The packages are not published yet; plain HTTP works today in any language.

Can an AI agent call it?

Yes. The MCP server reaches every built endpoint, with the same prices.

Build on social data early.

Developers and agent builders get the first keys.

Get early access