Bunny.net Stream API

The Stream API from Bunny.net — 2 operation(s) for stream.

Operations 5

GET /videolibrary List video libraries #
POST /videolibrary Add video library #
GET /videolibrary/{id} Get video library #
POST /videolibrary/{id} Update video library #
DELETE /videolibrary/{id} Delete video library #

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/bunny-net-stream-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

bunny-net-stream-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Bunny.net Core Platform APIKeys Stream API
  description: 'Best-effort OpenAPI 3.1 description of the Bunny.net Core Platform REST API for managing

    Pull Zones, Storage Zones, DNS Zones, Stream video libraries, statistics, billing,

    purge, API keys, and reference data.


    Authentication uses the `AccessKey` header containing your account API key issued from

    the Bunny.net dashboard.

    '
  version: '1.0'
  contact:
    name: Bunny.net
    url: https://docs.bunny.net/reference/bunnynet-api-overview
servers:
- url: https://api.bunny.net
  description: Bunny.net Core Platform API
security:
- accessKeyAuth: []
tags:
- name: Stream
paths:
  /videolibrary:
    get:
      tags:
      - Stream
      summary: List video libraries
      operationId: listVideoLibraries
      responses:
        '200':
          description: Libraries
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/VideoLibrary'
    post:
      tags:
      - Stream
      summary: Add video library
      operationId: addVideoLibrary
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - Name
              properties:
                Name:
                  type: string
                ReplicationRegions:
                  type: array
                  items:
                    type: string
      responses:
        '201':
          description: Library
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VideoLibrary'
  /videolibrary/{id}:
    parameters:
    - $ref: '#/components/parameters/IdPath'
    get:
      tags:
      - Stream
      summary: Get video library
      operationId: getVideoLibrary
      responses:
        '200':
          description: Library
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VideoLibrary'
    post:
      tags:
      - Stream
      summary: Update video library
      operationId: updateVideoLibrary
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
      responses:
        '204':
          description: Updated
    delete:
      tags:
      - Stream
      summary: Delete video library
      operationId: deleteVideoLibrary
      responses:
        '204':
          description: Deleted
components:
  parameters:
    IdPath:
      name: id
      in: path
      required: true
      schema:
        type: integer
  schemas:
    VideoLibrary:
      type: object
      properties:
        Id:
          type: integer
        Name:
          type: string
        VideoCount:
          type: integer
        TrafficUsage:
          type: integer
        StorageUsage:
          type: integer
        ApiKey:
          type: string
        ReadOnlyApiKey:
          type: string
        DateCreated:
          type: string
          format: date-time
        ReplicationRegions:
          type: array
          items:
            type: string
        EnabledResolutions:
          type: string
        ViAiPublisherId:
          type: string
        VastTagUrl:
          type: string
        WatermarkPositionLeft:
          type: integer
        WatermarkPositionTop:
          type: integer
        WatermarkWidth:
          type: integer
        WatermarkHeight:
          type: integer
        EnableMP4Fallback:
          type: boolean
        AllowedReferrers:
          type: array
          items:
            type: string
        BlockedReferrers:
          type: array
          items:
            type: string
        BlockNoneReferrer:
          type: boolean
        EnableTokenAuthentication:
          type: boolean
        EnableTokenIPVerification:
          type: boolean
  securitySchemes:
    accessKeyAuth:
      type: apiKey
      in: header
      name: AccessKey
      description: API key issued from the Bunny.net dashboard.