Search archived Meta ads by keyword, Page, country, date, platform and ad type.
GET/{version}/ads_archive
- Takes: Name
- Passive: the target is not contacted
Read only. political and issue ads (ad_type POLITICAL_AND_ISSUE_ADS) accept extra filters (bylines, delivery_by_region, estimated audience size) and return spend, impressions and audience fields. Reach and targeting fields exist only for UK and EU ads or Brazil political ads.
Path parameters
versionGraph API version
Query parameters
ad_typeKind of ads to search
search_termsSearch text, up to 100 characters
search_typeHow search_terms is matched
search_page_idsUp to 10 Page IDs
ad_reached_countriesISO country codes, or ALL
ad_active_statusWhich ads to return by delivery status
ad_delivery_date_minEarliest delivery date, YYYY-mm-dd, inclusive
ad_delivery_date_maxLatest delivery date, YYYY-mm-dd, inclusive
media_typeMedia type of the ad
languagesISO 639-1 codes, plus CMN and YUE
fieldsComma-separated ArchivedAd fields to return
Response fields · 13ShowHide
id
Library ID of the ad
page_id
ID of the Facebook Page that ran the ad
page_name
Name of the Page that ran the ad
ad_creation_time
UTC time the ad was created
ad_delivery_start_time
UTC time delivery starts
ad_delivery_stop_time
UTC time delivery stops; blank means until stopped
ad_creative_bodies[]
Text on each unique ad card
ad_creative_link_titles[]
Link titles on each ad card
ad_snapshot_url
URL that shows the archived ad
languages[]
Languages in the ad, ISO 639-1
publisher_platforms[]
Where the ad appeared, such as Facebook or Instagram
bylines
Funding entity; political and issue ads only
paging
Pagination information
curl 'https://graph.facebook.com/v24.0/ads_archive?ad_type=ALL&access_token=YOUR_API_KEY'{
"data": [
{
"id": "1000000000000001",
"page_id": "1000000000000",
"page_name": "Example Brand",
"ad_creation_time": "2026-01-02",
"ad_delivery_start_time": "2026-01-03",
"ad_creative_bodies": [
"Example ad text"
],
"ad_snapshot_url": "https://example.com/ad-snapshot",
"languages": [
"en"
],
"publisher_platforms": [
"facebook",
"instagram"
]
}
],
"paging": {
"cursors": {
"after": "CURSOR_VALUE"
}
}
}