Invidious API

Invidious API as documented publicly: 55 operations. Contract generated from the documentation by API Evangelist (2026-10-28); not the provider's own document.

Operations 55

GET / GET / #
GET /api/v1/annotations/{id} Returns annotation XML from YouTube's /annotations_invideo endpoint. #
GET /api/v1/auth/feed Get subscription feed for the authenticated user. #
GET /api/v1/auth/history Get the history of videos played by the user. #
DELETE /api/v1/auth/history/{id} Delete a video from the user watched history. #
POST /api/v1/auth/history/{id} Set a video as watched. #
GET /api/v1/auth/notifications Provides an EventSource for receiving changes from each topic in topics. #
POST /api/v1/auth/notifications Same as above GET endpoint, however topics is moved into post body as Content-Type: application/x-www-form-urlencoded. #
GET /api/v1/auth/playlists Get list of playlists for the given user. #
POST /api/v1/auth/playlists Create new playlist. #
DELETE /api/v1/auth/playlists/{id} Delete a given playlist :id. #
GET /api/v1/auth/playlists/{id} Returns same result as unauthenticated /api/v1/playlists/:id. #
PATCH /api/v1/auth/playlists/{id} Modify a playlist's description, title, description, or privacy. #
POST /api/v1/auth/playlists/{id}/videos Add a video to the given playlist :id. #
DELETE /api/v1/auth/playlists/{id}/videos/{index} Delete a video from the given playlist :id with indexId :index. #
GET /api/v1/auth/preferences Get preferences for authenticated user. #
POST /api/v1/auth/preferences Patch user preferences. #
GET /api/v1/auth/subscriptions Get user's subscriptions. #
DELETE /api/v1/auth/subscriptions/{ucid} Removes a given ucid from a user's subscriptions. #
POST /api/v1/auth/subscriptions/{ucid} Add a given ucid to a user's subscriptions. #
GET /api/v1/auth/tokens Get a list of tokens for the authenticated user. #
POST /api/v1/auth/tokens/register Create a new token for the authenticated user. #
POST /api/v1/auth/tokens/unregister Revoke a token for the authenticated user. #
GET /api/v1/captions/{id} Returns captions for a video in WebVTT format or selected caption track. #
GET /api/v1/channels/{id} Get channel information including author details, subscriber count, total views, and latest videos. #
GET /api/v1/channels/{id}/channels Get related channels for a given channel. #
GET /api/v1/channels/{id}/community Get community posts from a channel. #
GET /api/v1/channels/{id}/latest Get the latest videos from a channel, same as requesting /api/v1/channels/:id/videos without URL parameters. #
GET /api/v1/channels/{id}/playlists Get playlists from a channel. #
GET /api/v1/channels/{id}/podcasts Get podcasts from a channel. #
GET /api/v1/channels/{id}/releases Get releases from a channel. #
GET /api/v1/channels/{id}/shorts Get shorts from a channel. #
GET /api/v1/channels/{id}/streams Get streams from a channel. #
GET /api/v1/channels/{id}/videos Get videos from a channel. #
GET /api/v1/clips Returns information about a clip including its start time, end time, title, and associated video. #
GET /api/v1/comments/{id} Returns comments for a video. #
GET /api/v1/hashtag/{tag} Returns videos with the specified hashtag. #
GET /api/v1/mixes/{rdid} Returns information about a mix. #
GET /api/v1/playlists/{plid} Returns information about a playlist. #
GET /api/v1/post/{id} Get a specific community post. #
GET /api/v1/post/{id}/comments Retrieve comments for a post. #
GET /api/v1/resolveurl Resolves a YouTube URL to its corresponding API object identifiers. #
GET /api/v1/search/suggestions Returns search suggestions based on a query. #
GET /api/v1/stats Returns current stats for the Invidious instance. #
GET /api/v1/videos/{id} Returns video information and metadata. #
GET /iv-org/invidious/refs/heads/master/config/config.example.yml GET /iv-org/invidious/refs/heads/master/config/config.example.yml #
GET /iv-org/invidious/refs/heads/master/config/sql/$initdb.sql GET /iv-org/invidious/refs/heads/master/config/sql/$initdb.sql #
GET /login GET /login #
GET /vi/JoP_Tte7z7o/mqdefault.jpg Get video thumbnail image #
GET /vi/lJcqAzWFWLs/mqdefault.jpg Get video thumbnail image #
GET /watch Watch a video on Invidious #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/invidious:invidious-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

invidious-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: Invidious API
  version: '2026-10-28'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-10-28: 55 operation(s) read from 8 public documentation page(s) (each operation
    names its page in x-source). This is not the provider''s published contract; Invidious has published no machine-readable contract that the
    pipeline could find. Engine: anthropic.'
  x-evidence-tiers:
    code-example: 4
    documentation: 51
    pages-with-code: 4
    pages-read: 8
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-10-28'
  x-generator: generate-contract-from-docs.py
  x-engine: anthropic
  x-sources:
  - https://docs.invidious.io/api
  - https://docs.invidious.io/api/channels_endpoint
  - https://docs.invidious.io/api/authenticated-endpoints
  - https://docs.invidious.io/ipv6-rotator
  - https://docs.invidious.io/hide-instance-behind-proxy-server
  - https://docs.invidious.io/faq
  - https://docs.invidious.io/register-user


# --- truncated at 32 KB (51 KB total) ---
# Full source: https://artifacts.apis.io/invidious/openapi/_ae-authored/invidious-openapi-generated.yml