↑ ↓ to move ↵ to open
Ad libraries · REST API · MCP server

TikTok Ad Library API

Get ads from TikTok's Commercial Content Library as JSON: search by keyword or advertiser, open any ad for its targeting and reach, and see how many ads ran by country and day.

  • 10 credits per call
  • Failed calls are free
  • Updated
tiktok-adlibrary.ad.search 50 rows completed
# Advertiser Ad text Audience First shown Last shown Ad ID Audit status Impression Show mode Sor audit status
1 NIKE Retail B.V. Trainiere ohne Kompromisse - im Nike Hybrid RN. 100K-200K 1,791,936,000,000 1,791,936,000,000 1879011035967585 1 0 2 1
2 NIKE Retail B.V. Trainiere ohne Kompromisse - im Nike Hybrid RN. 10K-100K 1,791,936,000,000 1,791,936,000,000 1879008267714690 1 0 2 1
3 NIKE Retail B.V. Trainiere ohne Kompromisse - im Nike Hybrid RN. 10K-100K 1,791,936,000,000 1,791,936,000,000 1879011032364849 1 0 2 1
4 NIKE Retail B.V. Trainiere ohne Kompromisse - im Nike Hybrid RN. 100K-200K 1,791,936,000,000 1,791,936,000,000 1879011042908338 1 0 2 1
5 NIKE Retail B.V. Trainiere ohne Kompromisse - im Nike Hybrid RN. 10K-100K 1,791,936,000,000 1,791,936,000,000 1879011035967569 1 0 2 1
6 NIKE Retail B.V. Trainiere ohne Kompromisse - im Nike Hybrid RN. 10K-100K 1,791,936,000,000 1,791,936,000,000 1879011040882386 1 0 2 1
7 NIKE Retail B.V. Trainiere ohne Kompromisse - im Nike Hybrid RN. 10K-100K 1,791,936,000,000 1,791,936,000,000 1879011032364833 1 0 2 1
8 NIKE Retail B.V. Trainiere ohne Kompromisse - im Nike Hybrid RN. 10K-100K 1,791,936,000,000 1,791,936,000,000 1879011040882402 1 0 2 1
9 NIKE Retail B.V. Trainiere ohne Kompromisse - im Nike Hybrid RN. 10K-100K 1,791,936,000,000 1,791,936,000,000 1879011042908322 1 0 2 1
10 NIKE Retail B.V. Trainiere ohne Kompromisse - im Nike Hybrid RN. 10K-100K 1,791,936,000,000 1,791,936,000,000 1879008267714674 1 0 2 1
Endpoints

TikTok Ad Library API endpoints

What each one takes and what it returns. Open one for a real response, every input and every field.

TikTok Ad Library Ads Search API

Search TikTok ads by keyword, brand or slogan, by country and date range: advertiser, ad text, audience size, subject and first and last day shown.

Sendquery Returnsnametitleestimated_audiencefirst_shown_datelast_shown_datesubject
10 credits

TikTok Ad Library Advertiser Ads API

List the ads of one registered advertiser, by country and date range.

Sendadvertiser_name Returnsnametitleestimated_audiencefirst_shown_datelast_shown_datesubject
10 credits

TikTok Ad Library Ad Detail API

Get one ad in full: its creative, call to action and link, the advertiser and who paid for it, targeting by age, gender and country, and reach.

Sendad_id Returnsadadvertiserdisplay_modetargeting
10 credits

TikTok Ad Library Ads Report API

Get TikTok's report of how many ads were published: share by country and unique ads per day, for everyone or one advertiser.

Sendadvertiser_nameorbusiness_idorcountry Returnsad_activityad_published
10 credits
Use cases

What teams build with TikTok Ad Library data

Know before you build

How TikTok Ad Library data behaves

REST API · MCP server

Call it from your code, or ask your agent

One request shape for every TikTok Ad Library endpoint: the endpoint ID and its input. No SDK needed.

curl --request POST \  --url https://data.upscrape.com/execute \  --header "Authorization: Bearer $UPSCRAPE_API_KEY" \  --header "Content-Type: application/json" \  --header "Prefer: wait=30" \  --data '{  "capability": "tiktok-adlibrary.ad.search",  "input": {    "query": "nike"  }}'
Response
{  "total_items": 50,  "items": [    {      "name": "NIKE Retail B.V.",      "title": "Trainiere ohne Kompromisse - im Nike Hybrid RN.",      "audit_status": "1",      "estimated_audience": "100K-200K",      "first_shown_date": 1791936000000,      "id": "1879011035967585",      "impression": 0,      "last_shown_date": 1791936000000,      "rejection_info": null,      "show_mode": 2,      "sor_audit_status": "1",      "spent": "",      "type": "2"    },    {      "name": "NIKE Retail B.V.",      "title": "Trainiere ohne Kompromisse - im Nike Hybrid RN.",      "audit_status": "1",      "estimated_audience": "10K-100K",      "first_shown_date": 1791936000000,      "id": "1879008267714690",      "impression": 0,      "last_shown_date": 1791936000000,      "rejection_info": null,      "show_mode": 2,      "sor_audit_status": "1",      "spent": "",      "type": "2"    }  ]}
In your AI agent Claude · Cursor · any MCP client
1Add the Upscrape MCP server
https://data.upscrape.com/mcp
2Ask for the data in plain words

Using Upscrape, search the TikTok Ad Library for nike and give me a table of advertiser, ad text, audience size and the days each ad was first and last shown.

With Upscrape, list the TikTok ads of NIKE Retail B.V. and group them by subject.

Use Upscrape to open TikTok ad 1874222777792674 and tell me who it targets by age and gender, the country, the objective and who paid for it.

The agent finds the endpoint, shows you the price, and runs it with your credits.
Ad libraries
Questions

TikTok Ad Library API FAQ

The short answers. The docs have the long ones.

Still have a question? Talk to the people who build the endpoints.
Which countries does the TikTok Ad Library cover?

The countries TikTok publishes ads for: the EU and EEA, Switzerland, the UK and Turkey. The regions endpoint returns the current list.

Do I need a TikTok developer account?

No. Upscrape reads TikTok's public Commercial Content Library; you only need your Upscrape API key.

What data can I get from TikTok Ad Library?

Ads search, advertiser ads, ad detail, advertisers search, ads report and supported regions. Each is its own endpoint with a published input schema, and the response is JSON.

How much does the TikTok Ad Library API cost?

Every TikTok Ad Library endpoint costs 10 credits per successful call. You buy credits once, with no subscription, and paid credits never expire. New accounts get free credits to try it.

Can an AI agent use the TikTok Ad Library API?

Yes. Connect any MCP client to the Upscrape MCP server with OAuth or an API key. The agent finds the TikTok Ad Library endpoint, checks its price and runs it with the same credits as the REST API.

Is it legal to scrape TikTok Ad Library?

Upscrape reads public pages only and needs no login. How you use the data is yours to decide under the laws that apply to you; we sign a data processing agreement for your legal review.

What happens when TikTok Ad Library changes its pages?

We fix the endpoint. Your request and the response fields stay the same.

Get started

Your first TikTok Ad Library call is free.

Up to 100 free credits to start, no card needed.