Facebook Ad transcript API
Get the spoken-word transcript of a Meta Ad Library video ad by ad ID or URL.
Provider network
Providers ranked by traffic
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())
{
"data": {
"adId": "a1b2c3d4",
"transcript": "example",
"transcriptAvailable": true,
"url": "https://example.com/page"
},
"found": true
}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 30dcurl -X POST https://api.getanyapi.com/v1/run/facebook.ad_transcript \
-H "Authorization: Bearer $ANYAPI_KEY" \
-H "Content-Type: application/json" \
-d '{"id":"931919822778200"}'| Field | Type | Example value |
|---|---|---|
| Request body | ||
| id | string | "931919822778200"Meta Ad Library ad ID (e.g. "1020359190509080"). Provide either id or url. |
| url | string | Meta Ad Library ad URL (e.g. "https://www.facebook.com/ads/library?id=1020359190509080"). Provide either id or url. |
| Response | ||
| data | object | |
| data.adId | string | Populated whenever the provider has data for the entity. |
| data.transcript | string | Transcribed ad audio text. |
| data.transcriptAvailable | boolean | |
| data.url | string | Populated whenever the provider has data for the entity. |
| found | boolean | |
| Price | ||
| Price per request | USD | $0.0012 |
| Price /1k req | USD | $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.