TikTok Shop Search API Documentation

GET   /api/v1/search?engine=tiktok_shop_search

The TikTok Shop Search API returns the product listings TikTok Shop shows for a keyword, up to 30 per page, in its US store or, with country, in its Brazil, Indonesia, Japan, Mexico, Malaysia, Philippines, Singapore, Thailand or Vietnam store. Each product comes with its price in the store's currency and the shop that sells it and, when TikTok Shop shows them, the crossed-out price and discount, its rating, review count and units sold, and the badges on its card. Results can be ordered by relevance or by best sellers, and paged with next_page_token.

API Parameters

Search Query

  • Name
    q
    Required
    Optional
    Description

    Parameter defines the keyword to search TikTok Shop for, up to 100 characters (e.g. wireless earbuds). Required unless next_page_token is set.

Localization

  • Name
    country
    Required
    Optional
    Description

    Parameter defines the country whose TikTok Shop store to search, as a two-letter code. It can be set to US (United States, default), BR (Brazil), ID (Indonesia), JP (Japan), MX (Mexico), MY (Malaysia), PH (Philippines), SG (Singapore), TH (Thailand) or VN (Vietnam). Products, prices and currency are those of that country's store.

Sorting

  • Name
    sort_by
    Required
    Optional
    Description

    Parameter defines the order of the results. It can be set to relevance (default) or best_selling, TikTok Shop's best sellers order. best_selling is available when country is US, MY, PH, SG, TH or VN.

Pagination

  • Name
    next_page_token
    Required
    Optional
    Description

    Parameter defines the token used to retrieve the next page of results. It is returned as pagination.next_page_token while more results are available, and it keeps the q, sort_by and country it was issued for, so it can be passed on its own. A product can appear on more than one page.

Engine

  • Name
    engine
    Required
    Required
    Description

    Parameter defines an engine that will be used to retrieve real-time data. It must be set to tiktok_shop_search.

API key

  • Name
    api_key
    Required
    Required
    Description

    The api_key authenticates your requests. Use it as a query parameter (https://www.searchapi.io/api/v1/search?api_key=YOUR_API_KEY) or in the Authorization header (Bearer YOUR_API_KEY).

Zero Data Retention

  • Name
    zero_retention
    Enterprise Only
    Enterprise Only
    Required
    Optional
    Description

    Set this parameter to true to disable all logging and persistent storage. No request parameters, HTML, or JSON responses are stored or logged. Suitable for high-compliance use cases. Debugging and support may be limited while enabled.

API Examples

Search

Each entry in organic_results carries the product_id, title and product page link, the price and extracted_price, the seller and a thumbnail. brand, original_price, discount_percentage, reviews, items_sold and badges appear when TikTok Shop shows them, and rating is left out for products nobody has reviewed yet.

GET
https://www.searchapi.io/api/v1/search?engine=tiktok_shop_search&q=wireless+earbuds
Request
import requests

url = "https://www.searchapi.io/api/v1/search"
params = {
  "engine": "tiktok_shop_search",
  "q": "wireless earbuds"
}

response = requests.get(url, params=params)
print(response.text)
Response
{
  "search_metadata": {
    "id": "search_qWVwGvboYPYTANz0gmDQJaN4",
    "status": "Success",
    "created_at": "2026-10-27T22:20:18Z",
    "request_time_taken": 5.35,
    "parsing_time_taken": 0.0,
    "total_time_taken": 5.35,
    "request_url": "https://shop.tiktok.com/us/s?q=wireless+earbuds",
    "html_url": "https://www.searchapi.io/api/v1/searches/search_qWVwGvboYPYTANz0gmDQJaN4.html",
    "json_url": "https://www.searchapi.io/api/v1/searches/search_qWVwGvboYPYTANz0gmDQJaN4"
  },
  "search_parameters": {
    "engine": "tiktok_shop_search",
    "q": "wireless earbuds",
    "country": "US"
  },
  "organic_results": [
    {
      "position": 1,
      "product_id": "1731665000546472026",
      "title": "MSHUKCOE Sleep-Ready Mini Plastic Bluetooth 5.4 Wireless Earbuds - Noise Cancellation, 36H Battery Life, Distinct Calls, Waterproof, Touch Controls, Stable Connection, Portable, No Fumbling, Charging, Cable Management for Work, Sport",
      "link": "https://shop.tiktok.com/us/pdp/mshukcoe-mini-ultra-small-noise-reducing-bluetooth-earbuds-waterproof-36-hours-battery-life-intellig/1731665000546472026",
      "brand": "MSHUKCOE",
      "price": "$33.80",
      "extracted_price": 33.8,
      "currency": "USD",
      "rating": 4.4,
      "reviews": 435,
      "items_sold": 3179,
      "seller": {
        "id": "7495904598724610138",
        "name": "Listening Digital",
        "thumbnail": "https://p16-oec-general-useast5.ttcdn-us.com/tos-useast5-i-omjb5zjo8w-tx/4d57dbfb5ce9423fb511f193c4c..."
      },
      "badges": [
        "Free shipping",
        "..."
      ],
      "thumbnail": "https://p16-oec-general-useast5.ttcdn-us.com/tos-useast5-i-omjb5zjo8w-tx/80fd281283de40bfb03e8e4ac54..."
    },
    "..."
  ],
  "pagination": {
    "next_page_token": "eyJvZmZzZXQiOiIzMCIsInEiOiJ3aXJlbGVzcyBlYXJidWRzIn0"
  }
}

Best Sellers

Best Sellers
GET
https://www.searchapi.io/api/v1/search?engine=tiktok_shop_search&q=air+fryer&sort_by=best_selling
Request
import requests

url = "https://www.searchapi.io/api/v1/search"
params = {
  "engine": "tiktok_shop_search",
  "q": "air fryer",
  "sort_by": "best_selling"
}

response = requests.get(url, params=params)
print(response.text)
Response
{
  "search_metadata": {
    "id": "search_1zxXmPv3DdnFwGmy3VdOanD5",
    "status": "Success",
    "created_at": "2026-10-27T22:20:30Z",
    "request_time_taken": 5.41,
    "parsing_time_taken": 0.0,
    "total_time_taken": 5.42,
    "request_url": "https://shop.tiktok.com/us/s?q=air+fryer",
    "html_url": "https://www.searchapi.io/api/v1/searches/search_1zxXmPv3DdnFwGmy3VdOanD5.html",
    "json_url": "https://www.searchapi.io/api/v1/searches/search_1zxXmPv3DdnFwGmy3VdOanD5"
  },
  "search_parameters": {
    "engine": "tiktok_shop_search",
    "q": "air fryer",
    "sort_by": "best_selling",
    "country": "US"
  },
  "organic_results": [
    {
      "position": 1,
      "product_id": "1731368297839105011",
      "title": "MIRASTON 5.8QT Mid-Size Programmable Air Fryer - Adjustable Temperature Fryer, 1400W Fast Heat, 24H Preset Cook, Touch Control, 8 Cooking Presets, Visible Window, Nonstick Stainless Steel Basket, Dishwasher-Safe, US Plug Kitchen Appliance with Recipe,soho",
      "link": "https://shop.tiktok.com/us/pdp/miraston-5-8qt-air-fryer-with-touch-control-8-presets-nonstick-basket/1731368297839105011",
      "price": "$105.29",
      "extracted_price": 105.29,
      "currency": "USD",
      "rating": 4.9,
      "reviews": 98,
      "items_sold": 874,
      "seller": {
        "id": "7495836783473101811",
        "name": "MIRASTON USA",
        "thumbnail": "https://p19-oec-general-useast5.ttcdn-us.com/tos-useast5-i-omjb5zjo8w-tx/4c3268f9f3474367a74072c6777..."
      },
      "badges": [
        "Free shipping",
        "..."
      ],
      "thumbnail": "https://p16-oec-general-useast5.ttcdn-us.com/tos-useast5-i-omjb5zjo8w-tx/cd7c1b9bd79c442881269604608..."
    },
    "..."
  ],
  "pagination": {
    "next_page_token": "eyJvZmZzZXQiOiIzMCIsInEiOiJhaXIgZnJ5ZXIiLCJzb3J0X2J5IjoiYmVzdF9zZWxsaW5nIn0"
  }
}

Next Page

Next Page
GET
https://www.searchapi.io/api/v1/search?engine=tiktok_shop_search&next_page_token=eyJvZmZzZXQiOiIzMCIsInEiOiJ3aXJlbGVzcyBlYXJidWRzIn0
Request
import requests

url = "https://www.searchapi.io/api/v1/search"
params = {
  "engine": "tiktok_shop_search",
  "next_page_token": "eyJvZmZzZXQiOiIzMCIsInEiOiJ3aXJlbGVzcyBlYXJidWRzIn0"
}

response = requests.get(url, params=params)
print(response.text)
Response
{
  "search_metadata": {
    "id": "search_xbn58j7pJdLFBGD0oDeN0V2d",
    "status": "Success",
    "created_at": "2026-10-27T22:20:24Z",
    "request_time_taken": 6.47,
    "parsing_time_taken": 0.0,
    "total_time_taken": 6.47,
    "request_url": "https://shop.tiktok.com/us/s?q=wireless+earbuds",
    "html_url": "https://www.searchapi.io/api/v1/searches/search_xbn58j7pJdLFBGD0oDeN0V2d.html",
    "json_url": "https://www.searchapi.io/api/v1/searches/search_xbn58j7pJdLFBGD0oDeN0V2d"
  },
  "search_parameters": {
    "engine": "tiktok_shop_search",
    "q": "wireless earbuds",
    "country": "US",
    "next_page_token": "eyJvZmZzZXQiOiIzMCIsInEiOiJ3aXJlbGVzcyBlYXJidWRzIn0"
  },
  "organic_results": [
    {
      "position": 1,
      "product_id": "1732284941238047728",
      "title": "2 Pairs Wireless Bluetooth Earbuds, Tiny Invisible Waterproof Headphones with Mic, Mini Short-Handle Design for Sport, Sleep, Work Use, Invisible Earbuds",
      "link": "https://shop.tiktok.com/us/pdp/wireless-bluetooth-headphones-waterproof-with-mic-tiny-size/1732284941238047728",
      "price": "$24.29",
      "extracted_price": 24.29,
      "currency": "USD",
      "rating": 4.4,
      "reviews": 169,
      "items_sold": 1101,
      "seller": {
        "id": "7495887521312771056",
        "name": "Allconquering",
        "thumbnail": "https://p16-oec-general-useast5.ttcdn-us.com/tos-useast5-i-omjb5zjo8w-tx/7407753cdac64941a1db9cd6f0f..."
      },
      "badges": [
        "Flash sale",
        "..."
      ],
      "thumbnail": "https://p16-oec-general-useast5.ttcdn-us.com/tos-useast5-i-omjb5zjo8w-tx/9387d0a4393142d3a3ad88cd66c..."
    },
    "..."
  ],
  "pagination": {
    "next_page_token": "eyJvZmZzZXQiOiI2MCIsInEiOiJ3aXJlbGVzcyBlYXJidWRzIn0"
  }
}