Search Facebook Ad Library: pay per use, no API key
Use Apify from Claude, Claude Code, Cursor, ChatGPT, and other agents through one Cralo balance.
Search public Meta Ad Library ads by keyword using Apify. Price is per ad (quoted from `limit`, max 1000).
Price and execution
- Price
- $0.00075 / ad
- Pricing model
- Per ad, billed on success
- Execution class
- queued
Limits
No additional limits are published for this tool.
Parameters
Fields apify.facebook-ads accepts as JSON input.
urlstring (uri)OptionalOptional Ad Library or Page URL. If omitted, the tool builds one from `query` and `country`.
limitintegerOptionalMaximum number of records to return (1 to 1000, default 10). Quoted price scales with this limit.
querystringRequiredAdvertiser or keyword to search in the Meta Ad Library, such as `openai`.
countrystringOptionalTwo-letter country code for the Ad Library search.
Raw input JSON Schema
{
"type": "object",
"required": [
"query"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"pattern": "^https://(www\\.)?facebook\\.com/",
"description": "Optional Ad Library or Page URL. If omitted, the tool builds one from `query` and `country`."
},
"limit": {
"type": "integer",
"default": 10,
"maximum": 1000,
"minimum": 1,
"description": "Maximum number of records to return (1 to 1000, default 10). Quoted price scales with this limit."
},
"query": {
"type": "string",
"maxLength": 300,
"minLength": 1,
"description": "Advertiser or keyword to search in the Meta Ad Library, such as `openai`."
},
"country": {
"type": "string",
"default": "US",
"pattern": "^[A-Za-z]{2}quot;,
"description": "Two-letter country code for the Ad Library search."
}
},
"additionalProperties": false
}Returns
Fields a successful apify.facebook-ads call returns.
countintegerRequiredresultsarrayRequiredretrieved_atstring (date-time)Requiredprovider_request_idstring | nullRequired
Raw output JSON Schema
{
"type": "object",
"required": [
"results",
"count",
"provider_request_id",
"retrieved_at"
],
"properties": {
"count": {
"type": "integer",
"minimum": 0
},
"results": {
"type": "array",
"maxItems": 1000
},
"retrieved_at": {
"type": "string",
"format": "date-time"
},
"provider_request_id": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}Run this tool
Copy this instruction to your agent to set up Cralo and call this tool with the example input.
Set up Cralo by following https://cralo.ai/SKILL.md, then call the apify.facebook-ads tool with this input: {"query":"openai","country":"US","limit":1}Safety notes
- Side Effect
- read_only
- Public Sources Only
- Yes
- Authenticated Content
- No
How this compares to using Apify directly
You do not need a separate Apify account or subscription for this call. Cralo uses one prepaid balance across all tools and shows the per-call price before you run the command.
Related tools
[Browse all tools]- $0.004 / postGet Facebook group postsFetch public posts from a public Facebook group using Apify. Price is per post (quoted from `limit`, max 1000).Apify
apify.facebook-groups - $0.006 / postGet Facebook Page postsFetch public posts from a Facebook Page using Apify. Price is per post (quoted from `limit`, max 1000).Apify
apify.facebook-posts - $0.002 / reviewGet Facebook Page reviewsFetch public reviews from a Facebook Page using Apify. Price is per review (quoted from `limit`, max 1000).Apify
apify.facebook-reviews - $0.0082 / pageScrape a Facebook PageFetch public Facebook Page metadata using Apify. Price is per page.Apify
apify.facebook-pages - $0.01 / eventSearch Facebook eventsSearch public Facebook events by topic or place using Apify. Price is per event (quoted from `limit`, max 1000).Apify
apify.facebook-events