Spiral gives your agent every tool with one account. Browse the tools →

dots · Social Media

How to Use TikTok Ad Library search in dots

Search TikTok’s public Ad Library for advertiser names, ad links, available media, first and last shown dates, and estimated audience ranges. Use it to find campaign examples or compare a brand’s advertising activity over time.

Prompts to try with TikTok Ad Library search in dots

Copy an example into dots, or ask in your own words.

Every Monday, use TikTok Ad Library search to check Gymshark ads delivered in the UK over the past 14 days. Report ad IDs absent from the previous digest with their dates and public links.

TikTok Ad Library searchdots
Try asking
  • Each Friday, use TikTok Ad Library search to check IKEA ads delivered in Germany over the past 30 days. List newly observed ads and changes to their last shown dates.

  • Every week, use TikTok Ad Library search to check Nike ads delivered in France over the past 14 days. Prepare a review list of newly observed ad links and available covers.

  • On the first of each month, use TikTok Ad Library search to find Adidas ads delivered in Germany during the previous month. Report unique returned ad IDs and their audience ranges.

  • Every Tuesday, use TikTok Ad Library search to check Duolingo ads delivered in the UK over the past 30 days. Compare the returned audience bands with the previous report and list changes.

How to set up TikTok Ad Library search in dots

Pick the way that suits you. Each takes about two minutes.

Use the Spiral skill

  1. Send dots this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use Spiral's MCP server

  1. Create an API key

    In the console, open API keys and create a key for your dot. Copy it.

  2. Send your dot this message

    Your dot reads Spiral's skill and asks for your API key.

    set up https://spiral.ai/SKILL.md
  3. Give your dot the key

    When your dot asks for the key, add it where your dot keeps secrets, never in the chat itself.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run TikTok Ad Library search

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "scrapecreators",
        "model": "scrapecreators/tiktok-ad-library-search",
        "input": {
          "query": "The Creator Loop"
        }
      }'

Then paste one of the prompts above: dots finds TikTok Ad Library search on Spiral, shows the price and runs it.

TikTok Ad Library search providers and prices

Spiral runs TikTok Ad Library search through ScrapeCreators. Open a card for today's price, with every fee included.

ScrapeCreatorsSocial Media
TikTok Ad Library · Ad Library Search
scrapecreators/tiktok-ad-library-search

Settings you can ask for

Ask dots for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Regionall, AT, BE, BG, BR, CH, CY, CZ and 27 moreall

Filter by the ad's targeting/delivery country, not the advertiser's registration country. Omitted region defaults to all supported countries, not every country worldwide. Values are case-insensitive; choose all or one of the listed country codes. US is not supported. Empty values, unsupported countries and multiple countries return 400 bad_request.

End timea whole number

Inclusive upper bound for the ad's last shown date; start_time is the inclusive lower bound. Supply start_time and end_time together as positive base-10 safe integers, no greater than 9007199254740991, in Unix seconds (preferred) or milliseconds. Values greater than 9999999999 are interpreted as milliseconds, divided by 1000 and rounded down to seconds. start_time must be less than or equal to end_time after normalization; equal bounds are accepted. If both are omitted, the last-shown date window defaults to the rolling 30 days ending at the time of each request. A missing companion, empty value, sign, fraction, scientific notation, whitespace, date string, unsafe integer or reversed interval returns 400 bad_request.

Start timea whole number

Inclusive lower bound for the ad's last shown date; end_time is the inclusive upper bound. Supply start_time and end_time together as positive base-10 safe integers, no greater than 9007199254740991, in Unix seconds (preferred) or milliseconds. Values greater than 9999999999 are interpreted as milliseconds, divided by 1000 and rounded down to seconds. start_time must be less than or equal to end_time after normalization; equal bounds are accepted. If both are omitted, the last-shown date window defaults to the rolling 30 days ending at the time of each request. A missing companion, empty value, sign, fraction, scientific notation, whitespace, date string, unsafe integer or reversed interval returns 400 bad_request.

Every API field of TikTok Ad Library · Ad Library Search is on its tool page: open its card above.

What can you do with TikTok Ad Library search in dots?

Produce a weekly digest of newly observed TikTok ads for a public brand. A scheduled agent can compare returned ad IDs and delivery dates with earlier searches to highlight changes for review.

Competitor campaign timelines

Arrange a public brand’s returned ads by first and last shown dates to build a campaign timeline with links to the original records.

Creative review shortlists

Collect ad detail links and available video previews for a creative team’s review before planning a new campaign.

Weekly brand advertising reports

Compare successive searches for a brand and report newly observed ad IDs with their first shown dates.

Seasonal campaign research

Find a retailer’s ads around Black Friday or a summer promotion and compare the returned delivery dates.

Audience range comparisons

Compare the estimated audience bands attached to returned ads and prepare a review list without converting bands into exact counts.

Country-specific campaign reviews

Run separate searches for a brand’s ads delivered in Germany and France, then compare the returned ad IDs and dates.

Agency research handoffs

Prepare a deduplicated table of advertiser names, ad IDs, dates, audience ranges, and public links for an account team.

Questions about TikTok Ad Library search in dots

Can dots use TikTok Ad Library search?

Yes. Add Spiral to dots as an MCP server, and dots can find and run TikTok Ad Library search like any built-in tool.

How much does TikTok Ad Library search cost in dots?

Up to $0.0013 per run. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your dots plan is separate.

Do I need a ScrapeCreators account to use TikTok Ad Library search in dots?

You need no ScrapeCreators account. dots uses one Spiral API key for every tool, and Spiral runs TikTok Ad Library search on its own ScrapeCreators account.

How long does it take to set up TikTok Ad Library search in dots?

About two minutes: create an API key, then send your dot this message, then give your dot the key.

Does dots wait while TikTok Ad Library search runs?

TikTok Ad Library search runs in the background. dots starts the run, checks on it and gives you the json when it's ready.

Does TikTok’s Ad Library cover advertising worldwide?

TikTok’s published coverage includes ads targeted to the EEA, Switzerland, and the UK. These results should not be treated as a worldwide inventory.

How quickly do new ads appear?

TikTok says ads generally enter the library within 24 hours of campaign initiation.

How far back does the advertising history go?

TikTok retains advertisement data while an ad runs and until one year after it was last shown.

Are the audience figures exact?

TikTok reports unique users seen as estimated ranges. Keep those ranges intact when comparing ads.

Will a search return every matching ad?

ScrapeCreators explicitly warns that results may be incomplete or duplicated. It recommends narrower date windows to reduce pagination.

Get started

Start using TikTok Ad Library search in dots

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into dots:

Set up dots

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options