API di Facebook

Facebook Dettagli dell'annuncio API

Cerca un singolo annuncio della Meta Ad Library tramite ID o URL e ottieni inserzionista, testo creativo, call-to-action, piattaforme e date di esecuzione come JSON pulito.

1,20 USD/1k richieste, paghi a richiesta, nessun abbonamento.

fMeta Ad Library
facebook.com/ads/library/?id=962050096457659
Meta
United StatesiAll adsSolace Sleep

Solace Sleep

Active · Sponsored

Fall asleep 40% faster with the Solace weighted blanket. Engineered with glass microbeads for even pressure all night. Ships free, try it for 100 nights.

video

solacesleepco.com

Free shipping. 100 night trial. Financing available.

Shop Now
Library ID: 962050096457659FBIGMSG

Ad details

Status
Active
Started running on
September 15, 2025
Platforms
facebook, instagram, messenger
Library ID
962050096457659
Cosa ha restituito l'API
{
"adArchiveId": "962050096457659",
"sourceUrl": "https://www.facebook.com/ads/library/?id=962050096457659",
"pageId": "104882733481920",
"pageName": "Solace Sleep",
"active": true,
"startDate": 1757894400,
"endDate": null,
"currency": "USD",
... 17 campi in più
}
Disponibilità
99,03%
30d · 9197 chiamate
Richieste
9202
30 g · settimanale, ultime 12 sett.
Risposta
0,7s
mediana · 30d

Prezzi e provider

Prezzi dell'API Facebook Dettagli dell'annuncio: una sola API, 2 provider intercambiabili

Serve per primo il provider più economico. Se fallisce, subentra il successivo nella stessa chiamata.

Paghi
12,00 USD
1,20 USD/1k richieste, solo per ciò che usi. Nessun piano mensile.
Le tue prime 83 richieste sono gratuite con il saldo iniziale di 0,10 USD.

Provalo

Ottieni Facebook Dettagli dell'annuncio in una sola richiesta

Apri in
Risposta di esempio
Le esecuzioni gratuite restituiscono solo i primi 3 risultati. Ricarica una chiave per ottenere la risposta completa.

Questo esempio mostra 25 campi su 42. Vedi tutti i campi

{
  "found": true,
  "data": {
    "adArchiveId": "962050096457659",
    "sourceUrl": "https://www.facebook.com/ads/library/?id=962050096457659",
    "pageId": "104882733481920",
    "pageName": "Solace Sleep",
    "active": true,
    "startDate": 1757894400,
    "endDate": null,
    "currency": "USD",
    "text": "Fall asleep 40% faster with the Solace weighted blanket. Engineered with glass microbeads for even pressure all night. Ships free, try it for 100 nights.",
    "title": "The blanket that ends 2am scrolling",
    "ctaText": "Shop Now",
    "linkUrl": "https://solacesleepco.com/weighted-blanket?utm_source=fb",
    "displayFormat": "VIDEO",
    "platforms": [
      "facebook",
      "instagram",
      "messenger"
    ],
    "pageProfilePicture": "https://scontent.fbcdn.net/solace-profile.jpg",
    "caption": "solacesleepco.com",
    "linkDescription": "Free shipping. 100 night trial. Financing available.",
    "pageUrl": "https://www.facebook.com/solacesleepco",
    "pageCategories": [
      "Product/service",
      "Home decor"
    ],
    "pageLikes": 48200,
    "isReshared": false,
    "pageDeleted": false,
    "categories": [
      "Uncategorized"
    ]
  }
}

Riferimento completo di parametri e risposta - ogni campo, tipo ed esempio per questo endpoint.

Riferimento

Una richiesta, una sola forma di risposta.

Ogni campo che invii e ogni campo che ricevi, ciascuno con un esempio reale.

Ultima verifica 2026-11-21 · disponibilità e latenza misurate su 30d

Corpo della richiesta

JSON, inviato a questo endpoint.

  • idstring

    962050096457659

    ID dell'annuncio della Meta Ad Library (es. "702369045530963"). Fornisci id oppure url.

  • urlstring

    URL dell'annuncio della Meta Ad Library (es. "https://www.facebook.com/ads/library?id=1185617869915074"). Fornisci id oppure url.

Tu invii. Un piccolo corpo JSON. I valori mostrati sono esempi da sostituire con i tuoi.

Risposta

JSON, un valore di esempio per campo.

datadata
  • activeboolean

    true

    Whether the ad is currently running.

  • adArchiveIdstring

    962050096457659

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

  • captionstring

    solacesleepco.com

    Caption line of the ad creative, usually the advertiser's display domain.

  • categoriesstring[]

    Ad Library categories the ad is filed under.

  • ctaTextstring

    Shop Now

    Call-to-action label. Populated whenever the provider has data for the entity.

  • currencystring

    USD

    Spend currency, may be empty.

  • displayFormatstring

    VIDEO

    Ad creative format. Populated whenever the provider has data for the entity.

  • endDateinteger

    null

    Run end, epoch seconds.

  • isResharedboolean

    false

    Whether the ad creative is a reshare of another post.

  • linkDescriptionstring

    Free shipping. 100 night trial. Financing available.

    Description text shown under the ad's link.

  • linkUrlstring

    https://solacesleepco.com/weighted-blanket?utm_source=fb

    Creative destination URL. Populated whenever the provider has data for the entity.

  • pageCategoriesstring[]

    Categories Facebook lists the advertising page under.

  • pageDeletedboolean

    false

    Whether the advertising page has been deleted.

  • pageIdstring

    104882733481920

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

  • pageLikesinteger

    48200

    Like count of the advertising page.

  • pageNamestring

    Solace Sleep

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

  • pageProfilePicturestring

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

    Profile picture of the advertising page. This is the advertiser's identity image, not ad creative.

  • pageUrlstring

    https://www.facebook.com/solacesleepco

    Canonical Facebook URL of the advertising page.

  • platformsstring[]

    Publisher platforms the ad runs on. Populated whenever the provider has data for the entity.

  • sourceUrlstring

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

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

  • startDateinteger

    1757894400

    Run start, epoch seconds. Populated whenever the provider has data for the entity.

  • textstring

    Fall asleep 40% faster with the Solace weighted blanket. Engineered with glass microbeads for even pressure all night. Ships free, try it for 100 nights.

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

  • titlestring

    The blanket that ends 2am scrolling

    Creative title. Populated whenever the provider has data for the entity.

each creativedata.creatives[]

One entry per card of a carousel, dynamic-product, or dynamic-creative ad, in the order Meta returns them, each with its own text and destination. Single-creative ads return an empty array. The same card images and videos also appear in media. Meta CDN media URLs are signed and expire.

  • bodystring

    Card body text.

  • captionstring

    Card display caption, usually the destination domain.

  • ctaTextstring

    Card call-to-action label (e.g. "Shop Now").

  • ctaTypestring

    Card call-to-action type (e.g. "SHOP_NOW").

  • imagestring

    Card image URL. For a video card this is the poster frame.

  • linkDescriptionstring

    Card secondary description line.

  • linkUrlstring

    Card destination URL.

  • titlestring

    Card headline.

  • videoUrlstring

    Card video file URL (HD when supplied, otherwise SD). Present only on video cards.

each mediadata.media[]

Creative attached to the ad: one element per image, video, or carousel card, in the order the ad presents them. Empty when the ad has none.

  • heightinteger

    Pixel height of the media item, when the lane reports it.

  • typestring

    One of photo, video, or gif.

  • urlstring

    Image URL. For a video or GIF this is the poster/thumbnail frame.

  • videoUrlstring

    Playable video file URL. Present only for video and gif items.

  • widthinteger

    Pixel width of the media item, when the lane reports it.

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.

Tu ricevi. Campi con nome e tipo nella stessa struttura, qualunque fonte risponda.

FAQ

Sull'API Facebook Dettagli dell'annuncio

L'API Facebook Dettagli dell'annuncio di AnyAPI restituisce dati Facebook come JSON normalizzato da una sola chiamata POST a /v1/run/facebook.ad_details. Cerca un singolo annuncio della Meta Ad Library tramite ID o URL e ottieni inserzionista, testo creativo, call-to-action, piattaforme e date di esecuzione come JSON pulito. AnyAPI instrada ogni richiesta su 2 fonti e passa automaticamente a un'altra quando una fallisce. Costa da 1,20 USD ogni 1.000 richieste, in dollari statunitensi, senza abbonamento e senza minimo mensile. Negli ultimi 30 giorni, il 99,0% delle chiamate Facebook Dettagli dell'annuncio tramite AnyAPI è riuscito, con un tempo di risposta mediano di 0,7 secondi su 9197 chiamate misurate.

Costa da 1,20 USD ogni 1.000 richieste, in dollari statunitensi, senza abbonamento e senza minimo mensile. Ricarichi un portafoglio in USD e ogni chiamata lo scala. Alcune richieste fallite finanziate dal portafoglio comportano costi di elaborazione che trasferiamo al costo, senza ricarico; la risposta di errore mostra l'importo addebitato.

Cerca un singolo annuncio della Meta Ad Library tramite ID o URL e ottieni inserzionista, testo creativo, call-to-action, piattaforme e date di esecuzione come JSON pulito. La risposta è JSON normalizzato con la stessa busta che restituisce ogni endpoint AnyAPI, quindi analizzare un secondo endpoint significa cambiare l'URL e nient'altro.

Negli ultimi 30 giorni, il 99,0% delle chiamate Facebook Dettagli dell'annuncio tramite AnyAPI è riuscito, con un tempo di risposta mediano di 0,7 secondi su 9197 chiamate misurate. Sono misurazioni di AnyAPI sul traffico che passa dal gateway, ricalcolate di continuo, non un obiettivo di livello di servizio pubblicato.

Sì. Un nuovo account AnyAPI parte con 0,10 USD di saldo gratuito e senza bisogno di carta, che copre 83 chiamate Facebook Dettagli dell'annuncio a 0,0012 USD ciascuna.

AnyAPI interroga la successiva delle sue 2 fonti nella stessa richiesta, partendo dalla più economica, quindi una fonte che cade non fa fallire la tua chiamata.

Invia una richiesta POST a https://api.getanyapi.com/v1/run/facebook.ad_details con la tua chiave AnyAPI in un header "Authorization: Bearer" e l'input come corpo JSON. La stessa chiave e lo stesso portafoglio funzionano su ogni endpoint AnyAPI.

No. Aggiungi dollari statunitensi a un unico saldo prepagato AnyAPI e ogni richiesta lo scala. Non c'è un piano mensile né un minimo, e lo stesso saldo paga ogni endpoint AnyAPI.

Sì. Installa @getanyapi/sdk da npm per TypeScript o getanyapi da pip per Python. Entrambi chiamano ogni endpoint AnyAPI con la stessa chiave, e funziona anche qualsiasi client HTTP.

Sì. Un agente può collegarsi al server MCP di AnyAPI su https://api.getanyapi.com/mcp, oppure creare da solo la propria chiave di prova gratuita con un POST non autenticato a https://api.getanyapi.com/agent/signup e chiamare questo endpoint via HTTP.