---
title: "Facebook Ad Library API Limitations | ScrapeAdLibrary"
description: "What the official Meta Ad Library API covers and what it misses: access, countries, ad types, media, rate limits, terms, and when scraping fills the gap."
url: https://scrapeadlibrary.com/blog/meta-ad-library-api-limits
markdown: https://scrapeadlibrary.com/blog/meta-ad-library-api-limits.md
---

# Facebook Ad Library API Limitations: What the Official API Leaves Out

Guide · Published November 23, 2026 · 6 min read

Meta offers an official Ad Library API, and for some jobs it is the right tool. For many others it quietly returns nothing. Before you spend a week on identity checks and app settings, here is what the official API actually gives you, where its limits are, and what reading the public Ad Library adds.

## How you get access

The official API is the `ads_archive` edge of the Graph API. To call it you need three things: a Facebook account that has completed Meta's identity confirmation (an ID document checked through facebook.com/ID, which can take from minutes to several days), a Meta developer account with an app, and an access token generated for that app. The token is tied to a person, not to a company, so agencies and teams usually end up depending on one employee's verified account.

None of this is hard, but it is slow and personal. If you are evaluating whether the data answers your question at all, you are asked to verify your identity before you can find out.

## What it covers, and what it does not

This is the limitation that matters most. The official API returns two families of ads:

- **Ads about social issues, elections or politics**, in the countries where Meta applies those rules, kept for seven years, with spend and impressions ranges, the "Paid for by" disclaimer and demographic distribution.
- **Every ad delivered in the European Union**, commercial ones included, added for the Digital Services Act. These are available for about a year after their last impression, with EU reach, targeting (ages, gender, locations), a reach breakdown by country, age and gender, and the payer and beneficiary.

What is missing is everything else: ordinary commercial ads shown only outside the EU. A US e-commerce brand, an app running install campaigns in India, a course creator in Australia: you can see their ads on the public Ad Library website, logged out, but the API answers with an empty list. For competitive research outside Europe this single gap usually decides the question.

### Search is narrower than the website

The query parameters are close to the website filters but not identical. `ad_reached_countries` is required and expects a list of countries; `search_terms` matches keywords; `search_page_ids` takes up to a handful of page ids; `ad_type` chooses between all ads and political or issue ads; `ad_active_status` and the `ad_delivery_date_min`/`max` pair filter by status and dates. The fields you want back must be listed explicitly in `fields`, and some only exist for certain ad types (spend and impressions only for political ads, EU reach only for ads delivered in the EU).

### No image or video files

The API returns the creative texts (bodies, link titles, captions, descriptions) and an `ad_snapshot_url`: a link to a rendered page of the ad that needs your access token to open. There is no field with the image or video file itself. If you need the creative, for a swipe file, a classifier or a client deck, you have to load each snapshot page and extract the media from it, which is scraping again, one ad at a time. Our [creatives guide](https://scrapeadlibrary.com/blog/download-facebook-ad-creatives.md) shows what a direct media URL saves you.

### Rate limits you cannot plan around

Meta does not publish a fixed quota for the Ad Library API. In practice heavy use runs into Graph API throttling (error code 613, "Calls to this API have exceeded the rate limit"), and the threshold depends on the app and the token rather than on a number you can read in advance. Large backfills therefore need back-off logic and patience, and it is hard to promise a client that a weekly export will finish on time.

### Terms of use

Data obtained through the API comes under Meta's Platform Terms and the Ad Library API terms, which restrict how the data can be used and shared. If you plan to build a commercial product on it, have someone read those terms for your use case first. The [legal guide](https://scrapeadlibrary.com/blog/is-scraping-facebook-ad-library-legal.md) covers the wider picture, including scraping of the public website.

## Summary of the limits

| Topic | Official ads_archive API | Public Ad Library website |
| --- | --- | --- |
| Access | Identity confirmation, developer app, token | Anyone, logged out |
| Commercial ads outside the EU | Not returned | Shown while active |
| Ads delivered in the EU | Yes, about a year after the last impression | Yes |
| Political and issue ads | Yes, seven years | Yes, seven years |
| Images and videos | Snapshot link only | Shown in the page |
| EU reach and breakdowns | Yes | Yes, in the ad detail |
| Rate limit | Not published (error 613) | Anti-bot measures |

## What reading the public library adds

Because the public website shows more than the API returns, reading it is how commercial ad research outside Europe gets done. Doing that yourself means solving an anti-bot challenge, following GraphQL queries that change, and using residential IPs to paginate: the [scraping guide](https://scrapeadlibrary.com/blog/how-to-scrape-facebook-ad-library.md) explains each step. An Ad Library API does it for you and answers JSON.

With ScrapeAdLibrary you sign up with an e-mail address, no identity document, and get an API key with 65 free calls a month. The same request works for any country, commercial or political, and every ad comes with its creatives as direct media URLs:

cURL:

```bash
# Active commercial ads in the United States: the official API returns none of these
curl -s "https://api.scrapeadlibrary.com/v1/ads/search?q=meal%20kit&country=US&status=active&limit=30" \
  -H "X-API-Key: $SCRAPEADLIBRARY_API_KEY"
```

Python:

```python
import os
import requests

response = requests.get(
    "https://api.scrapeadlibrary.com/v1/ads/search",
    params={"q": "meal kit", "country": "US", "status": "active"},
    headers={"X-API-Key": os.environ["SCRAPEADLIBRARY_API_KEY"]},
    timeout=60,
)
response.raise_for_status()
for ad in response.json()["data"]:
    files = [m["url"] for m in ad["images"] + ad["videos"]]
    print(ad["id"], ad["page"]["name"], ad["format"], files[:1])
```

JavaScript:

```javascript
const params = new URLSearchParams({ q: "meal kit", country: "US", status: "active" });
const response = await fetch("https://api.scrapeadlibrary.com/v1/ads/search?" + params, {
  headers: { "X-API-Key": process.env.SCRAPEADLIBRARY_API_KEY },
});
if (!response.ok) throw new Error("HTTP " + response.status);
const { data } = await response.json();
for (const ad of data) {
  const files = ad.images.concat(ad.videos).map((m) => m.url);
  console.log(ad.id, ad.page.name, ad.format, files.slice(0, 1));
}
```

For the EU data the official API is known for, `GET /v1/ads/{ad_id}` returns the [ad detail](https://scrapeadlibrary.com/facebook-ad-details-api.md) with `transparency.eu` (reach, ages, gender, locations, breakdown by country, age and gender), `transparency.uk` where Meta publishes it, and `payers`. The [EU transparency guide](https://scrapeadlibrary.com/blog/facebook-ad-library-eu-transparency-data.md) explains every field.

## The trade-offs of scraping

Reading the public library is not free of limits either, and it is fair to name them:

1. **Active ads first.** Commercial ads outside the EU stay on the public website while they run and for a limited time after; there is no seven-year archive for them. Collect regularly if you need history, as the [competitor tracking guide](https://scrapeadlibrary.com/blog/track-competitor-facebook-ads.md) does.
2. **No spend for commercial ads.** Neither the API nor the website publishes spend for commercial ads. Only political ads carry spend ranges; for everything else you have proxies such as longevity, variants and EU reach ([what you can know about competitor spend](https://scrapeadlibrary.com/blog/competitor-facebook-ad-spend.md)).
3. **Media links expire.** Meta's CDN URLs expire after a few days. Download what you want to keep.
4. **Upstream changes.** When Meta changes the page, a scraper has to follow. With an API that is the provider's problem; errors such as `502 upstream_schema_changed` are explicit and never billed ([error reference](https://scrapeadlibrary.com/docs/errors.md)).

> The two sources are compatible: the ad ids are the same Ad Library ids, so you can use the official API for long political archives and the REST API for commercial ads, and join the results on the id.

## Which one to use

Use the official API if your subject is political or issue advertising, or ads delivered in the EU, and you are comfortable with the identity check and the terms. Use the public library, through your own scraper or an [Ad Library API](https://scrapeadlibrary.com/facebook-ads-search-api.md), when you need commercial ads in any country, creatives as files, or a setup a whole team can share. The [alternatives comparison](https://scrapeadlibrary.com/blog/meta-ad-library-api-alternative.md) puts all the options side by side.

## Frequently asked questions

### Does the Meta Ad Library API return commercial ads?

Only commercial ads delivered in the European Union. Commercial ads shown only in other countries are visible on the public Ad Library website but are not returned by the official API.

### What is the rate limit of the Ad Library API?

Meta does not publish a fixed number. Heavy use runs into Graph API throttling (error 613), with thresholds that depend on the app and the token, so large jobs need back-off and retries.

### Can I download ad images with the official API?

Not directly. It returns an ad_snapshot_url that opens a rendered page of the ad with your access token; the image or video file has to be extracted from that page.

### How long are ads kept?

Political and issue ads for seven years. Ads delivered in the EU for about a year after their last impression. Other commercial ads are on the public website while they are active and for a limited time after.

## Related guides

- [Meta Ad Library API Alternatives: Five Ways to Get Ad Data](https://scrapeadlibrary.com/blog/meta-ad-library-api-alternative.md): The official Meta Ad Library API skips most commercial ads. Compare the alternatives: DIY scrapers, marketplaces, spy tools and a REST Ad Library API.
- [How to Scrape the Facebook Ad Library (2026 Guide)](https://scrapeadlibrary.com/blog/how-to-scrape-facebook-ad-library.md): Three ways to get Facebook Ad Library data out as JSON: by hand, with your own scraper, or with an API. Working cURL, Python and JavaScript examples.
- [Facebook Ad Library EU Reach Data: How to Read the DSA Transparency Fields](https://scrapeadlibrary.com/blog/facebook-ad-library-eu-transparency-data.md): EU reach, targeting and the age, gender and country breakdown of ads delivered in the EU: what the DSA data means, its limits and how to get it as JSON.

[All guides](https://scrapeadlibrary.com/blog.md)

## Try it on your own competitors

Create a free account and get 65 free calls every month, no credit card. One API key works on every endpoint.

[Create a free account](https://scrapeadlibrary.com/auth/sign-up) · [Read the docs](https://scrapeadlibrary.com/docs.md)
