Use case, TikTok ad library

TikTok ad library API for your agent. One call per search.

Send a keyword or an advertiser name. Read ad video and caption back. Your agent picks the provider, and you pay per call.

Give this to your agent
set up looot for TikTok ad library API - https://looot.ai/use-cases/tiktok-ads-library-api/skill.md

The short answer

The short answer

TikTok ad library API for an agent: it sends a keyword or an advertiser name to a catalog endpoint and reads ad video, caption and advertiser back. Several providers sell the call, so the agent tries the cheapest first. You pay per call, and a failed call costs nothing.

Updated

  • Ad video and caption
  • Advertiser
  • Ad format and language
  • Industry
  • Likes and engagement

The job

What the TikTok ad library API gives your agent

TikTok ads show up in two public places: the Ads Library and the Creative Center, which ranks top ads. Your agent searches both through one call. Send a keyword or an advertiser name and read back the ads with their captions, formats and the engagement they earned.

The providers cover different parts. One searches the Ads Library by keyword or advertiser, and resolves the advertiser name before it searches. One lists Creative Center top ads, which are the best-performing auction ads, with filters for format, language, industry and objective. One other searches ads with filters for format, language, country and industry.

You give

a keyword or an advertiser name

skincare

You get

  • Ad video and caption
  • Advertiser
  • Ad format and language
  • Industry
  • Likes and engagement

Providers, cheapest first

What actually differs between providers

Today the price runs from $0.0010 to $0.00188 across 2 endpoints. The dearest costs about 1.9 times the cheapest. Price is only one difference. Each entry below says what that endpoint takes or returns that the others do not.

  1. TikHub logoTikHub

    Searches ads with filters for format, language, country, industry, like count and limit, using public data only.

    tikhub-api-tiktok-ads-search-ads
    $0.0010 / call
  2. ScrapeCreators logoScrapeCreators

    Searches the Ads Library by keyword or advertiser name, and resolves the name through TikTok's typeahead first.

    scrapecreators-tiktok-ad-library-search
    $0.00188 / call
  3. Any Site API

    Lists Creative Center top ads, the best-performing auction ads, with filters for format, language, industry, objective and period.

    anysite-api-tiktok-creative-center-ads-search
    price on request

Cost

What 100 TikTok ad library runs cost

$0.1000

100 searches cost about $0.1000 through the cheapest endpoint, at TikHub, and about $0.1880 through the dearest. Each run is one call.

Sample calls

The request and what comes back

Each run is one POST to /v1/runs with an endpoint id and an input. These are illustrative calls with generic values. The run's result holds the provider's own fields.

Request
{"endpointId":"scrapecreators-tiktok-ad-library-search","input":{"query":"skincare"},"wait":30}
ResponseSample output
// POST /v1/runs, then read run.status and run.result
// result: searches the Ads Library by keyword or advertiser name, and resolves the name through TikTok's typeahead first

The prompt

Copy one prompt, give it to your agent.

Edit the names and numbers, paste it, and the agent runs the job and shows the cost.

  • One run is one search.
  • 1 step across 3 providers.
  • Runs on demand, whenever you ask.
Prompt: TikTok ad library API
Use looot to search TikTok ads for skincare in the United States and return the advertiser, the caption, the format and the engagement for each ad. 1. Set up https://looot.ai/skill.md. 2. Search the catalog for each step and check its price before you call. 3. Run the cheapest endpoint that fits. 4. Show the results as a table and the total cost.

Give this to your agent
Setup command
set up looot for TikTok ad library API - https://looot.ai/use-cases/tiktok-ads-library-api/skill.md

Before you start

Settle these before the first run

  • Choose between the library and the top-ads list. The library shows what runs. The Creative Center shows what performs.
  • Name the filters. Industry, ad language, format and country narrow a TikTok search a lot, and the endpoint pages list the values.
  • Do not send a cookie. One endpoint says to send public data only, and your agent needs no login for any of these.

FAQ

Questions people ask

Which hooks, formats and offers advertisers run in a category. Your agent can group the ads by advertiser and list the most common opening lines.

Send a keyword or an advertiser name to a TikTok ad endpoint. Your agent returns the ads with the caption, the format and the advertiser.

The Ads Library lists ads that run. The Creative Center ranks top-performing ads and shows engagement. Two of the providers here read the Creative Center, and the others read the library.

Yes, on the endpoints that support it. They take an industry, an ad language, a format and a country code. The endpoint pages list the accepted values.

No. These endpoints read public data. One page says to send no cookie.

You pay per call, and the price depends on the provider your agent picks. This page reads the cheapest live price from the catalog and shows no number when the catalog is unreachable.

No. A call that fails at the provider costs nothing, and your agent can retry it or send it to another provider.

No. One looot key reaches every provider in the catalog. You top up once, and each call is billed at the price shown before it runs.

Send a POST to /v1/runs with the endpoint id, the input and a new idempotency key, and your looot token in the Authorization header. With wait set to 30, the answer comes back in the response when the run ends within 30 seconds. Otherwise poll GET /v1/runs/<runId>.

That needs scheduled runs, not available yet. Run it by hand whenever you want fresh results.

No. looot bills per call, and nothing runs while your agent is idle.

More ways to run this job

For agents
use case
TikTok ad library API
run
search
schedule
on demand
step
Search TikTok ads: scrapecreators tikhub anysite
setup
https://looot.ai/use-cases/tiktok-ads-library-api/skill.md
llms.txt
https://looot.ai/llms.txt
updated
2026-10-04

Try TikTok ad library with your own agent.

Start your workspace, top up, and paste the prompt into the agent you already use.