↑ ↓ to move ↵ to open
Facebook Ad Library API · Endpoint

Facebook Ad Library Discover Advertisers API

Find an advertiser's Facebook page ID from its name, to list its ads.

  • 1 credit per call
  • Failed calls are free
  • Updated
  • fb-adlibrary.advertiser.discover
Response completed
{  "total_items": 5,  "items": [    {      "name": "Nike",      "category": "Sportswear Store",      "page_alias": "nike",      "page_id": "15087023444",      "page_url": "https://www.facebook.com/15087023444",      "verification": "BLUE_VERIFIED"    },    {      "name": "Nike Football",      "category": "Product/service",      "page_alias": "nikefootball",      "page_id": "51212153078",      "page_url": "https://www.facebook.com/51212153078",      "verification": "BLUE_VERIFIED"    }  ]}
Try it live, free
Input

What you send

The input object of the request, with every field the endpoint accepts.

FieldTypeRequiredWhat it doesExample
query string yes The advertiser's page name, or the start of it. nike
country string no A two-letter country code to look in. US
limit integer no How many pages to return. 5
Response

Fields it returns

What each record in the response holds, with the values from the sample above.

FieldTypeWhat it isExample
items[].name string The advertiser's name. Nike
items[].category string The page's category. Sportswear Store
items[].page_alias string The page's short name in its address. nike
items[].page_id string The ID of the Facebook page that runs the ad. 15087023444
items[].page_url string The page's address on Facebook. https://www.facebook.com/15087023444
items[].verification string The page's verification badge. BLUE_VERIFIED
items array The results. 5 records
total_items integer How many results this response holds. 5
REST API · MCP server

Call it from your code, or ask your agent

Set UPSCRAPE_API_KEY to your key and copy a working request.

curl --request POST \  --url https://data.upscrape.com/execute \  --header "Authorization: Bearer $UPSCRAPE_API_KEY" \  --header "Content-Type: application/json" \  --header "Prefer: wait=30" \  --data '{  "capability": "fb-adlibrary.advertiser.discover",  "input": {    "country": "US",    "limit": 5,    "query": "nike"  }}'
In your AI agent Claude · Cursor · any MCP client
1Add the Upscrape MCP server
https://data.upscrape.com/mcp
2Ask for the data in plain words

With Upscrape, get the Facebook Ad Library discover advertisers for country "US" and query "nike". Tell me what it costs before you run it, then show the results as a table.

The agent finds the endpoint, shows you the price, and runs it with your credits.
Facebook Ad Library

More from the Facebook Ad Library API

Same data, other platforms

The same data from other platforms

Questions

Facebook Ad Library Discover Advertisers API FAQ

The short answers. The docs have the long ones.

Still have a question? Talk to the people who build the endpoints.
How much does the Facebook Ad Library Discover Advertisers API cost?

1 credit per successful call, shown before it runs. You buy credits once, and paid credits never expire.

What do I send?

Send query. The input fields below list every option with its type and limits.

Do I need a Facebook Ad Library login?

No. It reads public Facebook Ad Library data; nothing runs on your account.

Can my AI agent call it?

Yes, over MCP: the agent finds fb-adlibrary.advertiser.discover, checks its price and runs it with the same credits as the REST API.

Get started

Your first Facebook Ad Library call is free.

Up to 100 free credits to start, no card needed.