Ads a Facebook page is running (Meta Ad Library)
Active and recent ads for a Facebook page from the Meta Ad Library, including creative text, CTA, format, dates, and the raw ad nodes in data. Identify the page by numeric page_id, by page slug, or by page url — slugs/URLs are resolved to the page id internally at no extra credit cost. total_count reports the full Ad Library count even when fewer ads are fetched.
Provide exactly one of: page_id, slug, url.
Credits: 2 (refunded on failure).
Request
- Base URL: https://scrapewhale.dev
- URL: https://scrapewhale.dev/api/v1/ads/meta
- Auth: one of:
- HTTP bearer
- API key in header x-api-key
Query parameters
Numeric Facebook page id (fastest — skips resolution).
Facebook page slug, e.g. nike for facebook.com/nike.
Full Facebook page URL.
Pages of 30 ads to fetch (1–10, default 3).
Response shape: "json" (structured data only), "markdown" (markdown only), or "both".
Response
Success.
Changes
No recorded changes to this operation across all 1 revision of this API.