Facebook API

Facebook Ad transcript API

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

POST/v1/run/facebook.ad_transcript
Uptime
100.00%
30d · 19 calls
Requests
19
30d · weekly, last 12 wks
Response
7.4s
median · 30d

Call it

Make your first request

import os, requests

res = requests.post(
    "https://api.getanyapi.com/v1/run/facebook.ad_transcript",
    headers={"Authorization": f"Bearer {os.environ['ANYAPI_KEY']}"},
    json={},
)
print(res.json())
Open in
Get a free key
Sample response
{
  "data": {
    "adId": "a1b2c3d4",
    "transcript": "example",
    "transcriptAvailable": true,
    "url": "https://example.com/page"
  },
  "found": true
}
Response interface
interface FacebookAdTranscriptResponse {
  data: {
    adId: string;
    transcript: string;
    transcriptAvailable: boolean;
    url: string;
  } | null;
  found: boolean;
}

Full parameter and response reference - every field, type, and example for this endpoint.

Reference

Request, response, and price

Last verified 2026-09-16 · uptime and latency measured over 30d
POST /v1/run/facebook.ad_transcript
curl -X POST https://api.getanyapi.com/v1/run/facebook.ad_transcript \
  -H "Authorization: Bearer $ANYAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"id":"931919822778200"}'
FieldTypeExample value
Request body
idstring"931919822778200"Meta Ad Library ad ID (e.g. "1020359190509080"). Provide either id or url.
urlstringMeta Ad Library ad URL (e.g. "https://www.facebook.com/ads/library?id=1020359190509080"). Provide either id or url.
Response
dataobject
data.adIdstringPopulated whenever the provider has data for the entity.
data.transcriptstringTranscribed ad audio text.
data.transcriptAvailableboolean
data.urlstringPopulated whenever the provider has data for the entity.
foundboolean
Price
Price per requestUSD$0.0012
Price /1k reqUSD$1.20

FAQ

About the Facebook Ad transcript API

The AnyAPI Facebook Ad transcript API returns Facebook ad transcript data as normalized JSON from one POST call to /v1/run/facebook.ad_transcript. Get the spoken-word transcript of a Meta Ad Library video ad by ad ID or URL. AnyAPI routes each request across 2 sources and falls back automatically when one fails. It costs from $1.20 per 1,000 requests, in US dollars with no subscription and no monthly minimum. Over the last 30 days, 100.0% of Facebook ad transcript calls through AnyAPI succeeded, with a median response time of 7.4 seconds across 19 measured calls.

It costs from $1.20 per 1,000 requests, in US dollars with no subscription and no monthly minimum. You fund one USD wallet, each call draws it down, and a failed request costs $0.

Get the spoken-word transcript of a Meta Ad Library video ad by ad ID or URL. The response is normalized JSON with the same envelope every AnyAPI endpoint returns, so parsing a second endpoint is a change of URL and nothing else.

Over the last 30 days, 100.0% of Facebook ad transcript calls through AnyAPI succeeded, with a median response time of 7.4 seconds across 19 measured calls. These are AnyAPI's own measurements of traffic through the gateway, recomputed continuously, not a published service-level target.