Facebook Ad Library Ad Transcript API

Get native captions or an AI transcript from a Facebook video ad. Long AI transcripts may time out.

Native captions or AI up to 2 minutes: 1 credit. Paid AI mode: 10 credits/minute, rounded up, even for short videos. No transcript: 0 credits.
GET
/v1/facebook/adLibrary/ad/transcript
curl "https://api.scrapecreators.com/v1/facebook/adLibrary/ad/transcript" \
  -H "x-api-key: "
{
  "success": true,
  "credits_remaining": 100,
  "data": {
    "ad_id": "1020359190509080",
    "url": "https://www.facebook.com/ads/library?id=1020359190509080",
    "transcript": "Sample transcript text from the ad video...",
    "transcript_available": true
  }
}

Headers

x-api-key
string
required

Your Scrape Creators API key

Query Parameters

id
string

Facebook Ad Id

Example:
1020359190509080
url
string

Facebook Ad URL

Example:
https://www.facebook.com/ads/library?id=1020359190509080
allow_long_transcription
boolean

Allow AI transcription over 2 minutes. Paid rates apply to short videos too. Enable transcription separately.

10 credits/minute, rounded up. Added to the base cost on detail endpoints.
Example:
false
cache_max_age
string

Use a cached response this old or newer for 0 credits. If none is available, fetch live at the endpoint’s normal price.

Example:
7d
Available options:
1d,
3d,
7d,
14d,
30d

Response Field Explanations

data.transcript
Transcript text for the ad video, or null when unavailable.