---
title: "Browse Explore"
description: "Layo's public gallery of sample videos."
url: "https://docs.layo.co/reference/explore/list"
---

> 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.

# Browse Explore

`GET https://layo.co/v1/explore`

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

Layo's public gallery of sample videos.

## Request

### curl

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

### TypeScript

```ts
const response = await fetch("https://layo.co/v1/explore", {
  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/explore",
    headers={"Authorization": f"Bearer {os.environ['LAYO_API_KEY']}"},
)
data = response.json()
```

## Query parameters

- `cursor` (`string`): `nextCursor` from the last page. Leave it out for the first.
- `limit` (`integer`, default `25`, `1 <= x <= 100`): How many to return.

## Response

- `items` (`ExploreVideo[]`, required)
  - `name` (`string`, required)
  - `videoUrl` (`string<uri>`, required)
  - `posterUrl` (`string<uri>`, required)
  - `width` (`integer`, required, `x > 0`)
  - `height` (`integer`, required, `x > 0`)
  - `durationSeconds` (`number`, required, `x > 0`)
- `nextCursor` (`string | null`, required): Pass it as `cursor` for the next page. Null on the last one.

## Errors

- `invalid_input` (400): Something in this request wasn't valid. Check it and try again.
- `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": [
    {
      "name": "Morning ridge run",
      "videoUrl": "https://storage.example.com/explore/ridge.mp4",
      "posterUrl": "https://storage.example.com/explore/ridge.jpg",
      "width": 720,
      "height": 1280,
      "durationSeconds": 8
    }
  ],
  "nextCursor": "eyJpZCI6IjdkMmU0YjEwIn0"
}
```

### 400 `invalid_input`

```json
{
  "error": {
    "code": "invalid_input",
    "message": "Something in this request wasn't valid. Check it and try again."
  }
}
```

### 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
