meta_ads
Search the Meta (Facebook/Instagram) Ad Library, Meta's public ad-transparency archive, by keyword or advertiser page ID and country: advertiser, ad text, creative format, landing page, platforms, start/end dates, active status, and spend/impression ranges where Meta publishes them. Up to 20 ads per call. Provided by Atlas Data (third-party seller); cached up to 6 h. Price 0.02 USD per call via x402.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | sort | |
| adType | No | Ad category (special categories need a country; US is used if ALL) | |
| dateTo | No | Shown on or before (YYYY-MM-DD) | |
| country | No | ISO 3166 alpha-2 country where ads were shown (DK, SE, DE...) or ALL (default) | |
| pageIds | No | Comma-separated numeric Facebook page IDs of advertisers (all their ads). Total searches (keywords + pageIds) max 3. | |
| dateFrom | No | Shown on or after (YYYY-MM-DD) | |
| keywords | No | Comma-separated keyword searches (ad text / advertiser), up to 3. Required unless pageIds is set. | |
| maxItems | No | Max ads returned (default 10, clamped to 20) | |
| languages | No | Comma-separated two-letter ad languages, up to 5 (e.g. da,en) | |
| mediaType | No | mediaType | |
| platforms | No | Comma-separated subset of facebook, instagram, audience_network, messenger, threads | |
| exactPhrase | No | Match keywords as an exact phrase | |
| activeStatus | No | Default active |