Bunny.net Countries API

The Countries API from Bunny.net — 1 operation(s) for countries.

GitHub OpenAPI

Operations 1

GET /country Get Country List #

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:bunny-net-countries-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

bunny-net-countries-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: bunny.net Countries API
  description: 'Learn how to use the bunny.net API. Everything that can be done with the control panel can also be achieved with our API documented on this page. To learn how to use the storage API, have a look at our storage API documentation


    Third party API clients:


    We currently do not maintain an official API library, but you can use one of the third party ones provided here:


    https://github.com/codewithmark/bunnycdn (bunny.net PHP library, thanks to Code With Mark)


    Note that third party clients are not maintained or developed by bunny.net so we unfortunately cannot offer support for them.'
  termsOfService: https://bunny.net/tos
  contact:
    name: bunny.net
    url: https://docs.bunny.net
    email: support@bunny.net
  version: 1.0.0
servers:
- url: https://api.bunny.net
  description: bunny.net API Server
tags:
- name: Countries
paths:
  /country:
    get:
      tags:
      - Countries
      summary: Get Country List
      operationId: CountriesPublic_GetCountryList
      parameters: []
      responses:
        '200':
          description: The list of countries and tax rates
          x-nullable: false
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CountryModel'
            application/xml:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CountryModel'
        '400':
          x-nullable: false
          description: Failed removing hostname
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorData'
            application/xml:
              schema:
                $ref: '#/components/schemas/ApiErrorData'
        '401':
          description: The request authorization failed
        '500':
          description: Internal Server Error
        '503':
          description: The service is currently unavailable
      security:
      - AccessKey:
        - Subuser
        - User
        - UserApi
      description: The list of countries and tax rates
components:
  schemas:
    CountryModel:
      type: object
      additionalProperties: false
      properties:
        Name:
          type:
          - string
          - 'null'
        IsoCode:
          type:
          - string
          - 'null'
        IsEU:
          type: boolean
        TaxRate:
          type: number
          format: decimal
        TaxPrefix:
          type:
          - string
          - 'null'
        FlagUrl:
          type:
          - string
          - 'null'
        PopList:
          type:
          - array
          - 'null'
          items:
            type: string
      required:
      - IsEU
      - TaxRate
  securitySchemes:
    AccessKey:
      type: apiKey
      description: API Access Key authorization header
      name: AccessKey
      in: header
x-generator: Dynamic OpenAPI Generator v1.0.0
x-provenance:
  method: harvested
  publisher: Bunny.net
  source: https://bunny.net/docs/openapi/bunnynet-api-1.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)