---
title: "List ad brands"
description: "The brands Ads Radar tracks in the public ad libraries (Meta and TikTok), with how many of their ads it holds and how many are running. The same for every workspace."
url: "https://docs.layo.co/reference/ads/brands"
---

> For agents: every page is listed at https://docs.layo.co/llms.txt. Search the docs over MCP at https://docs.layo.co/mcp, no sign-in needed.

# List ad brands

`GET https://layo.co/v1/ads/brands`

Needs the `read` scope. No charge. MCP tool: `list_ad_brands`.

The brands Ads Radar tracks in the public ad libraries (Meta and TikTok), with how many of their ads it holds and how many are running. The same for every workspace.

## Request

### curl

```bash
curl https://layo.co/v1/ads/brands \
  -H "Authorization: Bearer $LAYO_API_KEY"
```

### TypeScript

```ts
const response = await fetch("https://layo.co/v1/ads/brands", {
  headers: { Authorization: `Bearer ${process.env.LAYO_API_KEY}` },
});
const data = await response.json();
```

### Python

```python
import os
import requests

response = requests.get(
    "https://layo.co/v1/ads/brands",
    headers={"Authorization": f"Bearer {os.environ['LAYO_API_KEY']}"},
)
data = response.json()
```

## Response

- `items` (`AdBrand[]`, required)
  - `slug` (`string`, required): How to name the brand in `search_ads`'s `brand`.
  - `name` (`string`, required)
  - `niche` (`enum<string>`, required, one of `beverages`, `supplements`, `food`, `skincare`, `beauty`, `haircare`, `wellness`, `fitness`, `fashion`, `home`, `pets`, `baby`, `tech`, `apps`, `finance`, `travel`, `other`)
  - `platforms` (`enum<string>[]`, required): Where its ads are read from: `meta` (Facebook and Instagram) and `tiktok`.
  - `ads` (`integer`, required, `x >= 0`): How many of its ads Ads Radar holds.
  - `active` (`integer`, required, `x >= 0`): How many of them are running.
  - `stopped` (`integer`, required, `x >= 0`): How many have stopped. The rest aren't known either way.
- `note` (`string | null`, required): When the list is empty, why: say it to the person. Null otherwise.

## Errors

- `invalid_api_key` (401): This key isn't valid. Make a new one at layo.co/api-keys.
- `insufficient_scope` (403): This key can't do that. Use a key with the scope this endpoint needs.
- `forbidden` (403): You don't have access to that in this workspace.
- `rate_limited` (429): Too many requests. Wait a moment and try again.
- `unavailable` (503): Layo had a problem. Try again shortly.

## Examples

### 200

```json
{
  "items": [
    {
      "slug": "celsius",
      "name": "Celsius",
      "niche": "beverages",
      "platforms": [
        "meta",
        "tiktok"
      ],
      "ads": 412,
      "active": 96,
      "stopped": 280
    }
  ],
  "note": null
}
```

### 401 `invalid_api_key`

```json
{
  "error": {
    "code": "invalid_api_key",
    "message": "This key isn't valid. Make a new one at layo.co/api-keys."
  }
}
```

### 403 `insufficient_scope`

```json
{
  "error": {
    "code": "insufficient_scope",
    "message": "This key can't do that. Use a key with the scope this endpoint needs."
  }
}
```

### 403 `forbidden`

```json
{
  "error": {
    "code": "forbidden",
    "message": "You don't have access to that in this workspace."
  }
}
```

### 429 `rate_limited`

```json
{
  "error": {
    "code": "rate_limited",
    "message": "Too many requests. Wait a moment and try again."
  }
}
```

### 503 `unavailable`

```json
{
  "error": {
    "code": "unavailable",
    "message": "Layo had a problem. Try again shortly."
  }
}
```

The whole API as OpenAPI: https://docs.layo.co/openapi.json
