# AdsLibrary API (https://adslibraryapi.com) > Cross-Platform Commercial Ads Library & Competitor Ad Creative API — Search active commercial Facebook/Instagram Meta Ad Library creatives, verified Google Ads Transparency Search/Display/YouTube creatives, spend longevity signals, CTAs, and 12-pixel landing page funnel audits via REST, Remote MCP & native x402 Base Mainnet USDC. > Base API Gateway: https://api.adslibraryapi.com > Keyless AI Agent x402 Micropayments (Base Mainnet USDC): $0.002 USDC/call (2000 atomic units on eip155:8453, payTo 0x3e96547584A45DD52301ED8f29DEA0AF2ea7f03A, $0 settled on empty results) across https://api.adslibraryapi.com/* and https://api.adslibraryapi.com/* > 1-Click Claude Web & ChatGPT Remote MCP (OAuth 2.1 PKCE): https://mcp.adslibraryapi.com/v1/mcp > API-Key Streamable HTTP MCP Endpoint: https://api.adslibraryapi.com > AI Agent Skill Manifest: https://adslibraryapi.com/SKILL.md > Full Machine-Readable Reference for LLMs: https://adslibraryapi.com/llms-full.txt > OpenAPI 3.1 Spec: https://adslibraryapi.com/openapi.json (and https://api.adslibraryapi.com/openapi.json) ## Authentication & Dual-Rail Payment Options (x402 Base USDC + API Key) - **Option A — Zero-Signup `x402` Base Mainnet USDC Pay-Per-Call (`eip155:8453`)**: No registration or API key needed. Any `x402`-compatible AI Agent or wallet client calls `https://api.adslibraryapi.com/*` directly, signs a **$0.002 USDC/call** (`2000` atomic units on `eip155:8453`, `payTo`: `0x3e96547584A45DD52301ED8f29DEA0AF2ea7f03A`) EIP-3009 header (`PAYMENT-SIGNATURE` / `X-PAYMENT`) from the `HTTP 402` challenge, and receives instant JSON data (strict Query-Before-Settle: **$0.00 settled** on empty results). - **Option B — Standard `X-API-Key` / `Authorization: Bearer`**: Instant **3,000 Free Credits ($0.30) on sign-up — No Card Required** at `https://adslibraryapi.com/signup`, plus volume discounts down to $0.08/1K ads. ## Pricing & Credit System ($1 = 10,000 Credits) - Unit Rule: **$1.00 = 10,000 Credits** - Commercial Ads Search & Advertiser Dossier (`/v1/ads/search`, `/v1/ads/advertiser`): **2 Credits / ad returned** ($0.08–$0.20 per 1,000 ads; 0 Credits if empty) - Landing Page Funnel & 12-Pixel Audit (`/v1/ads/landing-page-audit`): **10 Credits / audit** ($0.40–$1.00 per 1,000 audits; 0 Credits on error) - Free Trial: **3,000 Free Credits ($0.30) on sign-up — No Card Required** (instant at 0 ms, 60 RPM) - Indie Starter Micro-Pack (PAYG): **$9.00** -> 90,000 never-expiring Credits (60 RPM) - Starter Plan: **$19/mo** -> 250,000 Credits/mo (+31% bonus, $0.15 / 1K ads, 120 RPM) - Pro Plan: **$69/mo** -> 1,200,000 Credits/mo (+74% bonus, $0.115 / 1K ads, 300 RPM) - Business Plan: **$199/mo** -> 5,000,000 Credits/mo (+151% bonus, $0.08 / 1K ads, 600 RPM) - Never-Expiring PAYG Packs: $9 (90k Credits), $25 (250k Credits), $89 (1.05M Credits), $249 (3.5M Credits) - Payment Rails: Stripe Live (Card, Apple Pay, Google Pay, VAT/Tax PDF invoices), NOWPayments 0%-Fee Crypto (+5% bonus credits), & Keyless Base Mainnet USDC x402 ($0.002/call, zero signup) - Refunds: payments from the last 14 days, up to the unused balance (support@adslibraryapi.com) ## Latency SLA & 12h Write-Through Cache - **Warm PostgreSQL 16 + Redis DB 10 (`ad:`) Cache**: `18–40 ms` (12-hour TTL on HTTP 200 non-empty responses) - **Live Multi-Rail Upstream Fetch (Meta Ad Library + Google Ads Transparency)**: `1.2–2.8 s` - **Live Landing Page & 12-Pixel Audit**: `110–450 ms` ## AI Agent & Core Pages - Official Claude / Cursor AI Skill Manifest: [SKILL.md](https://adslibraryapi.com/SKILL.md) - Complete Single-File LLM Reference: [llms-full.txt](https://adslibraryapi.com/llms-full.txt) - OpenAPI 3.1 JSON Specification: [openapi.json](https://adslibraryapi.com/openapi.json) - Live 7-Day API Status & p50/p95 Latency Monitor: [API Status](https://adslibraryapi.com/status) - Remote Streamable HTTP MCP Server (`https://mcp.adslibraryapi.com/v1/mcp`): [MCP Guide](https://adslibraryapi.com/mcp) - Developer Affiliate Program (20% Recurring): [Affiliate Program](https://adslibraryapi.com/affiliate) ## Engineering Guides (/guides) - [All Engineering Guides](https://adslibraryapi.com/guides) - [Facebook Ad Library API for Commercial Ads (2026): Query Active Brand Creatives Without Political Verification](https://adslibraryapi.com/guides/facebook-ad-library-api-commercial-ads): Meta's official Ad Library Graph API restricts US commercial eCommerce and SaaS ads behind political/EU-only gates. Query live Meta commercial ads, HD videos & CTAs in 3s. - [Foreplay.co API Alternative (2026): Build Automated Swipe Files & Creative Spy Pipelines for $0.08/1K Ads](https://adslibraryapi.com/guides/foreplay-co-api-alternative): Foreplay.co charges $49–$299/mo per seat with manual browser saving and no open PAYG API. Automate Meta & Google ad swipe files via REST, MCP & x402 from $9 PAYG. - [Google Ads Transparency Center API Guide (2026): Pull Verified Brand Search, Display & YouTube Creatives](https://adslibraryapi.com/guides/google-ads-transparency-api-guide): Google Ads Transparency Center has no official public REST API. Query verified Google advertiser IDs, active Search/Display/YouTube creatives & first/last shown dates via JSON. - [Cross-Platform Ad Creative & TikTok Pixel Funnel Audit API (2026): Connect Social Hooks to Converting Landing Pages](https://adslibraryapi.com/guides/tiktok-creative-center-ads-api): Track high-CTR video ads across Meta & Google and automatically detect TikTok Pixel, Meta Pixel, gtag, Klaviyo & offer structures on every competitor landing page. - [Competitor Ad Spy Automation with Remote MCP & x402 (2026): Connect Claude, Cursor & Autonomous Agents to Live Ads](https://adslibraryapi.com/guides/competitor-ad-spy-automation-mcp): Connect Claude Desktop, Cursor, ChatGPT Connectors, or x402 autonomous agents to live Meta & Google commercial ads via Remote MCP (mcp.adslibraryapi.com) and USDC micropayments. ## Competitor Comparisons (/compare) - [All Provider Comparisons](https://adslibraryapi.com/compare) - [AdsLibrary API vs Foreplay.co](https://adslibraryapi.com/compare/foreplay-co-api-alternative): Compare AdsLibrary API against Foreplay.co: automate Meta & Google competitor ad creative feeds, landing page pixel audits, and AI MCP agents from $9 PAYG. - [AdsLibrary API vs Meta Official Ad Library API](https://adslibraryapi.com/compare/meta-ad-library-api-alternative): Bypass Meta Graph API's US commercial ad restrictions and government ID verification. Query live Facebook, Instagram & Google commercial ads from $0.08/1K. - [AdsLibrary API vs Google Ads Transparency Scrapers](https://adslibraryapi.com/compare/google-ads-transparency-api-alternative): Query verified Google Ads Transparency advertisers, Search/Display/YouTube creatives, and active run dates without managing headless browsers or proxies. ## Endpoints ### Commercial Ads Intelligence - [Search Active Commercial Video & Image Ads (Meta + Google)](https://adslibraryapi.com/docs/ads-search): `GET /v1/ads/search` (2 Credits / ad) - [Get Competitor Brand & Advertiser Active Ads Dossier](https://adslibraryapi.com/docs/ads-advertiser): `GET /v1/ads/advertiser` (2 Credits / ad) - [Audit Ad Destination Landing Page Headline, Offer, CTAs & Tracking Pixels](https://adslibraryapi.com/docs/ads-landing-page-audit): `GET /v1/ads/landing-page-audit` (10 Credits / audit) ## FAQ ### Why does Meta's official Ad Library API block US commercial ads, and how does AdsLibrary API solve it? Meta's official Graph Ad Library API restricts commercial (non-political) ad queries strictly to EU/UK DSA regions—returning empty payloads for US SaaS, DTC, and ecommerce brands. AdsLibrary API routes through live commercial Ad Library & Google Ads Transparency rails so you can pull active US & global commercial video/image creatives, hook copy, CTAs, and landing pages with an instant ad_live_ key. ### What ad creative & winner-signal fields are returned by GET /v1/ads/search? Every creative is normalized into clean JSON containing ad_id, platform (meta or google), publisher_platforms (facebook, instagram, youtube, google_display), advertiser_name, format (video, image, carousel, text, dco), is_active, start_date, days_running, winner_signal (high_winner for >=30d active or 4+ variations), hook_copy, headline, cta_text, landing_page_url, display_domain, media.video_hd_url, media.thumbnail_url, and ad_library_url. ### What does GET /v1/ads/landing-page-audit detect on competitor ad destination URLs? Pass any public ad landing page URL to extract the live H1 headline, subheadlines, offer structure (pricing mentions, free trial, demo CTA, discounts, no-credit-card claims), primary CTA buttons, redirect hops, and 12 tracking pixels: meta_pixel (with Pixel IDs), gtag (GA4/AW IDs), gtm, tiktok_pixel, linkedin_insight, hubspot, klaviyo, segment, hotjar, clarity, snapchat_pixel, and pinterest_tag. ### How does credit billing work, and do I pay for empty searches or failed landing page audits? $1.00 equals 10,000 Credits. Commercial ad search (/v1/ads/search) and brand advertiser dossiers (/v1/ads/advertiser) cost strictly 2 Credits per ad returned ($0.20/1K PAYG, down to $0.08/1K on Business Monthly). Live landing page funnel & pixel audits (/v1/ads/landing-page-audit) cost 10 Credits per audit. Any empty result or upstream error deducts strictly 0 Credits. ### Can I start for $9 without a $99/mo Foreplay or AdSpy seat subscription? Yes. Every account receives 3,000 Free Credits ($0.30) on sign-up — No Card Required. When ready, purchase our $9.00 Indie Starter Micro-Pack (90,000 never-expiring credits = 45,000 commercial ad creatives or 9,000 landing page audits) via Stripe Card / Apple Pay / Google Pay or 0%-fee Crypto (+5% bonus). ### Does AdsLibrary API support Claude, ChatGPT, Cursor MCP and x402 Base Mainnet USDC? Yes. Connect Claude Web, ChatGPT Connectors, or Cursor in 1 click to https://mcp.adslibraryapi.com/v1/mcp (OAuth 2.1) or https://api.adslibraryapi.com/mcp (API key) for 5 live ad-intelligence tools. Autonomous agents can also call /v1/ads/* with zero signup via x402 Base Mainnet USDC ($0.002/call, $0 settled on empty results). ### How many ad creatives and landing page audits can I pull with the $9 Indie Starter Pack? The $9.00 Indie Starter Micro-Pack grants 90,000 permanent credits (or 94,500 credits when paid with 0%-fee Crypto). At 2 Credits per ad creative and 10 Credits per landing page audit, $9 buys 45,000 commercial ads or 9,000 full funnel & tracking pixel audits — with zero monthly expiration. ### What happens if a keyword search returns 0 active ads or a landing page times out? You are charged 0 Credits. Our Charge-Before-Return gateway verifies HTTP 200 and non-empty payloads before deducting a single credit. ### How does AdsLibrary API compare to Foreplay.co, AdSpy, and Apify Ad Library scrapers? UI-only spy suites like Foreplay ($49–$299/mo) and AdSpy ($149/mo) lock data inside browser dashboards without developer REST APIs, while Apify actors bill compute + proxy fees ($5–$20/1K ads) with fragile runs. AdsLibrary API delivers normalized Meta + Google ads plus live pixel audits at $0.08–$0.20 per 1,000 ads with 12-hour caching and 99.97% uptime. ### Can I pay with Corporate Credit Card, Apple Pay, or USDT/USDC? Yes. We support Stripe (Visa, Mastercard, Amex, Apple Pay, Google Pay, with automatic EU VAT / US EIN / Tax ID PDF invoices) alongside NOWPayments 0%-fee multi-chain Crypto (USDT, USDC, SOL, BTC, BNB) with an automatic +5% credit bonus. ### Do Pay-As-You-Go credits expire, and what is the refund policy? Purchased Pay-As-You-Go credits never expire. Unused paid balances from payments made within the last 14 days are eligible for a refund upon request to support@adslibraryapi.com.