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/callPelo preço do provedor
Success rate
—Ainda não há dados da taxa de sucessoAinda não há dados da taxa de sucesso
Latency p50
——
Last verified
20 de out. de 2026Verified working
GEThttps://toolswitch.dev/v1/tools/scrapecreators.x.v1-facebook-adlibrary-company-ads?pageId=367152833370567Preview
Try onlineEm breveProvider docs ↗
  • Uses platform quota
  • Synchronous response
  • Reads public data

Parâmetros

ParâmetroTipoObrigatórioDescriçãoExemplo
Parâmetros de consulta
trimbooleanoOpcionalSet to true for a trimmed down version of the responsefalse
cursorstringOpcionalCursor to paginate through resultsAQHRBUAxNmFlxBVMFL6uTb1ICFsV65O4SqmPbcVZJhiveBpPS1hFHAmL6yCJcF760cXP
pageIdstringOpcionalThe companies ad library page id. You can get this with my Search For Companies Endpoint. Can either use this or companyName367152833370567
statusstringOpcionalStatus of the ad. Defaults to ACTIVE.ACTIVE
countrystringOpcionalThis can only be one country. It has to be the 2 letter code for the country. It defaults to ALL.ALL
sort_bystringOpcionalSort by impressions (high to low), or Most Recent (relevancy_monthly_grouped). Defaults to impressions.total_impressions
end_datestringOpcionalEnd date to search for. Format: YYYY-MM-DD2025-12-31
languagestringOpcionalLanguage to filter ads on. Needs to be 2 letter language code, ie EN, ES, FR, etcEN
media_typestringOpcionalMedia type of the ad. Defaults to ALL. Meme refers to ads with image and text. Not sure why they call it meme.ALL
start_datestringOpcionalStart date to search for. Format: YYYY-MM-DD2025-01-01
companyNamestringOpcionalThe 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

    Exemplo: false

  • cursorstringOpcional

    Cursor to paginate through results

    Exemplo: AQHRBUAxNmFlxBVMFL6uTb1ICFsV65O4SqmPbcVZJhiveBpPS1hFHAmL6yCJcF760cXP

  • pageIdstringOpcional

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

    Exemplo: 367152833370567

  • statusstringOpcional

    Status of the ad. Defaults to ACTIVE.

    Exemplo: ACTIVE

  • countrystringOpcional

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

    Exemplo: ALL

  • sort_bystringOpcional

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

    Exemplo: total_impressions

  • end_datestringOpcional

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

    Exemplo: 2025-12-31

  • languagestringOpcional

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

    Exemplo: EN

  • media_typestringOpcional

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

    Exemplo: ALL

  • start_datestringOpcional

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

    Exemplo: 2025-01-01

  • companyNamestringOpcional

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

    Exemplo: Lululemon

Exemplos de código

Substitua $TOOLSWITCH_KEY pela chave criada no 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"

Esta API de gateway está em prévia; a URL e a autenticação podem mudar. Os parâmetros do exemplo são dados de amostra. As chamadas são cobradas a $0.00188/call, incluindo a taxa de serviço.