Tube Archivist Stats API

The Stats API from Tube Archivist — 7 operation(s) for stats.

Operations 7

GET /api/stats/biggestchannels/ Api stats biggestchannels retrieve #
GET /api/stats/channel/ Api stats channel retrieve #
GET /api/stats/download/ Api stats download retrieve #
GET /api/stats/downloadhist/ Api stats downloadhist list #
GET /api/stats/playlist/ Api stats playlist retrieve #
GET /api/stats/video/ Api stats video retrieve #
GET /api/stats/watch/ Api stats watch retrieve #

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-stats-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-stats-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Tubearchivist Stats API
  version: v0.6.0
  description: 'Operations tagged Stats 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: Stats
paths:
  /api/stats/biggestchannels/:
    get:
      operationId: api_stats_biggestchannels_retrieve
      description: get biggest channels stats
      tags:
      - Stats
      security:
      - tokenAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/BiggestChannelItem'
          description: ''
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad request
      summary: Api stats biggestchannels retrieve
      x-summary-source: derived
  /api/stats/channel/:
    get:
      operationId: api_stats_channel_retrieve
      description: get channel stats
      tags:
      - Stats
      security:
      - tokenAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChannelStats'
          description: ''
      summary: Api stats channel retrieve
      x-summary-source: derived
  /api/stats/download/:
    get:
      operationId: api_stats_download_retrieve
      description: get download stats
      tags:
      - Stats
      security:
      - tokenAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DownloadStats'
          description: ''
      summary: Api stats download retrieve
      x-summary-source: derived
  /api/stats/downloadhist/:
    get:
      operationId: api_stats_downloadhist_list
      description: get download hist items
      tags:
      - Stats
      security:
      - tokenAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/DownloadHistItem'
          description: ''
      summary: Api stats downloadhist list
      x-summary-source: derived
  /api/stats/playlist/:
    get:
      operationId: api_stats_playlist_retrieve
      description: get playlist stats
      tags:
      - Stats
      security:
      - tokenAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PlaylistStats'
          description: ''
      summary: Api stats playlist retrieve
      x-summary-source: derived
  /api/stats/video/:
    get:
      operationId: api_stats_video_retrieve
      description: get video stats
      tags:
      - Stats
      security:
      - tokenAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VideoStats'
          description: ''
      summary: Api stats video retrieve
      x-summary-source: derived
  /api/stats/watch/:
    get:
      operationId: api_stats_watch_retrieve
      description: get watched stats
      tags:
      - Stats
      security:
      - tokenAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WatchStats'
          description: ''
      summary: Api stats watch retrieve
      x-summary-source: derived
components:
  schemas:
    ErrorResponse:
      type: object
      description: error message
      properties:
        error:
          type: string
      required:
      - error
    WatchTotalStats:
      type: object
      description: serialize total watch stats
      properties:
        duration:
          type: integer
        duration_str:
          type: string
        items:
          type: integer
      required:
      - duration
      - duration_str
      - items
    WatchStats:
      type: object
      description: serialize watch stats
      properties:
        total:
          allOf:
          - $ref: '#/components/schemas/WatchTotalStats'
        unwatched:
          allOf:
          - $ref: '#/components/schemas/WatchItemStats'
        watched:
          allOf:
          - $ref: '#/components/schemas/WatchItemStats'
      required:
      - total
      - unwatched
      - watched
    DownloadStats:
      type: object
      description: serialize download stats
      properties:
        pending:
          type:
          - integer
          - 'null'
        ignore:
          type:
          - integer
          - 'null'
        pending_videos:
          type:
          - integer
          - 'null'
        pending_shorts:
          type:
          - integer
          - 'null'
        pending_streams:
          type:
          - integer
          - 'null'
      required:
      - ignore
      - pending
      - pending_shorts
      - pending_streams
      - pending_videos
    WatchItemStats:
      type: object
      description: serialize watch item stats
      properties:
        duration:
          type: integer
        duration_str:
          type: string
        progress:
          type: number
          format: double
        items:
          type: integer
      required:
      - duration
      - duration_str
      - items
      - progress
    PlaylistStats:
      type: object
      description: serialize playlists stats
      properties:
        doc_count:
          type:
          - integer
          - 'null'
        active_true:
          type:
          - integer
          - 'null'
        active_false:
          type:
          - integer
          - 'null'
        subscribed_false:
          type:
          - integer
          - 'null'
        subscribed_true:
          type:
          - integer
          - 'null'
      required:
      - active_false
      - active_true
      - doc_count
      - subscribed_false
      - subscribed_true
    ChannelStats:
      type: object
      description: serialize channel stats
      properties:
        doc_count:
          type:
          - integer
          - 'null'
        active_true:
          type:
          - integer
          - 'null'
        active_false:
          type:
          - integer
          - 'null'
        subscribed_true:
          type:
          - integer
          - 'null'
        subscribed_false:
          type:
          - integer
          - 'null'
      required:
      - active_false
      - active_true
      - doc_count
      - subscribed_false
      - subscribed_true
    BiggestChannelItem:
      type: object
      description: serialize biggest channel item
      properties:
        id:
          type: string
        name:
          type: string
        doc_count:
          type: integer
        duration:
          type: integer
        duration_str:
          type: string
        media_size:
          type: integer
      required:
      - doc_count
      - duration
      - duration_str
      - id
      - media_size
      - name
    DownloadHistItem:
      type: object
      description: serialize download hist item
      properties:
        date:
          type: string
        count:
          type: integer
        media_size:
          type: integer
      required:
      - count
      - date
      - media_size
    VideoStats:
      type: object
      description: serialize video stats
      properties:
        doc_count:
          type: integer
        media_size:
          type: integer
        duration:
          type: integer
        duration_str:
          type: string
        type_videos:
          allOf:
          - $ref: '#/components/schemas/VideoStatsItem'
        type_shorts:
          allOf:
          - $ref: '#/components/schemas/VideoStatsItem'
        type_streams:
          allOf:
          - $ref: '#/components/schemas/VideoStatsItem'
        active_true:
          allOf:
          - $ref: '#/components/schemas/VideoStatsItem'
        active_false:
          allOf:
          - $ref: '#/components/schemas/VideoStatsItem'
      required:
      - active_false
      - active_true
      - doc_count
      - duration
      - duration_str
      - media_size
      - type_shorts
      - type_streams
      - type_videos
    VideoStatsItem:
      type: object
      description: serialize video stats item
      properties:
        doc_count:
          type: integer
        media_size:
          type: integer
        duration:
          type: integer
        duration_str:
          type: string
      required:
      - doc_count
      - duration
      - duration_str
      - media_size
  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