ScrapeCreatorsMeta AdsAdvertising

Facebook ad library company ads by page id or name

scrapecreators.x.v1-facebook-adlibrary-company-ads

Fetches all ads currently running for a specific company from the Meta Ad Library.

Price
$0.00188/callAu prix du fournisseur
Success rate
—Aucune donnée de taux de réussite pour le momentAucune donnée de taux de réussite pour le moment
Latency p50
——
Last verified
20 oct. 2026Verified working
GEThttps://toolswitch.dev/v1/tools/scrapecreators.x.v1-facebook-adlibrary-company-ads?pageId=367152833370567Preview
Try onlineBientôtProvider docs ↗
  • Uses platform quota
  • Synchronous response
  • Reads public data

Paramètres

ParamètreTypeObligatoireDescriptionExemple
Paramètres de requête
trimbooléenFacultatifSet to true for a trimmed down version of the responsefalse
cursorchaîneFacultatifCursor to paginate through resultsAQHRBUAxNmFlxBVMFL6uTb1ICFsV65O4SqmPbcVZJhiveBpPS1hFHAmL6yCJcF760cXP
pageIdchaîneFacultatifThe companies ad library page id. You can get this with my Search For Companies Endpoint. Can either use this or companyName367152833370567
statuschaîneFacultatifStatus of the ad. Defaults to ACTIVE.ACTIVE
countrychaîneFacultatifThis can only be one country. It has to be the 2 letter code for the country. It defaults to ALL.ALL
sort_bychaîneFacultatifSort by impressions (high to low), or Most Recent (relevancy_monthly_grouped). Defaults to impressions.total_impressions
end_datechaîneFacultatifEnd date to search for. Format: YYYY-MM-DD2025-12-31
languagechaîneFacultatifLanguage to filter ads on. Needs to be 2 letter language code, ie EN, ES, FR, etcEN
media_typechaîneFacultatifMedia type of the ad. Defaults to ALL. Meme refers to ads with image and text. Not sure why they call it meme.ALL
start_datechaîneFacultatifStart date to search for. Format: YYYY-MM-DD2025-01-01
companyNamechaîneFacultatifThe name of the company. Can either use this or pageIdLululemon
  • Paramètres de requête
  • trimbooléenFacultatif

    Set to true for a trimmed down version of the response

    Exemple : false

  • cursorchaîneFacultatif

    Cursor to paginate through results

    Exemple : AQHRBUAxNmFlxBVMFL6uTb1ICFsV65O4SqmPbcVZJhiveBpPS1hFHAmL6yCJcF760cXP

  • pageIdchaîneFacultatif

    The companies ad library page id. You can get this with my Search For Companies Endpoint. Can either use this or companyName

    Exemple : 367152833370567

  • statuschaîneFacultatif

    Status of the ad. Defaults to ACTIVE.

    Exemple : ACTIVE

  • countrychaîneFacultatif

    This can only be one country. It has to be the 2 letter code for the country. It defaults to ALL.

    Exemple : ALL

  • sort_bychaîneFacultatif

    Sort by impressions (high to low), or Most Recent (relevancy_monthly_grouped). Defaults to impressions.

    Exemple : total_impressions

  • end_datechaîneFacultatif

    End date to search for. Format: YYYY-MM-DD

    Exemple : 2025-12-31

  • languagechaîneFacultatif

    Language to filter ads on. Needs to be 2 letter language code, ie EN, ES, FR, etc

    Exemple : EN

  • media_typechaîneFacultatif

    Media type of the ad. Defaults to ALL. Meme refers to ads with image and text. Not sure why they call it meme.

    Exemple : ALL

  • start_datechaîneFacultatif

    Start date to search for. Format: YYYY-MM-DD

    Exemple : 2025-01-01

  • companyNamechaîneFacultatif

    The name of the company. Can either use this or pageId

    Exemple : Lululemon

Exemples de code

Remplacez $TOOLSWITCH_KEY par la clé créée dans la console.

Preview
curl -X GET 'https://toolswitch.dev/v1/tools/scrapecreators.x.v1-facebook-adlibrary-company-ads?pageId=367152833370567' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY"

Cette API de passerelle est en préversion ; son URL et son authentification peuvent changer. Les paramètres de l’exemple sont des données fictives. Les appels sont facturés à $0.00188/call, frais de service inclus.