TikTok Ads Library Advertiser Search API

GET   /api/v1/search?engine=tiktok_ads_library_advertiser_search

This API allows you to search for advertisers in the TikTok Ads Library using a given keyword. It returns a list of advertisers, each with a name and ID, as well as keyword results related to your search query.

You can use the advertiser IDs returned from this search to further investigate specific advertisers and their advertising activities within the TikTok Ads Library using the TikTok Ads Library API.

API Parameters

Search Query

  • Name
    q
    Required
    Required
    Description

    Parameter defines the query you want to search.

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_ads_library_advertiser_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

Full Response

Full Response
GET
https://www.searchapi.io/api/v1/search?engine=tiktok_ads_library_advertiser_search&q=appl
Request
import requests

url = "https://www.searchapi.io/api/v1/search"
params = {
  "engine": "tiktok_ads_library_advertiser_search",
  "q": "appl"
}

response = requests.get(url, params=params)
print(response.text)
Response
{
  "search_metadata": {
    "id": "search_Amrlde4qgnnOH4kGgL8Pvjx0",
    "status": "Success",
    "created_at": "2025-08-01T12:48:30Z",
    "request_time_taken": 2.03,
    "parsing_time_taken": 0.01,
    "total_time_taken": 2.03,
    "request_url": "https://library.tiktok.com/ads",
    "html_url": "https://www.searchapi.io/api/v1/searches/search_Amrlde4qgnnOH4kGgL8Pvjx0.html",
    "json_url": "https://www.searchapi.io/api/v1/searches/search_Amrlde4qgnnOH4kGgL8Pvjx0"
  },
  "search_parameters": {
    "engine": "tiktok_ads_library_advertiser_search",
    "q": "appl"
  },
  "advertisers": [
    {
      "name": "APPLIHOME",
      "id": "7405604246218915841"
    }
  ],
  "keyword_results": [
    "Appliances",
    "Home Appliances",
    "Other Appliances",
    "Personal Care Appliances",
    "Cleaning Appliances"
  ]
}