---
title: "Detect brands and logos"
description: "Brands said, written or seen in a post, with the moment each appears."
url: https://docs.sonderlabs.co.uk/media/brands
---

# Detect brands and logos

Brands said, written or seen in a post, with the moment each appears.

`GET /v1/posts/{id}/brands` (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.

Finds brands three ways: said (in the speech), written (caption and on-screen text) and seen (logos in the frame). On TikTok, Instagram and YouTube the video itself is watched, so each sighting has a time. Campaign-wide totals: `GET /v1/campaigns/{id}/brands`.

## Platform support

- TikTok: Live
- Instagram: Live
- YouTube: Live
- Facebook: Limited. Seen on the cover image and written in the text only.
- X: Limited. Seen on the image and written in the text only.
- Threads: Limited. Seen on the image and written in the text only.
- Reddit: Limited. Seen on the image and written in the text only.
- Snapchat: Limited. Seen on the cover and said in the Spotlight.

## 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). |
| `where` | query | string | no | `said`, `written`, `seen`, or a comma list. Default all. |

## Example

cURL:

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

JavaScript:

```js
const res = await fetch("https://yourteam.sonderlabs.co.uk/v1/posts/16904bb4aa009a1df010017aac5105d2/brands", {
  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/16904bb4aa009a1df010017aac5105d2/brands",
    headers={"Authorization": f"Bearer {os.environ['SONDER_API_KEY']}"},
)
data = res.json()
```

Response:

```json
{
  "postId": "16904bb4aa009a1df010017aac5105d2",
  "platform": "tiktok",
  "url": "https://www.tiktok.com/@thegnshow/video/7699933181901819158",
  "brands": [
    {
      "brand": "BBC",
      "where": [
        "seen",
        "written"
      ],
      "moments": [
        {
          "at": 0,
          "where": "seen"
        }
      ],
      "onscreen": "BBC | THE GRAHAM NORTON SHOW | [Audience Laughs]"
    }
  ]
}
```
