18 Social Platforms + 4 Ad Libraries 242+ Live Endpoints Streamable HTTP MCP & REST Failed Calls Cost 0 Credits

Meta Ad Library API

Meta Ad Library API lets developers and AI agents search active Facebook and Instagram ads, creative media, and video ad transcripts. 4 credits per call.

Start with 100 Free Credits
HTTP 200 OK · Meta Ad Library JSON 4 Credits / Call · 0 Credits on Failure

    

Meta Ad Library API gives developers, media buyers, and AI agents direct programmatic access to active and historical Facebook and Instagram ads without Meta identity verification roadblocks or commercial-ad restrictions. Query by keyword, advertiser Page ID, or landing page domain to retrieve structured JSON containing ad_archive_id, page_name, body_text, cta_text, link_url, media_urls, active_days, and spoken video hook transcripts—at 4 credits per successful call and 0 credits on failure.

Need working Python, Node.js, and cURL code? Follow our step-by-step tutorial on how to read Meta Ad Library data with an API.

Meta Ad Library API endpoints

Unlike Meta's official Graph ads_archive endpoint—which restricts commercial non-political queries outside the EU/UK and requires government ID verification—our Meta Ad Library API works globally for ecommerce, SaaS, mobile app, and DTC brand research. Every endpoint is accessible both via HTTPS REST and through our social media MCP server inside Claude, Cursor, Google Antigravity, ChatGPT, Dify, and n8n:

Endpoint Action Query Input Key Returned Meta Ad Fields
Ad Keyword Search Niche phrase, product keyword, + optional country & active status ad_archive_id, page_id, page_name, body_text, cta_text, link_url, active_days, platforms
Advertiser Page Ads Facebook Page ID, brand handle, or destination domain Full active & inactive creative catalog, launch dates, creative variants, landing URLs
Creative & Video Script ad_archive_id or Meta ad video asset High-res image/MP4 media_urls, thumbnail cover, timestamped spoken hook_transcript

How much does one Meta Ad Library API call cost

Every new account starts with 100 free credits on sign-up (no credit card required), enough to run 25 live Meta Ad Library API searches immediately.

  • Standard Meta Ad Search & Creative Detail: 4 credits per successful request (~$0.008 to $0.013 per call depending on your prepaid pack).
  • Zero-Failure Billing Guarantee: Timed-out or failed upstream requests deduct 0 credits.
  • Prepaid Packs (Never Expire): $10 = 3,000 credits (~750 Meta ad calls), $50 = 20,000 credits (~5,000 Meta ad calls), or $200 = 100,000 credits (~25,000 Meta ad calls) via Alipay or card on our pricing page.

TikTok Creative Center ad search

When your creative research workflow expands beyond Facebook and Instagram, the same API key unlocks TikTok Creative Center top ads (4 credits per call). Filter winning short-form video ads by keyword, country, industry category, and conversion objective, then pair them with our TikTok Transcript API to compare paid ad scripts against organic viral hooks.

Google Ads Transparency Center lookup

Query advertiser domains or verified legal entities across Google Search, YouTube, and Display (4 credits for targeted creative lookups; 24 credits for full multi-region advertiser sweeps). Ideal for auditing competitor search copy and YouTube video ad placements alongside Meta campaigns.

LinkedIn Ad Library B2B ad feed

For B2B SaaS intelligence, search LinkedIn Ad Library (4 credits per call) by company name or keyword to inspect sponsored post copy, carousel headlines, lead-gen CTAs, and regional impression ranges in the same normalized JSON format.

Frequently asked questions about Meta Ad Library API

How is this Meta Ad Library API different from Meta's official Graph API?

Unlike Meta's official ads_archive Graph API—which requires government ID verification and restricts commercial ad searches to EU/UK deliveries or political topics—this Meta Ad Library API lets you search commercial ecommerce, SaaS, and app ads globally across Facebook and Instagram using a single API key.

How much does one Meta Ad Library API call cost?

Each successful Meta Ad Library search or creative detail call costs 4 credits (about $0.008 to $0.013 on prepaid packs). Every new account gets 100 free credits on sign-up, and failed calls cost 0 credits.

Can Meta Ad Library API extract video ad files and spoken hook transcripts?

Yes. You receive direct MP4 video and image URLs plus optional timestamped speech-to-text transcripts so AI agents can analyze the opening 3-second hook of long-running video ads.

Can I search all active Facebook and Instagram ads for a specific competitor domain?

Yes. You can filter by brand keyword, Facebook Page ID, or destination landing page domain, as well as active/inactive status and target country.

Does Meta Ad Library API work inside Claude, Cursor, and Antigravity via MCP?

Yes. Mount https://socialtoai.app/mcp in Claude, Cursor, Google Antigravity, ChatGPT, Dify, or n8n to query Meta Ad Library directly via natural-language prompts.

Are TikTok, Google, and LinkedIn ad libraries also available under the same key?

Yes. Using the same API key and credit balance, you can also query TikTok Creative Center, Google Ads Transparency Center, and LinkedIn Ad Library.

Developer Questions & Integration Feedback (0)

Testing an endpoint or wiring up an MCP client? Leave a question or share which agent stack you are connecting.