Start the "Facebook Ads Library Scraper" Apify actor (apify/facebook-ads-scraper)
Start the "Facebook Ads Library Scraper" Apify actor (apify/facebook-ads-scraper). Extract advertising data from Facebook, Instagram, WhatsApp, Threads, Messenger. Get ad details, publishers, prices, reach estimates, impressions, links, image…
10000 (raw units)
price
1
calls / 30d
1
unique payers
2026-09-16
updated
Provider
stableapify.dev · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x23d931f95831cee50b5f5edf4d0e88270f6c8411",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "10000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"body": {},
"bodyType": "json",
"method": "POST",
"type": "http"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"input": {
"additionalProperties": {},
"description": "Normalized actor input. See field descriptions for the simplified shape; native Apify input also accepted (passed through).",
"properties": {
"activeStatus": {
"default": "",
"description": "Select active status for ads",
"enum": [
"",
"active",
"inactive"
],
"type": "string"
},
"includeAboutPage": {
"description": "If checked, the scraper will extract the about page information for all unique pages or urls.",
"type": "boolean"
},
"isDetailsPerAd": {
"description": "If checked, you will scrape extra audience details scraped for each ad.",
"type": "boolean"
},
"onlyTotal": {
"description": "If checked, you will scrape only the total count of ads. The output will be saved as a single dataset item per page.",
"type": "boolean"
},
"resultsLimit": {
"description": "⚠️ If you leave this field empty, you will get as many results as possible.",
"maximum": 9007199254740991,
"minimum": 1,
"type": "integer"
},
"startUrls": {
"description": "Add a URL of a Facebook Page or brand URL from Meta Ad Library. You can add multiple URLs using the Bulk edit option.",
"items": {
"additionalProperties": false,
"properties": {
"headers": {
"additionalProperties": {
"type": "string"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"method": {
"type": "string"
},
"payload": {
"type": "string"
},
"url": {
"format": "uri",
"type": "string"
},
"userData": {
"additionalProperties": {},
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"url"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"startUrls",
"activeStatus"
],
"type": "object"
},
"options": {
"additionalProperties": false,
"description": "Optional Apify run options.",
"properties": {
"build": {
"maxLength": 100,
"minLength": 1,
"type": "string"
},
"maxItems": {
"maximum": 100000,
"minimum": 1,
"type": "integer"
},
"memory": {
"maximum": 32768,
"minimum": 128,
"type": "integer"
}
},
"type": "object"
}
},
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://stableapify.dev/api/actors/apify/facebook-ads-scraper/call" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://stableapify.dev/api/actors/apify/facebook-ads-scraper/call");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://stableapify.dev/api/actors/apify/facebook-ads-scraper/call")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/6684.json, and this resource appears in /discovery/resources and /discovery/search.