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

Nike ads with shop product data, 5 ads

Ads enriched with linked e-commerce product info.

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/nike
Ads per URLresultsLimit
5
Total count onlyonlyTotal
No
Page transparencyincludeAboutPage
No
Ad detail viewisDetailsPerAd
No
Product pagesenrichWithEcommerceData
Yes
.json
{
  "startUrls": [
    {
      "url": "https://www.facebook.com/nike"
    }
  ],
  "resultsLimit": 5,
  "enrichWithEcommerceData": true,
  "activeStatus": "",
  "sorting": "",
  "onlyTotal": false,
  "includeAboutPage": false,
  "isDetailsPerAd": false
}

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.