TubeGrade Search API

The Search API from TubeGrade, for search.

GitHub OpenAPI

Operations 3

POST /search Post Search #
POST /search/continue Post Search Continue #
POST /v1/search Search #

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-search-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-search-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Fast Search API
  version: 0.1.0
tags:
- name: Search
paths:
  /search:
    post:
      summary: Post Search
      description: 'Bulk search processing for multiple queries in parallel.


        Each query result includes a `continuation` token (when more pages exist)

        that can be passed to POST /search/continue to fetch the next batch.'
      operationId: post_search_search_post
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          default: 5
          title: Limit
      - name: sp
        in: query
        required: false
        schema:
          type: string
          title: Sp
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Body_post_search_search_post'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Search
  /search/continue:
    post:
      summary: Post Search Continue
      description: 'Follow a continuation token returned by POST /search.


        Body params:

        token - string, continuation token (required)

        limit - int, max results in this batch (default 20, max SEARCH_MAX_LIMIT)


        Returns {count, results, continuation}. `continuation` is null when there

        are no more pages.'
      operationId: post_search_continue_search_continue_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Body_post_search_continue_search_continue_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:
      - Search
  /v1/search:
    post:
      tags:
      - Search
      summary: Search
      description: Search YouTube videos with filters for video type, upload date, and duration. Results include view counts, channel info, and thumbnails, plus the channel's subscriberCount (with subscriberCountText giving the YouTube-style '4.24M' form), channelAvgViews, uploadFrequency, and outlierRatio (this video's views / the channel average). Those keys are omitted for channels that can't be resolved.
      operationId: post_search_v1_search_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/SearchRequest'
      responses:
        '200':
          description: List of matching videos
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Post Search V1 Search 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
    SearchRequest:
      properties:
        query:
          type: string
          maxLength: 500
          minLength: 1
          title: Query
          description: Search query
        limit:
          type: integer
          maximum: 50.0
          minimum: 1.0
          title: Limit
          description: Max results to return
          default: 20
        video_type:
          type: string
          title: Video Type
          description: '''long'' or ''short'''
          default: long
        upload_date:
          type: string
          title: Upload Date
          description: '''today'', ''week'', ''month'', ''year'', ''all'''
          default: month
        duration_range:
          type: string
          title: Duration Range
          description: '''3-20'', ''20+'', or ''all'''
          default: all
      type: object
      required:
      - query
      title: SearchRequest
    Body_post_search_continue_search_continue_post:
      properties:
        token:
          type: string
          title: Token
        limit:
          type: integer
          title: Limit
          default: 20
      type: object
      required:
      - token
      title: Body_post_search_continue_search_continue_post
    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
    Body_post_search_search_post:
      properties:
        queries:
          anyOf:
          - type: string
          - items:
              type: string
            type: array
          title: Queries
      type: object
      required:
      - queries
      title: Body_post_search_search_post