Ad Library API

Real-time Ad Library data, one API call.

Search public Meta, TikTok, Google, and LinkedIn ad libraries for competitor creative intelligence.

The Ad Library API from Captapi gives developers reliable access to public Ad Library data without building or maintaining scrapers — send one authenticated request and get clean, structured JSON back.

12
Endpoints
REST
Protocol
JSON
Response
curl "https://api.captapi.com/v1/ad-library/facebook/company-ads?url=https%3A%2F%2Fadstransparency.google.com%2F" \
  -H "Authorization: Bearer capt_live_..."
TL;DR
The Ad Library API returns public Ad Library data as clean, structured JSON — 12 REST endpoints behind one Bearer key. No OAuth, no scrapers to maintain, results cached for 24 hours (repeat calls are free). Start with 100 free credits — no credit card.

What is the Ad Library API?

Search public Meta, TikTok, Google, and LinkedIn ad libraries for competitor creative intelligence. 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 Ad Library API

Facebook Search

GET /v1/ad-library/facebook/search

Search Ad Library programmatically and get structured, ranked results.

70 credits · billed per result

Facebook Company Ads

GET /v1/ad-library/facebook/company-ads

Bulk-list Ad Library content with full metadata for each item.

70 credits · billed per result

Facebook Search Companies

GET /v1/ad-library/facebook/search-companies

Search Ad Library programmatically and get structured, ranked results.

70 credits · billed per result

Facebook Ad Details

GET /v1/ad-library/facebook/ad-details

Get full Ad Library video metadata — title, views, likes, duration, and more.

17 credits

Facebook Ad Transcript

GET /v1/ad-library/facebook/ad-transcript

Extract timestamped transcripts from any public Ad Library video in a single request.

17 credits

TikTok Search

GET /v1/ad-library/tiktok/search

Search Ad Library programmatically and get structured, ranked results.

70 credits · billed per result

TikTok Ad Details

GET /v1/ad-library/tiktok/ad-details

Get full Ad Library video metadata — title, views, likes, duration, and more.

17 credits

Google Company Ads

GET /v1/ad-library/google/company-ads

Bulk-list Ad Library content with full metadata for each item.

67 credits · billed per result

Google Ad Details

GET /v1/ad-library/google/ad-details

Get full Ad Library video metadata — title, views, likes, duration, and more.

17 credits

Google Advertiser Search

GET /v1/ad-library/google/advertiser-search

Search Ad Library programmatically and get structured, ranked results.

45 credits · billed per result

LinkedIn Search Ads

GET /v1/ad-library/linkedin/search-ads

Search Ad Library programmatically and get structured, ranked results.

70 credits · billed per result

LinkedIn Ad Details

GET /v1/ad-library/linkedin/ad-details

Get full Ad Library video metadata — title, views, likes, duration, and more.

17 credits

How it works

  1. 1. Sign up — get 100 free credits, no card required.
  2. 2. Create a key from your dashboard.
  3. 3. Call any endpoint above with Authorization: Bearer capt_live_... and parse the JSON response. Repeat calls are served from cache for free.

Frequently asked questions

What is the Ad Library API?+

The Ad Library API is a REST API from Captapi that returns public Ad Library data as clean, structured JSON. It covers 12 endpoints — Facebook Search, Facebook Company Ads, Facebook Search Companies, Facebook Ad Details, Facebook Ad Transcript, TikTok Search, and more — behind one Bearer API key, with no OAuth flow and no scrapers to build or maintain.

What data can I get from the Ad Library API?+

Search public Meta, TikTok, Google, and LinkedIn ad libraries for competitor creative intelligence. 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 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 29 platforms Captapi supports. We handle proxies, rate limits, retries, and parsing for you.

How much does the Ad Library API cost?+

Ad Library endpoints cost between 17 and 70 credits per call, depending on the endpoint and how many results you request. New accounts start with 100 free credits (no credit card), and repeat calls are served from a 24-hour cache for 0 credits.

Can AI agents use the Ad Library API?+

Yes. Every 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 Ad Library API suitable for production use?+

Yes. It is a stable REST API with predictable JSON, automatic retries, upstream fallbacks, and a shared 24-hour cache. Only successful responses consume credits — failed or empty results are never charged.

Explore other platforms

Start using the 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.