VidCrawl Discovery API

The Discovery API from VidCrawl, for discovery.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 1

POST /v1/search Search videos with optional scrape enrichment (Layer 2B) #

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/vidcrawl-com:vidcrawl-com-discovery-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

vidcrawl-com-discovery-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: VidCrawl Discovery API
  version: 1.0.0
  description: Progressive video context for AI agents. Scrape metadata, full descriptions, transcripts, and storyboards first, then inspect high-res frames or run the grounded video agent.
servers:
- url: https://vidcrawl.com
  description: API Server
security:
- bearerAuth: []
- apiKeyAuth: []
tags:
- name: Discovery
paths:
  /v1/search:
    post:
      tags:
      - Discovery
      operationId: searchVideos
      summary: Search videos with optional scrape enrichment (Layer 2B)
      description: Searches live YouTube videos (source="live", 1 credit + 1 per scraped video) or searches the cached video index (source="index", 0 credits up to 1,000/day with optional domain filter and [MM:SS] transcript snippets, +1 per scraped result when scrape=true).
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SearchRequest'
      responses:
        '200':
          description: Search results returned
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SearchResponse'
        '400':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: A valid API key is required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '402':
          description: Insufficient credits before upstream execution
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Video is unavailable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: Daily free index search limit reached
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Search failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '502':
          description: Upstream provider failed or challenged the request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    SearchResponse:
      type: object
      properties:
        ok:
          type: boolean
        query:
          type: string
        platform:
          type: string
          enum:
          - youtube
          - tiktok
        results:
          type: array
          items:
            type: object
            properties:
              video_id:
                type: string
              url:
                type: string
              title:
                type: string
              author:
                type: string
              channel_id:
                type: string
              duration_sec:
                type: number
              duration:
                type: string
              views:
                type: number
              published_at:
                type: string
              thumbnail_url:
                type: string
              snippet:
                type: string
              scraped:
                type: object
                properties:
                  ok:
                    type: boolean
                  scrape_id:
                    type: string
                  platform:
                    type: string
                    enum:
                    - youtube
                    - tiktok
                    - instagram
                    - x
                    - unknown
                  video_id:
                    type: string
                  canonical_url:
                    type: string
                  metadata:
                    type: object
                    properties:
                      title:
                        type: string
                      author:
                        type: string
                      channel_id:
                        type: string
                      duration_sec:
                        type: number
                      views:
                        type: number
                      likes:
                        type: number
                      published_at:
                        type: string
                      description:
                        type: string
                      description_links:
                        type: array
                        items:
                          type: string
                      thumbnail_url:
                        type: string
                      chapters:
                        type: array
                        items:
                          type: object
                          properties:
                            title:
                              type: string
                            start_sec:
                              type: number
                            timestamp:
                              type: string
                          required:
                          - title
                          - start_sec
                          - timestamp
                        default: []
                    required:
                    - title
                    - author
                    - duration_sec
                  transcript:
                    type: object
                    properties:
                      source:
                        type: string
                        enum:
                        - native_manual
                        - native_auto
                        - ai_asr
                        - caption_text
                        - none
                      language:
                        type: string
                      full_text:
                        type: string
                      segments:
                        type: array
                        items:
                          type: object
                          properties:
                            start_sec:
                              type: number
                            end_sec:
                              type: number
                            duration_sec:
                              type: number
                            timestamp:
                              type: string
                            text:
                              type: string
                          required:
                          - start_sec
                          - end_sec
                          - duration_sec
                          - timestamp
                          - text
                      truncated:
                        type: boolean
                      covered_sec:
                        type: number
                    required:
                    - source
                    - language
                    - full_text
                    - segments
                  storyboard:
                    type: object
                    properties:
                      strategy:
                        type: string
                        enum:
                        - youtube_storyboard
                        - ffmpeg_contact_sheet
                        - thumbnail
                        - none
                      interval_sec:
                        type: number
                      total_tiles:
                        type: number
                      sheets:
                        type: array
                        items:
                          type: object
                          properties:
                            sheet_index:
                              type: number
                            url:
                              type: string
                            local_path:
                              type: string
                            width:
                              type: number
                            height:
                              type: number
                            cols:
                              type: number
                            rows:
                              type: number
                            tile_width:
                              type: number
                            tile_height:
                              type: number
                            tiles:
                              type: array
                              items:
                                type: object
                                properties:
                                  index:
                                    type: number
                                  timestamp_sec:
                                    type: number
                                  timestamp:
                                    type: string
                                  row:
                                    type: number
                                  col:
                                    type: number
                                required:
                                - index
                                - timestamp_sec
                                - timestamp
                                - row
                                - col
                          required:
                          - sheet_index
                          - url
                          - width
                          - height
                          - cols
                          - rows
                          - tile_width
                          - tile_height
                          - tiles
                    required:
                    - strategy
                    - interval_sec
                    - total_tiles
                    - sheets
                  markdown:
                    type: string
                  metrics:
                    type: object
                    properties:
                      latency_ms:
                        type: number
                      network_bytes:
                        type: number
                      proxy_bytes:
                        type: number
                      credits_used:
                        type: number
                      estimated_cost_usd:
                        type: number
                    required:
                    - latency_ms
                    - network_bytes
                    - credits_used
                    - estimated_cost_usd
                required:
                - ok
                - platform
                - video_id
                - canonical_url
                - metadata
                - transcript
                - storyboard
                - markdown
                - metrics
            required:
            - video_id
            - url
            - title
            - author
            - duration_sec
            - duration
        metrics:
          type: object
          properties:
            latency_ms:
              type: number
            network_bytes:
              type: number
            credits_used:
              type: number
          required:
          - latency_ms
          - network_bytes
          - credits_used
      required:
      - ok
      - query
      - platform
      - results
      - metrics
    SearchRequest:
      type: object
      properties:
        query:
          type: string
          minLength: 1
          maxLength: 200
        platform:
          type: string
          enum:
          - youtube
          - tiktok
          default: youtube
        limit:
          type: integer
          minimum: 1
          maximum: 20
          default: 5
        scrape:
          type: boolean
          default: false
        lang:
          type: string
          maxLength: 16
          pattern: ^[A-Za-z]{2,3}(-[A-Za-z0-9]{2,8})*$
          default: en
        source:
          type: string
          enum:
          - live
          - index
          default: live
        domain:
          type: string
          minLength: 1
          maxLength: 200
      required:
      - query
    ErrorResponse:
      type: object
      properties:
        ok:
          type: boolean
          enum:
          - false
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
            issues:
              type: array
              items: {}
            request_id:
              type: string
          required:
          - code
          - message
      required:
      - ok
      - error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API key
      description: 'Use Authorization: Bearer <API_KEY>.'
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: 'Use x-api-key: <API_KEY>.'