Skip to content
//Facebook Ads Library Scraper example\\

Active US ads for running shoes, 10 ads

Ads from an Ad Library keyword search.

Updated October 21, 2026

Input

The input this example runs Facebook Ads Library Scraper with. “Try this input” opens it in the console, where you can run it as-is or change any field first.

Page or ad library URLsstartUrls
https://www.facebook.com/ads/library/?active_status=active&ad_type=all&country=US&q=running%20shoes&search_type=keyword_unordered&media_type=all
Ads per URLresultsLimit
10
.json
{
  "startUrls": [
    {
      "url": "https://www.facebook.com/ads/library/?active_status=active&ad_type=all&country=US&q=running%20shoes&search_type=keyword_unordered&media_type=all"
    }
  ],
  "resultsLimit": 10
}

The internet is full of data.
Start owning yours.

Scrape.ly gives you the infrastructure, the tooling, and the team to extract, process, and operationalize web data at any scale. Setup takes minutes. The advantage lasts forever.

No credit card. No setup calls.