TikTok Shop API

TikTok Shop Categories API

List the TikTok Shop category tree for a market: top-level categories with ids, slugs, and images, each with its child categories.

$1.20/1k req, pay per request, no subscription.

TikTok Shop - Shop by Category
tiktok.com/shop/category
Shop

Shop by category

Beauty & Personal Care

Beauty & Personal Care

  • Skin Care
  • Makeup
  • Hair Care
Health & Wellness

Health & Wellness

Pet Supplies

Pet Supplies

What the API returnedcategories[0]
{
"categoryId": "601226",
"name": "Beauty & Personal Care",
"slug": "beauty-personal-care",
"image": "https://p16-oec-va.ibyteimg.com/tos-maliva-i-aphluv4xwc-us/cat-beauty-tile~tplv-aphluv4xwc-2.image",
"isLeaf": false,
"children": [...]
}
Uptime
100.00%
30d · 56 calls
Requests
56
30d · weekly, last 12 wks
Response
0.3s
median · 30d

Pricing

TikTok Shop Categories API pricing

You pay
$12.00
$1.20/1k req, only for what you use. No monthly plan.
Your first 83 requests are free with the $0.10 starting balance.

Try it

Get TikTok Shop categories in one request

Open in
Get a free key
Sample response
Free runs return only the first 3 results. Fund a key to get the full response.

This sample shows 14 of 15 fields. See every field

{
  "found": true,
  "data": {
    "categories": [
      {
        "categoryId": "601226",
        "name": "Beauty & Personal Care",
        "slug": "beauty-personal-care",
        "image": "https://p16-oec-va.ibyteimg.com/tos-maliva-i-aphluv4xwc-us/cat-beauty-tile~tplv-aphluv4xwc-2.image",
        "isLeaf": false,
        "children": [
          {
            "categoryId": "601226001",
            "name": "Skin Care",
            "slug": "skin-care",
            "isLeaf": true,
            "image": "https://p16-oec-va.ibyteimg.com/tos-maliva-i-aphluv4xwc-us/cat-skincare~tplv-aphluv4xwc-2.image"
          },
          {
            "categoryId": "601226002",
            "name": "Makeup",
            "slug": "makeup",
            "isLeaf": true,
            "image": "https://p16-oec-va.ibyteimg.com/tos-maliva-i-aphluv4xwc-us/cat-makeup~tplv-aphluv4xwc-2.image"
          },
          {
            "categoryId": "601226003",
            "name": "Hair Care",
            "slug": "hair-care",
            "isLeaf": true,
            "image": "https://p16-oec-va.ibyteimg.com/tos-maliva-i-aphluv4xwc-us/cat-haircare~tplv-aphluv4xwc-2.image"
          }
        ]
      },
      {
        "categoryId": "601233",
        "name": "Health & Wellness",
        "slug": "health-wellness",
        "image": "https://p16-oec-va.ibyteimg.com/tos-maliva-i-aphluv4xwc-us/cat-health-tile~tplv-aphluv4xwc-2.image",
        "isLeaf": false,
        "children": [
          {
            "categoryId": "601233001",
            "name": "Vitamins & Supplements",
            "slug": "vitamins-supplements",
            "isLeaf": true,
            "image": "https://p16-oec-va.ibyteimg.com/tos-maliva-i-aphluv4xwc-us/cat-vitamins~tplv-aphluv4xwc-2.image"
          },
          {
            "categoryId": "601233002",
            "name": "Personal Care",
            "slug": "personal-care",
            "isLeaf": true,
            "image": "https://p16-oec-va.ibyteimg.com/tos-maliva-i-aphluv4xwc-us/cat-personalcare~tplv-aphluv4xwc-2.image"
          }
        ]
      },
      {
        "categoryId": "601239",
        "name": "Pet Supplies",
        "slug": "pet-supplies",
        "image": "https://p16-oec-va.ibyteimg.com/tos-maliva-i-aphluv4xwc-us/cat-pets-tile~tplv-aphluv4xwc-2.image",
        "isLeaf": true,
        "children": []
      }
    ]
  }
}

Full parameter and response reference - every field, type, and example for this endpoint.

Reference

One request, one response shape.

Every field you send and every field you get back, each with a real example.

Last verified 2026-11-22 · uptime and latency measured over 30d

Request body

JSON, posted to this endpoint.

  • regionenum

    US

    Country code of the TikTok Shop market whose category tree to list. Only US and VN publish a category tree.

You send. A small JSON body. The values shown are examples to replace with your own.

Response

JSON, one example value per field.

each categorydata.categories[]

Top-level TikTok Shop categories for the market, each with its child categories. Populated whenever the provider has data for the entity.

  • categoryIdstring

    601226

    TikTok Shop category id. Populated whenever the provider has data for the entity.

  • imagestring

    https://p16-oec-va.ibyteimg.com/tos-maliva-i-aphluv4xwc-us/cat-beauty-tile~tplv-aphluv4xwc-2.image

    Category tile image URL.

  • isLeafboolean

    false

    True when the category has no children.

  • namestring

    Beauty & Personal Care

    Display name of the category. Populated whenever the provider has data for the entity.

  • slugstring

    beauty-personal-care

    URL slug of the category.

each childrendata.categories[].children[]

Child categories one level down.

  • categoryIdstring

    601226001

    TikTok Shop category id.

  • imagestring

    https://p16-oec-va.ibyteimg.com/tos-maliva-i-aphluv4xwc-us/cat-skincare~tplv-aphluv4xwc-2.image

    Category image URL.

  • isLeafboolean

    true

    True when the category has no children.

  • namestring

    Skin Care

    Display name of the category.

  • slugstring

    skin-care

    URL slug of the category.

top level
  • foundboolean

    true

  • reason"not_found"

    Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.

You get back. Named, typed fields in the same shape whichever source answers.

FAQ

About the TikTok Shop Categories API

The AnyAPI TikTok Shop Categories API returns TikTok Shop categories data as normalized JSON from one POST call to /v1/run/tiktok_shop.categories. List the TikTok Shop category tree for a market: top-level categories with ids, slugs, and images, each with its child categories. AnyAPI returns one normalized schema whichever source serves it. It costs from $1.20 per 1,000 requests, in US dollars with no subscription and no monthly minimum. Over the last 30 days, 100.0% of TikTok Shop categories calls through AnyAPI succeeded, with a median response time of 0.3 seconds across 56 measured calls.

It costs from $1.20 per 1,000 requests, in US dollars with no subscription and no monthly minimum. You fund one USD wallet and each call draws it down. Some failed wallet-funded requests incur processing charges that we pass through at cost, with no markup; the error response shows the amount charged.

List the TikTok Shop category tree for a market: top-level categories with ids, slugs, and images, each with its child categories. The response is normalized JSON with the same envelope every AnyAPI endpoint returns, so parsing a second endpoint is a change of URL and nothing else.

Over the last 30 days, 100.0% of TikTok Shop categories calls through AnyAPI succeeded, with a median response time of 0.3 seconds across 56 measured calls. These are AnyAPI's own measurements of traffic through the gateway, recomputed continuously, not a published service-level target.

Yes. A new AnyAPI account starts with $0.10 of free balance and no card required, which covers 83 TikTok Shop Categories calls at $0.0012 each.

Send a POST request to https://api.getanyapi.com/v1/run/tiktok_shop.categories with your AnyAPI key in an "Authorization: Bearer" header and the input as a JSON body. The same key and the same wallet work on every AnyAPI endpoint.

No. You add US dollars to one prepaid AnyAPI balance and each request draws it down. There is no monthly plan and no minimum, and the same balance pays for every AnyAPI endpoint.

Yes. Install @getanyapi/sdk from npm for TypeScript or getanyapi from pip for Python. Both call every AnyAPI endpoint with the same key, and any HTTP client works too.

Yes. An agent can connect to the AnyAPI MCP server at https://api.getanyapi.com/mcp, or create its own free-trial key with one unauthenticated POST to https://api.getanyapi.com/agent/signup and call this endpoint over HTTP.