API para Facebook

API para Facebook: Detalhes do anúncio (versão completa)

Obtenha um anúncio da Biblioteca de Anúncios da Meta com o criativo: cada variante do carrossel, URLs de imagem e vídeo, título, corpo e call to action.

US$ 3,74/mil req., pague por requisição, sem assinatura.

fMeta Ad Library
facebook.com/ads/library/?id=1185617869915074
Meta
United StatesiAll adsTrailhead Outdoors

Trailhead Outdoors

Active · Sponsored

Built from 20D ripstop nylon, the Wren 2 tent weighs 2.1 lbs and sets up in under 90 seconds. Backed by our lifetime warranty.

photo

trailheadoutdoors.com

Free returns within 60 days. Ships in 2 to 3 business days.

Shop Now
Library ID: 1185617869915074FBIG

Ad details

Status
Active
Started running on
August 16, 2025
Library ID
1185617869915074
O que a API retornou
{
"adArchiveId": "1185617869915074",
"sourceUrl": "https://www.facebook.com/ads/library/?id=1185617869915074",
"pageId": "281940573310482",
"pageName": "Trailhead Outdoors",
"pageUrl": "https://www.facebook.com/trailheadoutdoors",
"pageImage": "https://scontent.fbcdn.net/trailhead-profile.jpg",
"active": true,
"startedUtc": 1755302400,
... 18 campos a mais
}
Disponibilidade
99,59%
30d · 727 chamadas
Requisições
727
30d · semanal, últimas 12 sem.
Resposta
8,1s
mediana · 30d

Preços

Preços do endpoint Detalhes do anúncio (versão completa) da API para Facebook

Você paga
US$ 37,40
US$ 3,74/mil req., só pelo que você usar. Sem plano mensal.
Suas primeiras 26 requisições são grátis com o saldo inicial de US$ 0,10.

Teste

Obtenha Detalhes do anúncio (versão completa) do Facebook em uma só requisição

Abrir em
Obter chave grátis
Resposta de exemplo
Execuções grátis retornam só os primeiros 3 resultados. Recarregue uma chave para receber a resposta completa.

Este exemplo mostra 25 de 44 campos. Ver todos os campos

{
  "found": true,
  "data": {
    "adArchiveId": "1185617869915074",
    "sourceUrl": "https://www.facebook.com/ads/library/?id=1185617869915074",
    "pageId": "281940573310482",
    "pageName": "Trailhead Outdoors",
    "pageUrl": "https://www.facebook.com/trailheadoutdoors",
    "pageImage": "https://scontent.fbcdn.net/trailhead-profile.jpg",
    "active": true,
    "startedUtc": 1755302400,
    "endedUtc": 1758758400,
    "displayFormat": "DCO",
    "title": "The 3 season tent that packs to a water bottle",
    "body": "Built from 20D ripstop nylon, the Wren 2 tent weighs 2.1 lbs and sets up in under 90 seconds. Backed by our lifetime warranty.",
    "caption": "trailheadoutdoors.com",
    "linkUrl": "https://trailheadoutdoors.com/products/wren-2-tent",
    "linkDescription": "Free returns within 60 days. Ships in 2 to 3 business days.",
    "ctaText": "Shop Now",
    "ctaType": "SHOP_NOW",
    "platforms": [
      "facebook",
      "instagram"
    ],
    "pageCategories": [
      "Product/service",
      "Outdoor recreation"
    ],
    "pageLikes": 22400,
    "isReshared": false,
    "pageDeleted": false,
    "categories": [
      "Uncategorized"
    ]
  }
}

Referência completa de parâmetros e resposta - todos os campos, tipos e exemplos deste endpoint.

Referência

Uma requisição, um formato de resposta.

Cada campo que você envia e cada campo que você recebe, cada um com um exemplo real.

Última verificação em 2026-11-14 · disponibilidade e latência medidas em 30d

Corpo da requisição

JSON, enviado via POST para este endpoint.

  • idstring

    1185617869915074

    ID do anúncio na Biblioteca de Anúncios da Meta, o ID numérico em uma URL da Biblioteca de Anúncios (ex.: "962050096457659" de https://www.facebook.com/ads/library/?id=962050096457659).

Você envia. Um corpo JSON pequeno. Os valores mostrados são exemplos para você trocar pelos seus.

Resposta

JSON, um valor de exemplo por campo.

datadata
  • activeboolean

    true

    Whether the ad is currently running.

  • adArchiveIdstring

    1185617869915074

    Ad Library archive ID (stable identity). Populated whenever the provider has data for the entity.

  • bodystring

    Built from 20D ripstop nylon, the Wren 2 tent weighs 2.1 lbs and sets up in under 90 seconds. Backed by our lifetime warranty.

    Ad body text. Populated whenever the provider has data for the entity.

  • captionstring

    trailheadoutdoors.com

    Display caption, usually the destination domain.

  • categoriesstring[]

    Ad Library categories the ad is filed under.

  • ctaTextstring

    Shop Now

    Call-to-action label (e.g. "Shop now").

  • ctaTypestring

    SHOP_NOW

    Call-to-action type (e.g. "SHOP_NOW").

  • displayFormatstring

    DCO

    Ad creative format (e.g. "DPA", "VIDEO", "IMAGE"). Populated whenever the provider has data for the entity.

  • endedUtcnumber

    1758758400

    Run end, or last-seen date while the ad is still running. UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.

  • isResharedboolean

    false

    Whether the ad creative is a reshare of another post.

  • linkDescriptionstring

    Free returns within 60 days. Ships in 2 to 3 business days.

    Secondary link description line.

  • linkUrlstring

    https://trailheadoutdoors.com/products/wren-2-tent

    Creative destination URL.

  • pageCategoriesstring[]

    Categories Facebook lists the advertising page under.

  • pageDeletedboolean

    false

    Whether the advertising page has been deleted.

  • pageIdstring

    281940573310482

    Advertiser page ID (stable identity). Populated whenever the provider has data for the entity.

  • pageImagestring

    https://scontent.fbcdn.net/trailhead-profile.jpg

    Advertiser page profile picture URL. Meta CDN URLs are signed and expire.

  • pageLikesinteger

    22400

    Like count of the advertising page.

  • pageNamestring

    Trailhead Outdoors

    Advertiser page name. Populated whenever the provider has data for the entity.

  • pageUrlstring

    https://www.facebook.com/trailheadoutdoors

    Advertiser page URL.

  • platformsstring[]

    Publisher platforms the ad runs on.

  • sourceUrlstring

    https://www.facebook.com/ads/library/?id=1185617869915074

    Inspectable Meta Ad Library URL for this ad. Populated whenever the provider has data for the entity.

  • startedUtcnumber

    1755302400

    Run start. UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.

  • titlestring

    The 3 season tent that packs to a water bottle

    Creative headline. Dynamic-product ads return a template such as "{{product.name}}".

each creativedata.creatives[]

One entry per creative variant of a carousel or dynamic ad, in the order Meta returns them. Single-creative ads return an empty array and carry their media in images/videos. Meta CDN media URLs are signed and expire, so fetch what you need at read time.

  • bodystring

    Variant body text.

  • captionstring

    Variant display caption.

  • ctaTextstring

    Variant call-to-action label.

  • ctaTypestring

    Variant call-to-action type.

  • imagestring

    Original creative image URL.

  • imageResizedstring

    Resized creative image URL.

  • linkDescriptionstring

    Variant secondary description.

  • linkUrlstring

    Variant destination URL.

  • titlestring

    Variant headline.

  • videoPreviewImagestring

    Poster frame for the creative video.

  • videoUrlstring

    Creative video URL (HD when supplied, otherwise SD).

each imagedata.images[]

Standalone creative images for a single-image ad. Meta CDN media URLs are signed and expire.

  • imagestring

    Original creative image URL.

  • imageResizedstring

    Resized creative image URL.

each videodata.videos[]

Standalone creative videos for a single-video ad. Meta CDN media URLs are signed and expire.

  • videoPreviewImagestring

    Poster frame for the creative video.

  • videoUrlstring

    Creative video URL (HD when supplied, otherwise SD).

top level
  • foundboolean

    true

  • reason"not_found"

    Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.

Você recebe. Campos nomeados e tipados, no mesmo formato, seja qual for a fonte que responder.

Dúvidas frequentes

Sobre o endpoint Detalhes do anúncio (versão completa) da API para Facebook

O endpoint Detalhes do anúncio (versão completa) da AnyAPI para Facebook retorna dados de Facebook em JSON normalizado com uma chamada POST para /v1/run/facebook.ad_details_full. Obtenha um anúncio da Biblioteca de Anúncios da Meta com o criativo: cada variante do carrossel, URLs de imagem e vídeo, título, corpo e call to action. A AnyAPI retorna um schema normalizado, seja qual for a fonte que atende. Custa a partir de US$ 3,74 por mil requisições, em dólares, sem assinatura e sem mínimo mensal. Nos últimos 30 dias, 99,6% das chamadas ao endpoint Detalhes do anúncio (versão completa) da API para Facebook feitas pela AnyAPI tiveram sucesso, com tempo de resposta mediano de 8,1 segundos, em 727 chamadas medidas.

Custa a partir de US$ 3,74 por mil requisições, em dólares, sem assinatura e sem mínimo mensal. Você recarrega uma carteira em dólares e cada chamada desconta dela. Algumas requisições pagas pela carteira que falham geram cobranças de processamento, que repassamos pelo custo, sem margem; a resposta de erro mostra o valor cobrado.

Obtenha um anúncio da Biblioteca de Anúncios da Meta com o criativo: cada variante do carrossel, URLs de imagem e vídeo, título, corpo e call to action. A resposta é JSON normalizado, com o mesmo envelope que todo endpoint da AnyAPI retorna, então processar um segundo endpoint é só trocar a URL, e nada mais.

Nos últimos 30 dias, 99,6% das chamadas ao endpoint Detalhes do anúncio (versão completa) da API para Facebook feitas pela AnyAPI tiveram sucesso, com tempo de resposta mediano de 8,1 segundos, em 727 chamadas medidas. Estas são medições da própria AnyAPI sobre o tráfego que passa pelo gateway, recalculadas continuamente, e não uma meta de nível de serviço publicada.

Sim. Uma conta nova da AnyAPI começa com US$ 0,10 de saldo grátis, sem cartão, o que cobre 26 chamadas de Detalhes do anúncio (versão completa) do Facebook a US$ 0,00374 cada.

Envie uma requisição POST para https://api.getanyapi.com/v1/run/facebook.ad_details_full com sua chave da AnyAPI em um cabeçalho "Authorization: Bearer" e a entrada como corpo JSON. A mesma chave e a mesma carteira funcionam em todos os endpoints da AnyAPI.

Não. Você adiciona dólares a um único saldo pré-pago da AnyAPI e cada requisição desconta dele. Não há plano mensal nem mínimo, e o mesmo saldo paga todos os endpoints da AnyAPI.

Sim. Instale @getanyapi/sdk pelo npm para TypeScript ou getanyapi pelo pip para Python. Os dois chamam todos os endpoints da AnyAPI com a mesma chave, e qualquer cliente HTTP também funciona.

Sim. Um agente pode se conectar ao servidor MCP da AnyAPI em https://api.getanyapi.com/mcp, ou criar a própria chave de teste grátis com um único POST sem autenticação para https://api.getanyapi.com/agent/signup e chamar este endpoint por HTTP.