Pricing

Agent API

Let your own AI agents — Claude Desktop, OpenClaw, Hermes, custom Python scripts, anything — operate YouTube Collector on your behalf. Same library, same quota, same credit balance as when you sign in through the browser.

How it works

YouTube Collector exposes two surfaces for agents:

Tokens authenticate AS you. An agent token has exactly the same permissions as you signed in through the browser — no more, no less. Every quota, credit balance, and tier limit applies normally. A token cannot access admin endpoints or other users' data.

1. Generate a token

Sign in, open Settings → Agent access, click + New token, and give it a name (e.g. OpenClaw). The full token is shown exactly once on creation — copy it immediately. If you lose it, revoke and generate a new one.

Tokens look like:

ytc_user_8x7Kj2pN4vQ9mR6wT3yL5dF1cA8bZ7eH0gJ2nP4kV6sM3rD9tY1u

Per-plan limits

Free

3 tokens
60 calls / min each

Pro

10 tokens
60 calls / min each

Creator

25 tokens
120 calls / min each

2. Call the HTTP API

Set the Authorization header on any existing /api/* endpoint:

curl -H "Authorization: Bearer ytc_user_…" \
  https://www.youtubecollector.online/api/me

Common endpoints:

EndpointPurpose
GET /api/meRead your tier, credit balance, monthly quota usage.
GET /api/videosList your library. Supports ?search=, ?tag=, ?category=, ?status=, pagination.
GET /api/videos/<id>Read one video (transcript + summary + chapters).
POST /api/videosAdd a video by URL. Returns immediately; transcript and summary land in the background.
POST /api/videos/<id>/refresh-transcriptRe-fetch the transcript only.
POST /api/videos/<id>/repurposeGenerate a blog post, tweet thread, or LinkedIn post. Counts against your repurpose quota.
GET /api/community/videosBrowse the shared community library.

3. Or speak MCP

If your agent supports Model Context Protocol, point it at https://www.youtubecollector.online/mcp with the same Bearer token. Transport is Streamable HTTP (a single POST endpoint speaking JSON-RPC 2.0). Tools are auto-discovered via tools/list.

Tools exposed

ToolWhat it does
list_my_videosList your library with optional filters.
read_videoRead one video by public_id.
add_videoSave a YouTube URL to your library.
refresh_transcriptRe-fetch transcript for a video.
generate_repurposeProduce a blog / tweet / LinkedIn draft.
list_community_videosBrowse the shared community library.
read_my_quotaRead your tier, credit balance, remaining quota.

Example: tools/call

curl -X POST https://www.youtubecollector.online/mcp \
  -H "Authorization: Bearer ytc_user_…" \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "list_my_videos",
      "arguments": { "search": "levels", "per_page": 5 }
    }
  }'

Claude Desktop wiring

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "youtube-collector": {
      "url": "https://www.youtubecollector.online/mcp",
      "headers": {
        "Authorization": "Bearer ytc_user_…"
      }
    }
  }
}

Rate limits and errors

Every token has a per-minute rate limit. Exceeding it returns HTTP 429 with a Retry-After header:

HTTP/1.1 429 Too Many Requests
Retry-After: 23
Content-Type: application/json

{
  "error": "Rate limit exceeded for this agent token",
  "error_code": "rate_limited",
  "error_details": {
    "rate_limit_per_min": 60,
    "retry_after_seconds": 23
  }
}

Common error codes you'll see:

What an agent cannot do

By design:

Security and revocation

Anti-bot rule: every YouTube-touching request from an agent flows through the same residential proxy as a browser click. You cannot accidentally trigger a cloud-IP YouTube fetch from your agent — the code path doesn't exist.

Feedback

This API surface is new. If something is missing or behaves oddly, tell us or open an issue against your own workflow. The goal is for agents to operate the app exactly as you would.