Facebook Scraper
Get Facebook Ad Library Ad Transcript
Retrieves a transcript for a Facebook Ad Library video ad by ID or URL. Otherwise the public video URL is transcribed with AI. Over 120 seconds, videos cannot be AI-transcribed by default. These routes remain synchronous. Allow at least 30 seconds on your client.
Endpoint
Parameters
| Name | Type | Required | Note |
|---|---|---|---|
| idstring · optional | string | optional | Facebook Ad Id |
| urlstring · optional | string | optional | Facebook Ad URL |
| cache_max_agestring · optional | string | optional | See the Caching page for details. One of: |
Response schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"data": {
"type": "object",
"additionalProperties": {}
}
},
"additionalProperties": true
}