MCP and API
Ads Radar
Find the ads brands run on Meta and TikTok, see how long they've run, and use them as ideas for your own videos.
On this page
Ads Radar reads the public ad libraries of Meta (Facebook and Instagram) and TikTok for a set of brands that Layo tracks. You read it through the Layo MCP or the API. It's the same for every workspace, it only reads, and it costs no credits. There's no Ads Radar page in the app yet.
Ask your assistant
With Layo connected, ask in your own words:
- "Which brands does Ads Radar track?"
- "Show me Celsius's longest-running TikTok ads."
- "Find ads that open with a question about being tired in the afternoon."
- "Make a video like that ad, with my influencer."
The assistant uses three tools: list_ad_brands, search_ads and get_ad. An ad is an idea, not something to copy:
to make a video like one, the assistant writes a new prompt in your words, checks its price and asks you before it
starts. See Videos.
What an ad tells you
| Field | What it means |
|---|---|
status | active if it's still running, stopped, or unknown if there isn't enough to say. why says how we know. |
runDays | Whole days from its start to when it stopped, or to today. It says how long it ran, not that it works. |
media | Each picture or video, with a short-lived link, what's said in the video (transcript) and how it opens (hook). |
An ad's text and transcript are the advertiser's words, shown as the ad library shows them.
Search
search_ads lists the longest-running ads first. Filter by brand (a slug from list_ad_brands), platform,
status and startedSince. With query, it finds the ads whose opening line is closest in meaning to your words,
best first; only videos that have been transcribed can match.
A brand often runs one video as many ads. Search counts it once: one result per creative (the same video, for the same
brand), shown as its longest-running ad. adCount says how many ads run it, and alsoRunsAs lists up to 10 of the
others' ids, which Get an ad reads too. Pages (cursor, limit) count creatives, not ads.
curl "https://layo.co/v1/ads?brand=celsius&status=active&limit=5" \
-H "Authorization: Bearer $LAYO_API_KEY"Then read one ad with Get an ad. Its file links stop working after expiresIn seconds; read the
ad again for fresh ones.
When nothing comes back
If Ads Radar isn't tracking any brands yet, or doesn't track the brand you named, the answer's note says so. Layo
picks the brands it tracks; there's nothing to set up on your side.
See List ad brands, Search ads and Get an ad.