> Meta’s ads_archive endpoint returns political and issue ads outside the EU and no media files. What it covers, what it needs, and when another API fits better.

Web version: https://publicadsapi.com/compare/meta-ad-library-api · Sign up: https://publicadsapi.com/signup?ref=md · Last updated: 2026-11-22

# Meta’s official Ad Library API compared with Public Ads API

Meta’s ads\_archive endpoint returns political and issue ads outside the EU and no media files. What it covers, what it needs, and when another API fits better.

Meta has an official API for its Ad Library, the Graph API’s `ads_archive` endpoint. It is free, and for some research it is the right tool. For most commercial uses it is too narrow, which is why third-party APIs exist.

## What the official API returns

-   **Political and issue ads anywhere, every ad in the EU.** Meta’s own reference says that ads that did not reach any location in the EU only come back if they are about social issues, elections or politics. A US shoe brand’s ads, for example, are out of reach.
-   **A snapshot link, not media.** Each ad has an `ad_snapshot_url`, a page that displays the ad. There are no image or video addresses to download or show in your own product.
-   **An access token from a Meta developer app,** and Meta asks for a confirmed identity before the Ad Library API answers.

## What Public Ads API returns

Public Ads API reads the public [Meta Ad Library](https://publicadsapi.com/meta-ad-library-api) page, the one anyone can open in a browser. So commercial ads come back from any country Meta shows them in, with their image and video addresses, text, call to action, link, placements and run dates. One call returns up to 30 ads as JSON.

```
curl "https://api.publicadsapi.com/v1/meta/ads?q=running+shoes&country=US&active=true" \
  -H "authorization: Bearer $PADS_API_KEY"
```

## Side by side

|  | Meta ads\_archive | Public Ads API |
| --- | --- | --- |
| Commercial ads outside the EU | No | Yes, while they run |
| Political and issue ads | Yes | Yes (`category=political_and_issue`) |
| Image and video addresses | No, a snapshot page | Yes |
| Getting access | A developer app and identity confirmation | An email address |
| Price | Free | 100 credits a month free, then from $19 a month for 8,000 credits |

## Limits every API shares

Some limits are the library’s, so no API gets past them. Meta shows US commercial ads only while they run; a stopped one stays only if it was a political or issue ad. EU and UK ads stay for a year after they stop. Reach and targeting exist only for ads delivered in the EU.

## Which to use

Use `ads_archive` if you study political or EU ads and don’t need the media. Use Public Ads API if you want commercial ads from any country with their images and videos, or the same record from Google and TikTok too. Every account starts with 100 free credits a month and a sandbox key, no card. [Get a free API key](https://publicadsapi.com/signup) or read the [quickstart](https://publicadsapi.com/docs/quickstart).

Questions

## Questions

### Is Meta’s Ad Library API free?

Yes. It needs a Meta developer app and an access token, and returns ads outside the EU only when they are about social issues, elections or politics.

### Can the official API return a brand’s commercial ads in the US?

No. Ads that never reached the EU come back only if they are political or issue ads. Public Ads API reads the public library page, so a running commercial ad in the US comes back.

## Read next

-   [How to see a competitor’s Facebook and Instagram ads](https://publicadsapi.com/guides/competitors-facebook-ads)
-   [Meta Ad Library API](https://publicadsapi.com/meta-ad-library-api)
-   [ScrapeCreators alternative: Public Ads API compared](https://publicadsapi.com/compare/scrapecreators)

## Search the ad libraries from your own code

Meta, Google and TikTok, one Ad record, free to start.

[Get a free API key](https://publicadsapi.com/signup) · [Read the quickstart](https://publicadsapi.com/docs/quickstart)
