Sand AISand AI MAGI-2MAGI-2 artık SandBase'de: yerel sesli 1080p videoŞimdi deneyin

Facebook Ad Transcript

API dokümanları
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.

Fiyat
Başlangıç fiyatı $0.0012USD / çağrı
Yöntem
POST
Yanıt
JSON
Parametreler
0 gerekli · 2 isteğe bağlı

Oynatma Alanı

Girdi
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.
ÇıktıHazır

Çıktınız burada görünecek

Girdileri tamamlayın, ardından Çalıştır'a tıklayın.

API README

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.

Daha fazlasını keşfedin

İlgili APIs

Tüm APIs
APIFiyatYanıt
FacebookKullanım başına $0.0012'den itibarenJSON
FacebookKullanım başına $0.0012'den itibarenJSON
FacebookKullanım başına $0.00462'den itibarenJSON
FacebookKullanım başına $0.0011'den itibarenJSON
FacebookKullanım başına $0.0011'den itibarenJSON
FacebookKullanım başına $0.0012'den itibarenJSON

Kılavuzlar:Best Facebook API in 2026: Pricing Compared

Sorular

SSS

Facebook Ad Transcript API'sini nasıl kullanırım?

SandBase API anahtarınızı Authorization başlığında (Bearer) ve parametreleri JSON gövdesi olarak ile https://api.sandbase.ai/v1/api/facebook/ad-transcript adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.

Facebook Ad Transcript API'sinin fiyatı nedir?

çağrı başına $0.0012'dan başlayan, SandBase bakiyenizden tahsil edilir. Yalnızca yaptığınız çağrılar için ücretlendirilirsiniz; abonelik yoktur.

Facebook Ad Transcript API'si hangi parametreleri kabul eder?

Gerekli parametre yoktur. İsteğe bağlı: id (string) ve url (string). Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.

Facebook Ad Transcript API'si ne döndürür?

Aynı HTTP isteğinde döndürülen bir JSON yanıtı (senkron). Bu sayfadaki README'de örnek bir yanıt yer alır.

Bir Facebook geliştirici hesabına veya API anahtarına ihtiyacım var mı?

Hayır. Facebook Ad Transcript, SandBase üzerinden çalışır; bu nedenle tek bir SandBase API anahtarı bu uç noktayı ve katalogdaki diğer tüm API'leri ve modelleri kapsar. Facebook API erişimi için ayrıca başvuru yapmanız gerekmez.