> For the complete documentation index, see [llms.txt](https://docs.rad.live/rad/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rad.live/rad/rad-tv-developer-api.md).

# Rad TV Developer API

The public API for the [Rad](https://rad.live/) platform provides a **GraphQL API** and an **MCP (Model Context Protocol) server** for building apps and integrating with coding agents (e.g. Cursor, Claude).

## What the API offers

* **Identity** — Users, channels, and authentication (JWT and API keys)
* **Content** — Create, update, and manage media content; resumable uploads (TUS); transcoding
* **Channels and catalog** — Features, series, episodes, streams, playlists; categories, ratings, genres
* **Engagement** — Likes, comments, channel follow/unfollow
* **YouTube** — OAuth connection, import videos from YouTube, publish Rad content to YouTube

## Two ways to integrate

| Interface   | Endpoint                      | Best for                                                                 |
| ----------- | ----------------------------- | ------------------------------------------------------------------------ |
| **GraphQL** | `POST /graphql`               | Web and mobile apps; full schema, introspection, and all operations      |
| **MCP**     | `POST /mcp` (Streamable HTTP) | IDEs and agent runtimes; tools map directly to actions with typed inputs |

Both require **Bearer authentication** (JWT or API key). Only the `ratings` and `genres` queries are public (no auth).

## Agent and LLM access

* **llms.txt** — Human- and machine-readable manifest at `GET /llms.txt` (and `GET /.well-known/llms.txt`). Describes auth, MCP tools, and GraphQL.
* **MCP** — Recommended for agents: 23 tools, 1 resource (`rad://api/capabilities`), and 2 prompts. Full tool list and arguments: see [MCP Tools reference](/rad/rad-tv-developer-api/mcp/tools-reference.md) or `GET /llms.txt`.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.rad.live/rad/rad-tv-developer-api.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
