API Facebook

Facebook Détails complets de l’annonce API

Récupérez une annonce de la Meta Ad Library avec sa création : chaque variante de carrousel, URL d’image et de vidéo, titre, texte et appel à l’action.

4,08 $US/1k req, paiement à la requête, sans abonnement.

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
Ce que l’API a renvoyé
{
"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 champs de plus
}
Disponibilité
99,36%
30d · 782 appels
Requêtes
782
30 j · par semaine, 12 dernières sem.
Réponse
8,1s
médiane · 30d

Tarifs

Tarifs de l’API Facebook Détails complets de l’annonce

Vous payez
40,80 $US
4,08 $US/1k req, seulement pour ce que vous utilisez. Aucun forfait mensuel.
Vos 24 premières requêtes sont gratuites avec le solde de départ de 0,10 $US.

Essayer

Obtenez Facebook Détails complets de l’annonce en une requête

Ouvrir dans
Obtenir une clé gratuite
Exemple de réponse
Les exécutions gratuites ne renvoient que les 3 premiers résultats. Alimentez une clé pour obtenir la réponse complète.

Cet exemple affiche 25 champs sur 44. Voir tous les champs

{
  "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"
    ]
  }
}

Référence complète des paramètres et de la réponse : chaque champ, type et exemple de cet endpoint.

Référence

Une requête, une seule forme de réponse.

Chaque champ que vous envoyez et chaque champ que vous recevez, avec un vrai exemple.

Dernière vérification : 2026-11-21 · disponibilité et latence mesurées sur 30d

Corps de la requête

JSON, envoyé à cet endpoint.

  • idstring

    1185617869915074

    ID d’une annonce de la Meta Ad Library - l’id numérique dans une URL de l’Ad Library (p. ex. « 962050096457659 » dans https://www.facebook.com/ads/library/?id=962050096457659).

Vous envoyez. Un petit corps JSON. Les valeurs affichées sont des exemples à remplacer par les vôtres.

Réponse

JSON, une valeur d’exemple par champ.

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.

Vous recevez. Des champs nommés et typés, dans la même forme quelle que soit la source qui répond.

FAQ

À propos de l’API Facebook Détails complets de l’annonce

L’API Facebook Détails complets de l’annonce d’AnyAPI renvoie des données Facebook en JSON normalisé à partir d’un appel POST à /v1/run/facebook.ad_details_full. Récupérez une annonce de la Meta Ad Library avec sa création : chaque variante de carrousel, URL d’image et de vidéo, titre, texte et appel à l’action. AnyAPI renvoie un schéma normalisé unique quelle que soit la source qui répond. Elle coûte à partir de 4,08 $US pour 1 000 requêtes, en dollars US, sans abonnement et sans minimum mensuel. Ces 30 derniers jours, 99,4% des appels Facebook Détails complets de l’annonce passés par AnyAPI ont réussi, avec un temps de réponse médian de 8,1 secondes, sur 782 appels mesurés.

Elle coûte à partir de 4,08 $US pour 1 000 requêtes, en dollars US, sans abonnement et sans minimum mensuel. Vous alimentez un portefeuille en USD et chaque appel le débite. Certaines requêtes échouées financées par le portefeuille entraînent des frais de traitement que nous répercutons au prix coûtant, sans marge ; la réponse d’erreur indique le montant facturé.

Récupérez une annonce de la Meta Ad Library avec sa création : chaque variante de carrousel, URL d’image et de vidéo, titre, texte et appel à l’action. La réponse est du JSON normalisé avec la même enveloppe que celle de tous les endpoints AnyAPI, donc analyser un second endpoint revient à changer l’URL et rien d’autre.

Ces 30 derniers jours, 99,4% des appels Facebook Détails complets de l’annonce passés par AnyAPI ont réussi, avec un temps de réponse médian de 8,1 secondes, sur 782 appels mesurés. Ce sont les propres mesures d’AnyAPI du trafic passant par la passerelle, recalculées en continu, et non un objectif de niveau de service publié.

Oui. Un nouveau compte AnyAPI démarre avec 0,10 $US de solde gratuit, sans carte, ce qui couvre 24 appels Facebook Détails complets de l’annonce à 0,00408 $US chacun.

Envoyez une requête POST à https://api.getanyapi.com/v1/run/facebook.ad_details_full avec votre clé AnyAPI dans un en-tête « Authorization: Bearer » et l’entrée en corps JSON. La même clé et le même portefeuille fonctionnent sur tous les endpoints AnyAPI.

Non. Vous ajoutez des dollars US à un solde AnyAPI prépayé unique et chaque requête le débite. Il n’y a ni forfait mensuel ni minimum, et le même solde paie tous les endpoints AnyAPI.

Oui. Installez @getanyapi/sdk depuis npm pour TypeScript ou getanyapi depuis pip pour Python. Les deux appellent chaque endpoint AnyAPI avec la même clé, et n’importe quel client HTTP fonctionne aussi.

Oui. Un agent peut se connecter au serveur MCP d’AnyAPI à https://api.getanyapi.com/mcp, ou créer sa propre clé d’essai gratuit avec un seul POST non authentifié vers https://api.getanyapi.com/agent/signup et appeler cet endpoint en HTTP.