# The Station — Wrapped API

> **You are on:** `https://api.paywithlocus.com/api` | [llms.txt](https://paywithlocus.com/llms.txt) | [docs](https://docs.paywithlocus.com)
>
> Locus runs on multiple environments -- make sure every URL you call matches your expected environment.
> | Environment | Landing | API | Docs |
> |---|---|---|---|
> | Production | paywithlocus.com | api.paywithlocus.com | docs.paywithlocus.com |
> | Beta | beta.paywithlocus.com | api.beta.paywithlocus.com | docs.paywithlocus.com |
> | Stage | stage.paywithlocus.com | api.stage.paywithlocus.com | docs.paywithlocus.com |
>
> If the API URL above doesn't match your expected environment, re-fetch this file from the correct domain.

> Search and discover videos from The Station, a Russian-language platform dedicated to tabletop wargaming content including Warhammer 40000, Age of Sigmar, Malifaux, Infinity, and other miniature games. Browse their video library by title or retrieve detailed information about specific gaming videos to stay updated on the latest wargaming community content.

**Category:** Streaming Video | **Website:** [thestation.ru/post-video/](https://thestation.ru/post-video/) | **Docs:** [parse.bot/marketplace/a87a8766-5183-44bc-9de1-e65d0a6a9a38/thestation-ru-api](https://parse.bot/marketplace/a87a8766-5183-44bc-9de1-e65d0a6a9a38/thestation-ru-api)

Pay-per-use API proxy. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-thestation-ru-api-a87a8766/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_video

Get details of a specific video post by its URL slug. Returns the video title, date, like/comment counts, tags, and video embed URL when available.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `slug` | string | Yes | URL slug of the video post (e.g. 'minka-lesk-hell-s-last-bylinnyy-skaz-chast-7-warhammer-40000'). Obtainable from search_videos or list_videos results via the slug field. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-thestation-ru-api-a87a8766/get_video \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"slug":"<string>"}'
```

### list_videos

List videos filtered by a taxonomy term (game system, publication category, or show host). Returns paginated results with up to 9 videos per page.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `category` | string | No | Additional category filter slug. Used to narrow results within a taxonomy page. |
| `page` | integer | No | Page number for pagination (1-based). |
| `taxonomy` | string | No | Taxonomy type to filter by. |
| `term` | string | No | Taxonomy term slug to filter by (e.g. 'warhammer-40000', 'background', 'andrey_tyler'). When omitted, returns all videos of the given post type. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-thestation-ru-api-a87a8766/list_videos \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"category":"<string>","page":"<integer>","taxonomy":"<string>","term":"<string>"}'
```

### search_videos

Full-text search across all video posts on the site. Returns paginated results ordered by recency. Each page contains up to 9 videos. The total_results field on page 1 indicates the total number of matching posts.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `page` | integer | No | Page number for pagination (1-based). |
| `query` | string | Yes | Search query text to match against video titles and content. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-thestation-ru-api-a87a8766/search_videos \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"page":"<integer>","query":"<string>"}'
```
