Signup comes with $1 in credit. No subscription needed.Claim your $1

Tools / Ad libraries / API

One request shape for the Meta Ad Library and the Google Ads Transparency Center

Send query, platform and limit to ads.search and get back public ads as JSON: advertiser, headline, text, format, start date, a library link and a preview URL. Switch platform from meta to google and the record stays the same, so one parser covers both. RouterGrowth is independent of Meta and Google; this is not their official API.

Real run: 5 records $0.00875 per search ads.search MCP · REST · CLI

Ask your agent

Call the ad library API for robot vacuum on Meta, then list the advertisers and the format each one uses.

Connect RouterGrowth once, then ask in plain words. New workspaces start with $1 of credit. Get a key or read the setup guide.

A real run

What does it return?

One call to ads.search (competitor ad creatives), run through RouterGrowth on November 2, 2026. These are the first rows it returned; fields that name a person are masked.

5records returned
23.5 sto answer
$0.05charged for the run
advertiserheadlinetextformatstarted
DysonDyson R3 Nurovi Spot+Scrub™ UV robot vacuumThe robot's UV light reveals what you can’t see, before cleaning with forensic precision.DCO2026-09-30
House BeautifulThis Dyson Robot Vacuum is 60% Off on Amazon Right NowYou can save hundreds.IMAGE2025-11-17
Tiron WorldTiron World🏠 Smart Cleaning Starts Here! Looking for the perfect cleaning solution for your home? Whether you need a Robot Vacuum, Wet & Dry Vacuum…CAROUSEL2026-07-14

A keyword search for robot vacuum on Meta returned five ads from four advertisers, including a magazine's affiliate ad and two ads not in English; match came back as keyword.

Step by step

How do you do it?

  1. Get one key

    Create a RouterGrowth key and send it as a Bearer header to the run endpoint, or add the MCP server to your agent.

  2. Choose the platform

    On meta, query is a keyword, an advertiser name or a Facebook page URL. On google, query is the advertiser's domain or an Ads Transparency Center URL.

  3. Parse result.ads

    Each item has advertiser, headline, text, url, started_at, format and preview_url, whichever platform answered.

  4. Read match on Meta

    Meta results carry match: advertiser when the ads come from an advertiser named like the query, keyword otherwise.

Price

What does it cost?

List prices on Meta Ad Library, read from the catalog when this page was built. The exact figure is quoted before every run, and a monthly plan lowers it.

$0.00875per search
$0.002minimum for a call that returns results
$0when the call finds nothing

In practice

What do you ask it?

You describe the job; the agent picks the calls, shows the price and runs them.

Call the ad library API for robot vacuum on Meta, then list the advertisers and the format each one uses.

Pull ads for this domain from Google and for the same brand's Facebook page from Meta, and put both in one table with a platform column.

Take the advertisers from this ad search and add the size and industry of each.

Connect

How do you connect it?

One MCP server for Claude, ChatGPT, Claude Code, Codex and Cursor, or the same call over the CLI and REST with the input above.

MCP server
claude mcp add --transport http routergrowth https://api.routergrowth.com/mcp
CLI
npm install -g routergrowth && routergrowth setup
routergrowth run -c ads.search -i '{"query": "robot vacuum", "platform": "meta", "limit": 5}'
REST
curl -X POST https://api.routergrowth.com/v1/run \
  -H "Authorization: Bearer $ROUTERGROWTH_API_KEY" \
  -d '{"capability": "ads.search", "input": {"query": "robot vacuum", "platform": "meta", "limit": 5}}'

Worth knowing

What should you know first?

Same record, different input

The output has one shape, but Google reads a domain and Meta reads a keyword, a name or a page URL. A keyword sent to Google is not what the input expects.

No spend or results data

The records describe the creative and its start date. They hold no spend, reach or conversion figures.

Keep what you need

preview_url points at a file on the platform's servers. Store a copy of anything you want to keep.

FAQ

Questions about ad library api

Is this Meta's or Google's official API?

No. RouterGrowth is an independent service that returns public ad library data. You use a RouterGrowth key, not an app or a token from Meta or Google.

What does it respond with?

JSON with an ads array. The run also reports its provider, its duration and what it was charged.

How is a call charged?

The quote scales with limit and the charge follows the ads returned. A search with no ads is not billed.

Can I filter by country or date?

The input is query, platform and limit. Filter on started_at or on the text after the call.

More on Ad libraries

Related pages

Reading this as an agent? This page as markdown: /tools/ad-library/api.md

One key. Every network.

Connect your agent once. The first calls run on the $1 that comes with signup.