---
title: "Get on-screen text"
description: "Text written on the video or its cover: titles, burned-in captions, show names, prices."
url: https://docs.sonderlabs.co.uk/media/onscreen-text
---

# Get on-screen text

Text written on the video or its cover: titles, burned-in captions, show names, prices.

`GET /v1/posts/{id}/text` (coming soon)

> **Coming soon:** this endpoint is not served yet; the shape below is what it will look like. [Ask for it](https://docs.sonderlabs.co.uk/access) if you need it.

Reads the text a viewer sees, in reading order, pieces separated by ` | `. This is how a clip with a show's name on screen but nothing in the caption still gets found.

## Platform support

- TikTok: Live
- Instagram: Live
- YouTube: Live
- Facebook: Limited. Read from the post's image or cover only.
- X: Limited. Read from the post's image or cover only.
- Threads: Limited. Read from the post's image or cover only.
- Reddit: Limited. Read from the post's image or cover only.
- Snapchat: Limited. Read from the post's image or cover only.

## Parameters

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string | yes | A Sonder post id, from any endpoint that returns posts or from [post lookup](https://docs.sonderlabs.co.uk/posts/lookup). |

## Example

cURL:

```bash
curl https://yourteam.sonderlabs.co.uk/v1/posts/abf505e6a8dd939360d5beaec605b807/text \
  -H "Authorization: Bearer $SONDER_API_KEY"
```

JavaScript:

```js
const res = await fetch("https://yourteam.sonderlabs.co.uk/v1/posts/abf505e6a8dd939360d5beaec605b807/text", {
  headers: {
    Authorization: `Bearer ${process.env.SONDER_API_KEY}`,
  },
});
const data = await res.json();
```

Python:

```python
import os, requests

res = requests.get(
    "https://yourteam.sonderlabs.co.uk/v1/posts/abf505e6a8dd939360d5beaec605b807/text",
    headers={"Authorization": f"Bearer {os.environ['SONDER_API_KEY']}"},
)
data = res.json()
```

Response:

```json
{
  "postId": "abf505e6a8dd939360d5beaec605b807",
  "platform": "youtube",
  "text": "I'm rapidly trying to think | about what I can say on | television",
  "from": "cover"
}
```
