Sand AISand AI MAGI-2MAGI-2 è ora su SandBase: video in 1080p con audio nativoProvalo ora

Facebook Ad Transcript

Documentazione API
https://api.sandbase.ai/v1/api/facebook/ad-transcript

Get the spoken-word transcript of a Meta Ad Library video ad by ad ID or URL.

Prezzo
Da $0.0012USD / chiamata
Metodo
POST
Risposta
JSON
Parametri
0 obbligatori · 2 opzionali

Playground

Input
Meta Ad Library ad ID (e.g. "1020359190509080"). Provide either id or url.
Meta Ad Library ad URL (e.g. "https://www.facebook.com/ads/library?id=1020359190509080"). Provide either id or url.
OutputPronto

Il tuo output apparirà qui

Completa gli input, poi fai clic su Esegui.

README API

Facebook Ad Transcript API

This API returns the spoken-word transcript of a video ad in the Meta Ad Library. It needs either an ad ID (id) or an Ad Library ad URL (url).

Use cases

  • Pull the script of a competitor's video ad to study its hook and offer.
  • Index ad transcripts to search for repeated claims or phrases across campaigns.
  • Check whether a video ad has a transcript before sending it to a review or translation step.

Request

curl -X POST "https://api.sandbase.ai/v1/api/facebook/ad-transcript" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"id": "2045879599391945"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
idstringNoMeta Ad Library ad ID (e.g. "1020359190509080"). Provide either id or url.
urlstringNoMeta Ad Library ad URL (e.g. "https://www.facebook.com/ads/library?id=1020359190509080"). Provide either id or url.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "data": {
    "adId": "2045879599391945",
    "transcript": "",
    "transcriptAvailable": false,
    "url": "https://www.facebook.com/ads/library?id=2045879599391945"
  },
  "found": true
}

Response fields

FieldMeaning
data.adIdThe ID of the ad that was looked up.
data.transcriptThe spoken-word text of the ad. It is an empty string when no transcript exists.
data.transcriptAvailabletrue when a transcript was found for the ad, false when not. Check this before you use transcript.
data.urlThe Meta Ad Library URL for the ad.
foundtrue when the lookup returned a result for the ad.

Notes

  • Send either id or url. The id is the number in the id query parameter of an Ad Library URL, for example 2045879599391945.
  • A response can have found: true and still return an empty transcript with transcriptAvailable: false. Treat this as an ad with no transcript.
  • To find ad IDs, use Facebook Ad Search or Facebook Company Ads. For ad creative data, call Facebook Ad Creative Details.

Pricing

Billed at the actual cost of each call, about $0.0012 for the request above. Failed calls are not charged.

Esplora altro

API correlate

Tutte le API
APIPrezzoRisposta
FacebookDa $0.0012 per chiamataJSON
FacebookDa $0.0012 per chiamataJSON
FacebookDa $0.00462 per chiamataJSON
FacebookDa $0.0011 per chiamataJSON
FacebookDa $0.0011 per chiamataJSON
FacebookDa $0.0012 per chiamataJSON

Guide:Best Facebook API in 2026: Pricing Compared

Domande

FAQ

Come uso l'API Facebook Ad Transcript?

Invia una richiesta POST a https://api.sandbase.ai/v1/api/facebook/ad-transcript con la tua chiave API di SandBase nell'header Authorization (Bearer) e i parametri nel body JSON. Puoi anche provarla nel Playground di questa pagina senza scrivere codice.

Quanto costa l'API Facebook Ad Transcript?

A partire da $0.0012 per chiamata, addebitato dal tuo saldo SandBase. Paghi solo le chiamate che effettui; non c'è alcun abbonamento.

Quali parametri accetta l'API Facebook Ad Transcript?

Nessun parametro richiesto. Facoltativi: id (string) e url (string). La tabella dei parametri e il Playground di questa pagina elencano tutti i campi.

Cosa restituisce l'API Facebook Ad Transcript?

Una risposta JSON restituita nella stessa richiesta HTTP (sincrona). Il README di questa pagina include una risposta di esempio.

Mi serve un account sviluppatore o una chiave API Facebook?

No. Facebook Ad Transcript funziona tramite SandBase, quindi una sola chiave API SandBase copre questo endpoint e tutte le altre API e modelli del catalogo. Non è necessario richiedere separatamente l'accesso alle API Facebook.