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/callAl precio del proveedor
Success rate
—Aún no hay datos de tasa de éxitoAún no hay datos de tasa de éxito
Latency p50
——
Last verified
20 oct 2026Verified working
GEThttps://toolswitch.dev/v1/tools/scrapecreators.x.v1-facebook-adlibrary-company-ads?pageId=367152833370567Preview
Try onlinePróximamenteProvider docs ↗
  • Uses platform quota
  • Synchronous response
  • Reads public data

Parámetros

ParámetroTipoObligatorioDescripciónEjemplo
Parámetros de consulta
trimbooleanoOpcionalSet to true for a trimmed down version of the responsefalse
cursorcadenaOpcionalCursor to paginate through resultsAQHRBUAxNmFlxBVMFL6uTb1ICFsV65O4SqmPbcVZJhiveBpPS1hFHAmL6yCJcF760cXP
pageIdcadenaOpcionalThe companies ad library page id. You can get this with my Search For Companies Endpoint. Can either use this or companyName367152833370567
statuscadenaOpcionalStatus of the ad. Defaults to ACTIVE.ACTIVE
countrycadenaOpcionalThis can only be one country. It has to be the 2 letter code for the country. It defaults to ALL.ALL
sort_bycadenaOpcionalSort by impressions (high to low), or Most Recent (relevancy_monthly_grouped). Defaults to impressions.total_impressions
end_datecadenaOpcionalEnd date to search for. Format: YYYY-MM-DD2025-12-31
languagecadenaOpcionalLanguage to filter ads on. Needs to be 2 letter language code, ie EN, ES, FR, etcEN
media_typecadenaOpcionalMedia type of the ad. Defaults to ALL. Meme refers to ads with image and text. Not sure why they call it meme.ALL
start_datecadenaOpcionalStart date to search for. Format: YYYY-MM-DD2025-01-01
companyNamecadenaOpcionalThe name of the company. Can either use this or pageIdLululemon
  • Parámetros de consulta
  • trimbooleanoOpcional

    Set to true for a trimmed down version of the response

    Ejemplo: false

  • cursorcadenaOpcional

    Cursor to paginate through results

    Ejemplo: AQHRBUAxNmFlxBVMFL6uTb1ICFsV65O4SqmPbcVZJhiveBpPS1hFHAmL6yCJcF760cXP

  • pageIdcadenaOpcional

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

    Ejemplo: 367152833370567

  • statuscadenaOpcional

    Status of the ad. Defaults to ACTIVE.

    Ejemplo: ACTIVE

  • countrycadenaOpcional

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

    Ejemplo: ALL

  • sort_bycadenaOpcional

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

    Ejemplo: total_impressions

  • end_datecadenaOpcional

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

    Ejemplo: 2025-12-31

  • languagecadenaOpcional

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

    Ejemplo: EN

  • media_typecadenaOpcional

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

    Ejemplo: ALL

  • start_datecadenaOpcional

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

    Ejemplo: 2025-01-01

  • companyNamecadenaOpcional

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

    Ejemplo: Lululemon

Ejemplos de código

Sustituye $TOOLSWITCH_KEY por la clave que creaste en la consola.

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

La API de la pasarela está en versión preliminar; su URL y autenticación pueden cambiar. Los parámetros del ejemplo son datos de muestra. Las llamadas se facturan a $0.00188/call, incluida la tarifa de servicio.