Bunny.net Statistics API

The Statistics API from Bunny.net — 3 operation(s) for statistics.

Operations 3

GET /statistics Get account statistics #
GET /statistics/optimizer Get optimizer statistics #
GET /statistics/safehop Get SafeHop statistics #

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-statistics-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-statistics-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Bunny.net Core Platform APIKeys Statistics 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: Statistics
paths:
  /statistics:
    get:
      tags:
      - Statistics
      summary: Get account statistics
      operationId: getStatistics
      parameters:
      - name: dateFrom
        in: query
        schema:
          type: string
          format: date-time
      - name: dateTo
        in: query
        schema:
          type: string
          format: date-time
      - name: pullZone
        in: query
        schema:
          type: integer
      - name: serverZoneId
        in: query
        schema:
          type: integer
      - name: loadErrors
        in: query
        schema:
          type: boolean
      - name: hourly
        in: query
        schema:
          type: boolean
      responses:
        '200':
          description: Statistics
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Statistics'
  /statistics/optimizer:
    get:
      tags:
      - Statistics
      summary: Get optimizer statistics
      operationId: getOptimizerStatistics
      responses:
        '200':
          description: Statistics
          content:
            application/json:
              schema:
                type: object
  /statistics/safehop:
    get:
      tags:
      - Statistics
      summary: Get SafeHop statistics
      operationId: getSafehopStatistics
      responses:
        '200':
          description: Statistics
          content:
            application/json:
              schema:
                type: object
components:
  schemas:
    Statistics:
      type: object
      properties:
        TotalBandwidthUsed:
          type: integer
        TotalRequestsServed:
          type: integer
        CacheHitRate:
          type: number
        BandwidthUsedChart:
          type: object
          additionalProperties:
            type: number
        BandwidthCachedChart:
          type: object
          additionalProperties:
            type: number
        CacheHitRateChart:
          type: object
          additionalProperties:
            type: number
        RequestsServedChart:
          type: object
          additionalProperties:
            type: number
        PullRequestsPulledChart:
          type: object
          additionalProperties:
            type: number
        OriginShieldBandwidthUsedChart:
          type: object
          additionalProperties:
            type: number
        OriginShieldInternalBandwidthUsedChart:
          type: object
          additionalProperties:
            type: number
        OriginTrafficChart:
          type: object
          additionalProperties:
            type: number
        Error3xxChart:
          type: object
          additionalProperties:
            type: number
        Error4xxChart:
          type: object
          additionalProperties:
            type: number
        Error5xxChart:
          type: object
          additionalProperties:
            type: number
        UserBalanceHistoryChart:
          type: object
          additionalProperties:
            type: number
        UserStorageUsedChart:
          type: object
          additionalProperties:
            type: number
        GeoTrafficDistribution:
          type: object
          additionalProperties:
            type: number
  securitySchemes:
    accessKeyAuth:
      type: apiKey
      in: header
      name: AccessKey
      description: API key issued from the Bunny.net dashboard.