> ## Documentation Index
> Fetch the complete documentation index at: https://docs.posttu.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Ad Transcript

> Retrieves a transcript for a single Facebook Ad Library video ad by ID or URL. If Facebook exposes captions, those are used. Otherwise we try to transcribe the public video URL. If the ad has no video or no transcript is available, transcript will be null and

### Query Parameters

| Parameter | Type | Required | Description |
| :- | :- | :- | :- |
| `id` | `string` | No | Facebook Ad Id |
| `url` | `string` | No | Facebook Ad URL |

### Response Example

```json theme={null}
{
  "success": true,
  "data": {
  "success": true,
  "data": {
    "ad_id": "1020359190509080",
    "url": "https://www.facebook.com/ads/library?id=1020359190509080",
    "transcript": "Sample transcript text from the ad video...",
    "transcript_available": true
  }
}
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.