Every ad of one advertiser (Facebook Page) in the Meta Ad Library, 30 a page, filterable.
Page id, Page URL or vanity name.
Advertiser name, when you don’t have the Page.
ISO 3166-1 alpha-2 country the ads reached (US, GB, DE…), or ALL (default).
active (default), inactive, or all.
all (default), image, video, meme (image with text), image_and_meme, none (text only).
all (default), or one of Meta’s special ad categories: political_and_issue_ads, housing, employment, credit, financial.
total_impressions (default, high to low), relevancy_monthly_grouped (most recent), or total_active_time (longest-running first, within each page of 30).
Comma-separated ISO 639-1 languages of the ad text (en,es).
Comma-separated placements: facebook, instagram, audience_network, messenger, whatsapp, threads, oculus.
YYYY-MM-DD: only ads delivered on or after this day.
YYYY-MM-DD: only ads delivered on or before this day.
The previous page’s
page_info.end_cursor; keep the other filters the same.GET https://api.groundsocial.dev/v1/facebook/ads/company
curl "https://api.groundsocial.dev/v1/facebook/ads/company" \
-H "Authorization: Bearer $GROUNDSOCIAL_API_KEY"Response
Quiet in here. Press Send and the response shows up live. Without a key the API answers 401 with how to get one.