TubeGrade Channels API

The Channels API from TubeGrade, for channels.

GitHub OpenAPI

Operations 3

POST /channels Post Channels #
GET /v1/channels/{channel_id} Channel Stats #
POST /v1/channels/batch Channel Stats (Batch) #

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/tubegrade-com:tubegrade-com-channels-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

tubegrade-com-channels-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Fast Channels API
  version: 0.1.0
tags:
- name: Channels
paths:
  /channels:
    post:
      summary: Post Channels
      operationId: post_channels_channels_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Body_post_channels_channels_post'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Channels
  /v1/channels/{channel_id}:
    get:
      tags:
      - Channels
      summary: Channel Stats
      description: Fetch YouTube channel metadata including subscriber count, video count, and averages. Served fresh from cache (re-scraped from YouTube when older than the freshness window, default 72h).
      operationId: get_channel_v1_channels__channel_id__get
      parameters:
      - name: channel_id
        in: path
        required: true
        schema:
          type: string
          title: Channel Id
      - name: X-API-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Channel metadata
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Get Channel V1 Channels  Channel Id  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/channels/batch:
    post:
      tags:
      - Channels
      summary: Channel Stats (Batch)
      description: Fetch up to 20 channels in a single request. Costs 2 credits per channel. Served fresh from cache; only channels older than the freshness window (default 72h) are re-scraped.
      operationId: post_channels_batch_v1_channels_batch_post
      parameters:
      - name: X-API-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BatchChannelsRequest'
      responses:
        '200':
          description: Map of channel_id → channel data
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Post Channels Batch V1 Channels Batch Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    Body_post_channels_channels_post:
      properties:
        channels:
          anyOf:
          - type: string
          - items:
              type: string
            type: array
          title: Channels
      type: object
      required:
      - channels
      title: Body_post_channels_channels_post
    BatchChannelsRequest:
      properties:
        channel_ids:
          items:
            type: string
          type: array
          maxItems: 20
          minItems: 1
          title: Channel Ids
          description: List of YouTube channel IDs (max 20)
      type: object
      required:
      - channel_ids
      title: BatchChannelsRequest
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError