Ad Library · Guide

How to get a Ad Library facebook ad transcript

TL;DR
To get a Ad Library facebook ad transcript, sign up for a free Captapi key, then send one GET request to /v1/ad-library/facebook/ad-transcript with your input. You get clean JSON back in seconds for 17 credits per call — no OAuth, scraping or platform SDKs. Extract the spoken transcript from a public Ad Library ad in a single request.

How to get a Ad Library facebook ad transcript (step by step)

  1. 1

    Get a free API key

    Create a free Captapi account (100 credits, no card) and generate an API key from the dashboard.

  2. 2

    Call the Facebook Ad Transcript API

    Send an authenticated GET request to /v1/ad-library/facebook/ad-transcript with your input. No OAuth, no scraping setup.

  3. 3

    Read the JSON response

    Parse the clean JSON response. Pass cache=true for a free 24h cache hit; default is always fresh.

Code example

curl "https://api.captapi.com/v1/ad-library/facebook/ad-transcript?url=https%3A%2F%2Fwww.facebook.com%2Fads%2Flibrary%2F%3Fid%3D1046730950862281" \
  -H "Authorization: Bearer capt_live_..."
# or: -H "x-api-key: capt_live_..."

What the response looks like

{
  "success": true,
  "data": {
    "platform": "facebook_ad_library",
    "url": "https://www.facebook.com/ads/library/?id=1046730950862281",
    "adId": "1046730950862281",
    "transcript": "body: SUKEBAN at @animeexpo \n07/05/25 Los Angeles \n\n🎬 @complicasian \nMC @kunichi_nomura \nMusic / yoyo @okamotoreiji @ecec_fc @haroodiy \nCostumes @olympialetan @softskinlatex @dawnamatrix\nSneakers @nike \nHats @stephenjonesmillinery \nMakeup @kalikennedy \nHair @dennisvlanni\nNails @nailsbymei \nProduction @exposureny \n#thisissukeban #sukebanxanimeexpo\ncta: Visit Instagram profile\nlandingUrl: http://instagram.com/sukeban_world",
    "transcriptSegments": [
      {
        "speaker": "body",
        "text": "SUKEBAN at @animeexpo \n07/05/25 Los Angeles \n\n🎬 @complicasian \nMC @kunichi_nomura \nMusic / yoyo @okamotoreiji @ecec_fc @haroodiy \nCostumes @olympialetan @softskinlatex @dawnamatrix\nSneakers @nike \nHats @stephenjonesmillinery \nMakeup @kalikennedy \nHair @dennisvlanni\nNails @nailsbymei \nProduction @exposureny \n#thisissukeban #sukebanxanimeexpo",
        "start": 0,
        "duration": 0,
        "timestamp": "00:00"
      },
      {
        "speaker": "cta",
        "text": "Visit Instagram profile",
        "start": 0,
        "duration": 0,
        "timestamp": "00:00"
      },
      {
        "speaker": "landingUrl",
        "text": "http://instagram.com/sukeban_world",
        "start": 0,
        "duration": 0,
        "timestamp": "00:00"
      }
    ],
    "wordCount": 41,
    "segments": 3,
    "advertiser": {
      "id": "146705838515566",
      "name": "Sukeban World",
      "url": "https://www.facebook.com/61551864263186/",
      "logo": "https://scontent.fsac1-1.fna.fbcdn.net/v/t39.35426-6/517640014_2104272360362331_1464623957160374455_n.jpg?stp=dst-jpg_s60x60_tt6&_nc_cat=100&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=zj4Fm9x6lhEQ7kNvwGX5CM5&_nc_oc=AdoC2MrM9oIhVikCRsi3wj6nkC9NVYXpe-tkygNO6a0KIBU6t1iNVzlaer6gq8RfjyU&_nc_zt=14&_nc_ht=scontent.fsac1-1.fna&_nc_gid=hpXXb2jeX_Z3VwLBka30uw&_nc_ss=72289&oh=00_AQCrkNl-5JFg_6timeMj_ZxeKknQryina34Y2N27l2RlyA&oe=6A611F63"
    }
  }
}

Billing metadata (credits charged, cache hit/miss) is returned in the X-Captapi-Credits and X-Captapi-Cache response headers.

Request parameters

NameTypeRequiredDescription
urlstring YesMeta Ad Library ad URL or ad ID. The URL platform must match this endpoint's platform. Do not pass cross-platform URLs, e.g. YouTube to TikTok, Instagram to Facebook, LinkedIn to X/Twitter, or Pinterest to Rumble.
cachebooleanNoSet true to serve from the 24h response cache. Default false — always fetch fresh data.

Frequently asked questions

What does the Facebook Ad Transcript API do?

The Facebook Ad Transcript API lets you extract the full, timestamped transcript from a public Ad Library ad using one GET request to /v1/ad-library/facebook/ad-transcript. It returns clean JSON — no OAuth or infrastructure setup required.

How many credits does the Facebook Ad Transcript API cost?

Each successful call costs 17 credits. Pass cache=true to serve from the 24h shared cache (0 credits on hit); default is always fresh. Failed or empty results are never charged.

Do I need a Ad Library API key or OAuth?

No. A single Captapi key works across every platform Captapi supports — YouTube, TikTok, Instagram, Facebook, Twitter/X, Reddit, Threads, Bluesky, Pinterest, LinkedIn, Rumble, Spotify, Kwai, and more. We handle proxies, rate limits, retries, and authentication for you.

What if the Ad Library ad has no captions?

When no captions are available, Captapi transcribes the audio with AI (Whisper) automatically, so you still get a usable transcript.

Is the Facebook Ad Transcript API suitable for production use?

Yes. It is a stable REST endpoint with predictable JSON and automatic retries. Pass cache=true to serve from the 24h shared cache (0 credits on hit); default is always fresh. Use it for analytics, monitoring, and content automation.

Ready to get a Ad Library facebook ad transcript?

Start free with 100 credits — no credit card required.

Get your free API key