Find advertisers
Retrieve public advertiser suggestions by name. Company-ad lookup by name requires one case-insensitive exact match; use pageId when names are ambiguous.
/v1/facebook/adLibrary/search/companiesx-api-keyHeaders
Get your API keyYour ScrapeAtlas customer key. Create one on /account/ and set SCRAPEATLAS_API_KEY.
Keyword or advertiser name.
min 1 chars · max 4096 chars
syntheticWhether usable public data was retrieved.
Query filter: ACTIVE (default), INACTIVE or ALL. Response: success, partial, failed or challenged.
one of: success, partial
Request correlation ID.
Canonical public library URL.
absolute HTTPS URL
UTC retrieval time.
Completeness of the bounded source result, with explicit auxiliary-data warnings.
Always included.
Always included.
Always included.
Upstream requests, decoded response bytes and elapsed milliseconds. Page 1 includes browser bootstrap traffic; a warm continuation is one GraphQL POST.
Always included.
0 – 100
Always included.
≥ 0
Always included.
≥ 0
Source ad records for keyword searches; advertiser suggestions for company search. ads is also retained as a service alias.
up to 100 items
Always included.
Always included.
No fields match.
HTTP 200 returns the success variant. Check status: partial means usable data with warnings, and failed or challenged requests carry a failure object described in Errors & responses.
| HTTP | failure.code | Meaning |
|---|---|---|
| 400 | invalid_request | Invalid, conflicting or unsupported parameters/cursor. |
| 401 | unauthorized | Missing or invalid x-api-key. |
| 403 | restricted_page | Source marks the ad restricted. |
| 404 | not_found | Explicitly absent ad or no exact company match. |
| 429 | upstream_rate_limited | Meta rate limit after at most two fresh proxy-session retries; direct egress is never retried on the same IP. |
| 502 | upstream_error upstream_challenged unsupported_page | Source failed, challenged, or returned unsupported data. |
| 502 | response_too_large request_limit payload_too_complex | An operation bound was exceeded. |
| 503 | busy | Both retrieval slots are occupied. |
| 504 | timeout | The operation deadline expired. |
| 503 | transcription_unavailable | Local speech runtime is not configured. |
| 502 | transcription_failed | Media decoding or speech recognition failed. |
| 422 | transcription_too_long | Video exceeds the 180-second speech limit. |