Facebook Ads Library Scraper
facebook-ads-librarySearch the Facebook Ad Library by keyword or advertiser Page ID: ad text, images, videos, CTA, run dates and platforms. No login, no browser. Costs 1 credit per result; failed items are free.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"searches": "<searches>"
},
"name": "facebook-ads-library"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| searches | Yes | One entry per keyword or advertiser. Each returns the first page of matching ads (see totalMatchingAds/hasMoreResults). | |
| maxResults | No | Stop after this many ads in total. Empty: all ads from all searches. |