↑ ↓ to move ↵ to open

All 4 endpoints working

Facebook Ad Library Scraper API

Get ads from the Meta Ad Library as JSON: search Facebook and Instagram ads by keyword, list everything one advertiser runs, and filter by country, platform, media type, status and date.

No subscription, credits never expire 100 free credits, no card Works with any AI agent

# Collation count Contains digital created media Contains sensitive content Currency End date Gated type Has user reported Hide data status Is aaa eligible Is active Page is deleted Page name Start date Ad archive id Collation id Page id
1 2 false false 1,791,183,600 ELIGIBLE false NONE false true false Nordstrom Rack 1,785,740,400 925321173274919 1022906600523558 89516513179
2 false false 1,791,183,600 ELIGIBLE false NONE false true false Foot Locker 1,784,703,600 2087470841874320 67997232685
3 false false 1,791,183,600 ELIGIBLE false NONE true true false Perfect themes 1,779,174,000 1550534860016399 115939511520844
4 false false 1,791,183,600 ELIGIBLE false NONE false true false Depop 1,779,433,200 962050096457659 156405867784232
5 false false 1,791,183,600 ELIGIBLE false NONE false true false Nike 1,788,246,000 1107386451952079 15087023444

Trusted by AI-native startups and enterprise data teams

Every Facebook Ad Library endpoint

One API key for all of them. Open one for a real response, every input and every field.

What teams build with Facebook Ad Library data

Call it from your code

One request shape for every Facebook Ad Library endpoint: the endpoint ID and its input. No SDK needed.

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.ad.search",  "input": {    "active": "active",    "limit": 5,    "query": "nike"  }}'
Response
{  "total_items": 5,  "items": [    {      "ad_archive_id": "925321173274919",      "ad_id": null,      "collation_count": 2,      "collation_id": "1022906600523558",      "contains_digital_created_media": false,      "contains_sensitive_content": false,      "currency": "",      "end_date": 1791183600,      "fev_info": null,      "gated_type": "ELIGIBLE",      "has_user_reported": false,      "hide_data_status": "NONE",      "is_aaa_eligible": false,      "is_active": true,      "page_id": "89516513179",      "page_is_deleted": false,      "page_name": "Nordstrom Rack",      "reach_estimate": null,      "report_count": null,      "spend": null,      "start_date": 1785740400,      "state_media_run_label": null,      "total_active_time": null,      "impressions_with_index": {        "impressions_index": -1,        "impressions_text": null      },      "regional_regulation_data": {        "finserv": {          "is_deemed_finserv": false,          "is_limited_delivery": false        },        "tw_anti_scam": {          "is_limited_delivery": false        }      },      "snapshot": {        "title": "Fast & Free Pickup",        "caption": "Nordstromrack.com",        "additional_info": null,        "branded_content": null,        "brazil_tax_id": null,        "byline": null,        "country_iso_code": null,        "cta_text": "Learn more",        "cta_type": "LEARN_MORE",        "disclaimer_label": null,        "display_format": "VIDEO",        "event": null,        "is_reshared": false,        "link_description": "Fast & Free Pickup",        "link_url": "https://fb.com/canvas_doc/1072291375736811",        "page_id": "89516513179",        "page_is_deleted": false,        "page_like_count": 2518817,        "page_name": "Nordstrom Rack",        "page_profile_uri": "https://www.facebook.com/NordstromRack/",        "root_reshared_post": null,        "body": {          "text": "Buy online and pick up in store for free! Get up to 70% off Nike, Vince, Madewell, adidas and more."        },        "cards": [],        "ec_certificates": [],        "extra_images": [],        "extra_links": [          "https://stores.nordstromrack.com/search"        ],        "extra_texts": [],        "extra_videos": [          {}        ],        "page_categories": [          "Clothing (Brand)"        ],        "videos": [          {            "watermarked_video_hd_url": null,            "watermarked_video_sd_url": null          }        ]      },      "categories": [        "UNKNOWN"      ],      "menu_items": [],      "publisher_platform": [        "FACEBOOK",        "INSTAGRAM"      ],      "targeted_or_reached_countries": []    },    {      "ad_archive_id": "2087470841874320",      "ad_id": null,      "collation_count": null,      "collation_id": null,      "contains_digital_created_media": false,      "contains_sensitive_content": false,      "currency": "",      "end_date": 1791183600,      "fev_info": null,      "gated_type": "ELIGIBLE",      "has_user_reported": false,      "hide_data_status": "NONE",      "is_aaa_eligible": false,      "is_active": true,      "page_id": "67997232685",      "page_is_deleted": false,      "page_name": "Foot Locker",      "reach_estimate": null,      "report_count": null,      "spend": null,      "start_date": 1784703600,      "state_media_run_label": null,      "total_active_time": null,      "impressions_with_index": {        "impressions_index": -1,        "impressions_text": null      },      "regional_regulation_data": {        "finserv": {          "is_deemed_finserv": false,          "is_limited_delivery": false        },        "tw_anti_scam": {          "is_limited_delivery": false        }      },      "snapshot": {        "title": "Shop New Styles",        "caption": "footlocker.com",        "additional_info": null,        "branded_content": null,        "brazil_tax_id": null,        "byline": null,        "country_iso_code": null,        "cta_text": "Shop now",        "cta_type": "SHOP_NOW",        "disclaimer_label": null,        "display_format": "DPA",        "event": null,        "is_reshared": false,        "link_description": null,        "link_url": "https://www.footlocker.com/category/new-arrivals.html",        "page_id": "67997232685",        "page_is_deleted": false,        "page_like_count": 6728674,        "page_name": "Foot Locker",        "page_profile_uri": "https://www.facebook.com/Footlocker/",        "root_reshared_post": null,        "body": {          "text": "Refresh your wardrobe with new styles from Nike, New Balance, adidas, and more."        },        "cards": [          {            "title": "Shop New Styles",            "body": "Refresh your wardrobe with new styles from Nike, New Balance, adidas, and more.",            "caption": "footlocker.com",            "cta_text": "Shop Now",            "cta_type": "SHOP_NOW",            "link_description": "Shop the latest selection of New Arrivals at Foot Locker. Find the hottest sneaker drops from brands like Jordan, Nike, Under Armour, New B…",            "link_url": "https://www.footlocker.com/product/~/00D2VSLV.html?cm_mmc=Social%20Network-_-Facebook-_--_-Conversion-_--_--_-p-_--_-Evergreen%20Dynamic-_-…",            "watermarked_resized_image_url": "",            "watermarked_video_hd_url": null,            "watermarked_video_sd_url": null,            "image_crops": []          },          {            "title": "Shop New Styles",            "body": "Refresh your wardrobe with new styles from Nike, New Balance, adidas, and more.",            "caption": "footlocker.com",            "cta_text": "Shop Now",            "cta_type": "SHOP_NOW",            "link_description": "Shop the latest selection of New Arrivals at Foot Locker. Find the hottest sneaker drops from brands like Jordan, Nike, Under Armour, New B…",            "link_url": "https://www.footlocker.com/product/~/00051791.html?cm_mmc=Social%20Network-_-Facebook-_--_-Conversion-_--_--_-p-_--_-Evergreen%20Dynamic-_-…",            "watermarked_resized_image_url": "",            "watermarked_video_hd_url": null,            "watermarked_video_sd_url": null,            "image_crops": []          }        ],        "ec_certificates": [],        "extra_images": [],        "extra_links": [],        "extra_texts": [],        "extra_videos": [],        "page_categories": [          "Shopping"        ],        "videos": []      },      "categories": [        "UNKNOWN"      ],      "menu_items": [],      "publisher_platform": [        "FACEBOOK",        "INSTAGRAM"      ],      "targeted_or_reached_countries": []    }  ]}

Use it from your AI agent instead

All Ad libraries scraper APIs

Questions about the Facebook Ad Library Scraper API

The short answers. The docs have the long ones.

Still have a question? Talk to the people who build the endpoints.
How is this different from Meta's Ad Library API?

Meta's API needs a verified developer account and mainly covers political and issue ads. Upscrape searches all public ads in the Ad Library with one API key.

Does it cover Instagram ads?

Yes. The Ad Library covers Facebook, Instagram, Messenger and the Audience Network, and you can filter by platform.

What happens when Facebook Ad Library changes its pages or blocks scrapers?

We fix the endpoint, not you. Every endpoint is tested with a real call every hour, your request and the response fields stay the same, and a call that fails costs nothing.

How fresh is the data?

Live. Every call reads Facebook Ad Library when you send it, so you get what a visitor sees at that moment.

How much does the Facebook Ad Library API cost?

Every Facebook Ad Library endpoint costs 10 credits per successful call. You buy credits once, with no subscription, and paid credits never expire. New accounts get free credits to try it.

What data can I get from Facebook Ad Library?

Ads search, advertiser ads, discover advertisers and ad detail. Each is its own endpoint with a published input schema, and the response is JSON.

Do I need a Facebook Ad Library account or login?

No. Upscrape reads the pages Facebook Ad Library shows to any visitor, so you send the input the endpoint asks for and get the data back. Nothing runs on your account, and you share no password or cookie.

Can an AI agent use the Facebook Ad Library API?

Yes. Connect any MCP client to the Upscrape MCP server with OAuth or an API key. The agent finds the Facebook Ad Library endpoint, checks its price and runs it with the same credits as the REST API.