Tube Archivist Media API

The media API from Tube Archivist — 5 operation(s) for media.

Operations 5

GET /media/stream/{channel_id}/{video_id}.mp4 Media stream #
GET /media/subtitle/{channel_id}/{video_id}.{lang}.vtt Media subtitle #
GET /media/thumb/channel/{channel_id}/{art_type}.jpg Media channel art #
GET /media/thumb/playlist/{playlist_id}.jpg Media playlist thumbnail #
GET /media/thumb/video/{video_id}.jpg Media video thumbnail #

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/tubearchivist:tubearchivist-media-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

tubearchivist-media-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Tubearchivist Media API
  version: v0.6.0
  description: 'Operations tagged media across 2 of this provider''s published API definitions: schema.yaml, tubearchivist-openapi.yml. Each path carries the servers of the definition it was published in.'
tags:
- name: Media
paths:
  /media/stream/{channel_id}/{video_id}.mp4:
    get:
      operationId: media_stream
      description: get media stream, handle ranged byte request
      parameters:
      - in: header
        name: Range
        schema:
          type: string
        description: Single byte range, for example bytes=0-1023
      - in: path
        name: channel_id
        schema:
          type: string
        required: true
      - in: path
        name: video_id
        schema:
          type: string
        required: true
      tags:
      - Media
      security:
      - tokenAuth: []
      responses:
        '200':
          content:
            video/mp4:
              schema:
                type: string
                format: binary
          description: ''
        '206':
          content:
            video/mp4:
              schema:
                type: string
                format: binary
          description: ''
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad request
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not found
        '416':
          description: Range not satisfiable
      summary: Media stream
      x-summary-source: derived
  /media/subtitle/{channel_id}/{video_id}.{lang}.vtt:
    get:
      operationId: media_subtitle
      description: get subtitle file
      parameters:
      - in: path
        name: channel_id
        schema:
          type: string
        required: true
      - in: path
        name: lang
        schema:
          type: string
        required: true
      - in: path
        name: video_id
        schema:
          type: string
        required: true
      tags:
      - Media
      security:
      - tokenAuth: []
      responses:
        '200':
          content:
            text/vtt:
              schema:
                type: string
                format: binary
          description: ''
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad request
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not found
      summary: Media subtitle
      x-summary-source: derived
  /media/thumb/channel/{channel_id}/{art_type}.jpg:
    get:
      operationId: media_channel_art
      description: get channel artwork
      parameters:
      - in: path
        name: art_type
        schema:
          type: string
        required: true
      - in: path
        name: channel_id
        schema:
          type: string
        required: true
      tags:
      - Media
      security:
      - tokenAuth: []
      responses:
        '200':
          content:
            image/jpeg:
              schema:
                type: string
                format: binary
          description: ''
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad request
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not found
      summary: Media channel art
      x-summary-source: derived
  /media/thumb/playlist/{playlist_id}.jpg:
    get:
      operationId: media_playlist_thumbnail
      description: get playlist thumb
      parameters:
      - in: path
        name: playlist_id
        schema:
          type: string
        required: true
      tags:
      - Media
      security:
      - tokenAuth: []
      responses:
        '200':
          content:
            image/jpeg:
              schema:
                type: string
                format: binary
          description: ''
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad request
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not found
      summary: Media playlist thumbnail
      x-summary-source: derived
  /media/thumb/video/{video_id}.jpg:
    get:
      operationId: media_video_thumbnail
      description: get video thumb
      parameters:
      - in: path
        name: video_id
        schema:
          type: string
        required: true
      tags:
      - Media
      security:
      - tokenAuth: []
      responses:
        '200':
          content:
            image/jpeg:
              schema:
                type: string
                format: binary
          description: ''
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad request
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not found
      summary: Media video thumbnail
      x-summary-source: derived
components:
  schemas:
    ErrorResponse:
      type: object
      description: error message
      properties:
        error:
          type: string
      required:
      - error
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
    cookieAuth:
      type: apiKey
      in: cookie
      name: sessionid
    tokenAuth:
      type: apiKey
      in: header
      name: Authorization
      description: Token-based authentication with required prefix "Token"
x-refined-from:
- schema.yaml
- tubearchivist-openapi.yml