Meta Ad LibraryMeta AdsAdvertising

Political and issue ads with spend — Meta ad library

meta-ad-library.meta-ads.library.political

Search political and issue ads and see who paid for them and roughly how much

Price
freeAt provider cost
Success rate
—No success-rate data yetNo success-rate data yet
Latency p50
——
Last verified
—Not verified yet
GEThttps://toolswitch.dev/v1/tools/meta-ad-library.meta-ads.library.politicalPreview
Try onlineComing soonProvider docs ↗
  • Uses platform quota
  • Synchronous response
  • Reads public data

Parameters

spend and impressions are RANGES — {"lower_bound":"100","upper_bound":"499"} — never point values, so totals across ads can only be reported as a range. demographic_distribution and delivery_by_region come back as percentage breakdowns that sum to ~1. Political ads stay in the library for seven years, unlike commercial ones

ParameterTypeRequiredDescriptionExample
Query parameters
limitintegerOptional25
fieldsstringRequiredthe disclosure fields only exist on this ad_typeid,page_name,bylines,currency,spend,impressions,demographic_distribution,delivery_by_region,ad_creative_bodies,ad_delivery_start_time,ad_delivery_stop_time
ad_typestringRequiredPOLITICAL_AND_ISSUE_ADS — this is what unlocks the spend/impressions/demographic fieldsPOLITICAL_AND_ISSUE_ADS
bylinesarrayOptionalJSON array of exact paid-for-by disclaimers; POLITICAL_AND_ISSUE_ADS only
search_termsstringOptionalclimate
delivery_by_regionarrayOptionalstate / province names; POLITICAL_AND_ISSUE_ADS only["California"]
ad_delivery_date_minstringOptionalYYYY-MM-DD
ad_reached_countriesarrayRequired["US"]
  • Query parameters
  • limitintegerOptional

    Example: 25

  • fieldsstringRequired

    the disclosure fields only exist on this ad_type

    Example: id,page_name,bylines,currency,spend,impressions,demographic_distribution,delivery_by_region,ad_creative_bodies,ad_delivery_start_time,ad_delivery_stop_time

  • ad_typestringRequired

    POLITICAL_AND_ISSUE_ADS — this is what unlocks the spend/impressions/demographic fields

    Example: POLITICAL_AND_ISSUE_ADS

  • bylinesarrayOptional

    JSON array of exact paid-for-by disclaimers; POLITICAL_AND_ISSUE_ADS only

  • search_termsstringOptional

    Example: climate

  • delivery_by_regionarrayOptional

    state / province names; POLITICAL_AND_ISSUE_ADS only

    Example: ["California"]

  • ad_delivery_date_minstringOptional

    YYYY-MM-DD

  • ad_reached_countriesarrayRequired

    Example: ["US"]

Code samples

Replace $TOOLSWITCH_KEY with the key you created in the console.

Preview
curl -X GET 'https://toolswitch.dev/v1/tools/meta-ad-library.meta-ads.library.political' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY"

This gateway API is in preview; its URL and authentication may change. The example parameters are sample data. Calls are billed at free, including the service fee.