Real-time TikTok Ad Library data, one API call.
Search TikTok's Commercial Content Library (EU DSA), pull Creative Center Top Ads with performance metrics, and fetch ad details.
The TikTok Ad Library API from Captapi gives developers reliable access to public TikTok Ad Library data without building or maintaining scrapers — send one authenticated request and get clean, structured JSON back.
curl "https://api.captapi.com/v1/ad-library/tiktok/ad-details?url=https%3A%2F%2Flibrary.tiktok.com%2F" \
-H "Authorization: Bearer capt_live_..."What is the TikTok Ad Library API?
Search TikTok's Commercial Content Library (EU DSA), pull Creative Center Top Ads with performance metrics, and fetch ad details. Every endpoint is a single authenticated GET request that responds with predictable JSON, so the data drops straight into dashboards, AI pipelines, RAG systems, and no-code automations. AI agents can call the same endpoints as MCP tools via @captapi/mcp.
Endpoints
What you can do with the TikTok Ad Library API
Search
GET /v1/ad-library/tiktok/search
Search TikTok Commercial Content Library — relevance-filtered, uniform null schema (2 credits).
2 credits
Top Ads
GET /v1/ad-library/tiktok/top-ads
TikTok Creative Center Top Ads — browser-intercepted list XHR, CTR/likes, video (flat 2 / ~1 Apify).
2 credits
Ad Details
GET /v1/ad-library/tiktok/ad-details
One TikTok Commercial Content Library ad by ID — calendar-day dates, always 2 credits.
2 credits
How it works
- 1. Sign up — get 100 free credits, no card required.
- 2. Create a key from your dashboard.
- 3. Call any endpoint above with
Authorization: Bearer capt_live_...and parse the JSON response. Passcache=trueto reuse a prior response from the 24h cache at no cost.
Frequently asked questions
What is the TikTok Ad Library API?+
The TikTok Ad Library API is a REST API from Captapi that returns public TikTok Ad Library data as clean, structured JSON. It covers 3 endpoints — Search, Top Ads, Ad Details — behind one Bearer API key, with no OAuth flow and no infrastructure to build or maintain.
What data can I get from the TikTok Ad Library API?+
Search TikTok's Commercial Content Library (EU DSA), pull Creative Center Top Ads with performance metrics, and fetch ad details. Each endpoint is a single GET request that responds with predictable JSON fields, so the data is ready for dashboards, AI pipelines, and automations.
Do I need a TikTok Ad Library developer account or OAuth?+
No. You only need a Captapi key (capt_live_...), sent as an Authorization: Bearer header. The same key works across all 32 platforms Captapi supports. We handle proxies, rate limits, retries, and parsing for you.
How much does the TikTok Ad Library API cost?+
TikTok Ad Library endpoints cost between 2 and 2 credits per call, depending on the endpoint. New accounts start with 100 free credits (no credit card). Pass cache=true to serve from the 24h cache (0 credits on hit); default is always fresh. Hits include cached + cachedAt. Selected profile endpoints also accept cacheMaxAge=1d|3d|7d|14d|30d.
Can AI agents use the TikTok Ad Library API?+
Yes. Every TikTok Ad Library endpoint is exposed as a tool in the official MCP server (@captapi/mcp) for Claude, Cursor, and VS Code, and is also available through the @captapi/cli CLI, an n8n community node, a Make.com app, and an Apify Actor.
Is the TikTok Ad Library API suitable for production use?+
Yes. It is a stable REST API with predictable JSON, automatic retries, and upstream fallbacks. Pass cache=true to serve from the 24h cache (0 credits on hit); default is always fresh. Hits include cached + cachedAt. Selected profile endpoints also accept cacheMaxAge=1d|3d|7d|14d|30d. Only successful responses consume credits — failed or empty results are never charged.
Explore other platforms
Start using the TikTok Ad Library API in sixty seconds
Sign up, grab your API key, and make your first request. 100 credits on the house — no credit card.