BUILT WITH THE TWITTERAPI.IO TEAM
/mcp/facebook-and-meta-adsai.agentapigate/facebook-meta-google-tiktok-ads-library-api-mcp
Streamable HTTP Connector · Tri-Platform Commercial Ad Intelligence & Facebook

Facebook, Meta Ad Library, Google Ads & TikTok Creative Center MCP Server

Give media-buying, competitive-intelligence, and DTC growth agents programmatic access to active commercial creatives across Meta Ad Library, Google Ads Transparency Center, and TikTok Creative Center — plus public Facebook Pages, Watch videos, Groups, and post comments.

1-Click Remote MCP Setup
Stateless Streamable HTTP · 0 Local Dependencies
claude mcp add --transport http agentapigate-facebook-and-meta-ads "https://mcp.agentapigate.ai/mcp/custom?tools=ads.meta.search,ads.meta.company_ads,ads.google.company_ads,ads.tiktok.top_ads,ads.tiktok.trending_keywords,facebook.page.info,facebook.page.posts,facebook.group.posts" \
  --header "Authorization: Bearer aag_live_YOUR_KEY"
Direct REST + Zero-Signup x402 / Tempo MPP
# 1. Inspect deterministic 402 quote (Base USDC + Solana USDC + Tempo MPP):
curl -i "https://api.agentapigate.ai/v1/ads/meta/search?query=ai+agent&country=US&limit=10&format=compact"

# 2. Or execute immediately with an aag_live_* / scoped aag_agent_* key:
curl -s "https://api.agentapigate.ai/v1/ads/meta/search?query=ai+agent&country=US&limit=10&format=compact" \
  -H "Authorization: Bearer $AAG_API_KEY" \
  -H "X-AAG-Max-Cost: 0.0100"
ads.meta.search
X-AAG-Cost-USD: 0.0040 · p50 917 ms · -97% LLM context tokens
{
  "ok": true,
  "meta": {
    "endpoint": "ads.meta.search",
    "format": "compact",
    "cost_usd": 0.004,
    "tokens_est": 1014,
    "raw_tokens_est": 22837,
    "tokens_saved_pct": 97,
    "latency_ms": 917,
    "content_trust": "external_untrusted"
  },
  "data": {
    "query": "ai agent",
    "count": 10,
    "items": [
      {
        "id": "3273999586134754",
        "page_name": "Muse",
        "display_format": "VIDEO",
        "cta_text": "Learn more",
        "body_text": "steal my perfect day in nyc 👀🗽\n\nmy Muse, ruby, picked from my hundreds of instagram saves (that i never look at again) and planned the whole day, food restrictions included.\n\nwant your own? the new @Muse app from Meta is available to download now. comment ‘LINK’ and i’ll send you the link to try it for free 💌\n\n@meta #MetaPartner Businesses and products shown are AI-generated suggestions, not sponsored, endorsed by, or affiliated with Meta.",
        "link_url": "https://muse.ai/?utm_source={{site_source_name}}&utm_medium={{placement}}&utm_campaign=muse_9-8_launch&utm_content={{ad.name}}",
        "active": true
      },
      {
        "id": "1369246921925936",
        "page_name": "Muse",
        "display_format": "VIDEO",
        "cta_text": "Download",
        "body_text": "You want to know the secret to my chill? Mango, my personal AI agent, helps me stay on top of my business while keeping my me-time sacred. �\nDownload the @Muse app from Meta to get started.\n\nBusinesses and products shown are AI-generated suggestions, not sponsored, endorsed by, or affiliated with Meta.",
        "link_url": "http://itunes.apple.com/app/id6760173601",
        "active": true
      },
      {
        "id": "1437124878570943",
        "page_name": "Muse",
        "display_format": "VIDEO",
        "cta_text": "Download",
        "body_text": "You want to know the secret to my balance? Juno, my personal Muse agent, keeps me on top of everything so my downtime stays mine.\n\nDownload the @muse app to create your own.\n\nBusinesses and products shown are AI-generated suggestions, not sponsored, endorsed by, or affiliated with Meta.",
        "link_url": "http://itunes.apple.com/app/id6760173601",
        "active": true
      },
      {
        "id": "1160118720292627",
        "page_name": "Muse",
        "display_format": "DCO",
        "cta_text": "Download",
        "body_text": "Have your personal AI agent find deals on Facebook Marketplace for you. Download Muse.",
        "link_url": "http://itunes.apple.com/app/id6760173601",
        "active": true
      },
      {
        "id": "3604188963069603",
        "page_name": "Muse",
        "display_format": "DCO",
        "cta_text": "Download",
        "body_text": "Crunch numbers in your sleep with Muse, your free AI agent. Download Muse.",
        "link_url": "http://itunes.apple.com/app/id6760173601",
        "active": true
      },
      {
        "id": "1322117609986431",
        "page_name": "AI Apply",
        "display_format": "VIDEO",
        "cta_text": "Learn more",
        "body_text": "Weeks of applying. Done in minutes.",
        "link_url": "https://aiapply.co/",
        "active": true
      },
      {
        "id": "2228739644342598",
        "page_name": "Muse",
        "display_format": "DCO",
        "cta_text": "Download",
        "body_text": "Muse makes sure you don't miss messages from the people who matter most. Download Muse.",
        "link_url": "http://itunes.apple.com/app/id6760173601",
        "active": true
      },
      {
        "id": "1598924504888751",
        "page_na

Why Engineers Mount This Connector via AgentAPIGate

  • 01 · GUARANTEE

    Commercial Ad Coverage Beyond Political-Only APIs: query live SaaS, e-commerce, consumer app, and DTC creatives across Meta (FB/IG), Google Ads Transparency, and TikTok Creative Center at $0.004/call.

  • 02 · GUARANTEE

    One-Hop Brand Ad Audit: resolve any brand handle via facebook.page.info to obtain its exact ad_library_page_id, then pull all active Meta creatives via ads.meta.company_ads and Google domain ads via ads.google.company_ads.

  • 03 · GUARANTEE

    High-Speed Creative Edge Caching: active ad searches and company creative snapshots are cached for 6–12 hours for sub-50ms repeat multi-agent analysis and $0 charged on empty results.

Included MCP Tools & Deterministic Per-Call Pricing

Browse all 136 endpoints →
MCP Tool / Endpoint IDSummaryAPI Key Pricex402 / MPPp50 LatencyBonus Credit
ads_meta_search
ads.meta.search
Search active and historical Facebook & Instagram ads in Meta Ad Library by keyword and country with ad copy, CTA, landing URL, and run dates.$0.0040$0.0040917 mspaid_usd / x402
ads_meta_company_ads
ads.meta.company_ads
Fetch all active Facebook & Instagram ad creatives run by a specific brand or Meta Ad Library Page ID.$0.0040$0.00401726 mspaid_usd / x402
ads_google_company_ads
ads.google.company_ads
Inspect verified advertiser creatives, ad formats (text/image/video), and first/last-shown dates in Google Ads Transparency Center for any domain.$0.0040$0.00405382 mspaid_usd / x402
ads_tiktok_top_ads
ads.tiktok.top_ads
Search top-performing commercial TikTok video ads in TikTok Creative Center by keyword, country, and lookback window (7/30/180 days).$0.0040$0.00402919 mspaid_usd / x402
ads_tiktok_trending_keywords
ads.tiktok.trending_keywords
Retrieve surging commercial hashtags and ad trend velocity from TikTok Creative Center by country and time window.$0.0040$0.0040716 mspaid_usd / x402
facebook_page_info
facebook.page.info
Retrieve public Facebook Page metadata including follower/like counts, verification status, Ad Library Page ID, website, and category.$0.0020$0.00204782 msEligible
facebook_page_posts
facebook.page.posts
Fetch recent posts, videos, reaction counts, comment counts, and share counts from a public Facebook Page.$0.0040$0.00405245 mspaid_usd / x402
facebook_video_detail
facebook.video.detail
Extract metadata, title, duration, thumbnail, and available stream resolutions for a public Facebook Watch video or Reel URL.$0.0020$0.00201805 msEligible
facebook_group_posts
facebook.group.posts
Retrieve recent posts, discussion threads, author names, and engagement counts from a public Facebook Group.$0.0040$0.00408333 mspaid_usd / x402
facebook_post_comments
facebook.post.comments
Fetch public comments, author names, and reaction counts on a Facebook post or Reel URL.$0.0040$0.00404157 mspaid_usd / x402

Frequently Asked Questions

Does ads.meta.search return commercial e-commerce and SaaS ads or only political ads?

Unlike Meta’s restricted official Ad Library API (which limits non-EU queries to social/political issues), AgentAPIGate returns commercial brand, SaaS, mobile app, and DTC product creatives across all categories.

Can I cap an autonomous ad-research agent to a strict daily USD budget?

Yes. Mint a scoped aag_agent_* sub-key in /dashboard/keys with read_only=true, allowed_packs=["commerce","social"], and a hard daily USD ceiling (e.g. $5.00/day).

Explore More Streamable HTTP MCP Connectors & Agent Engineering Guides