KodShop Public API

The Public API from KodShop — 6 operation(s) for public.

GitHub OpenAPI

Operations 6

GET /api/public/esim/bundles eSIM data bundles for a country #
GET /api/public/esim/countries Countries with eSIM coverage #
GET /api/public/health Service health #
GET /api/public/phone/info Rentable phone-number countries and pricing #
GET /api/public/products List catalog products #
GET /api/public/products/{id} Product detail with buyable items (denominations) #

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/kodshop-cloud:kodshop-cloud-public-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

kodshop-cloud-public-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  contact:
    email: support@support.kodshop.cloud
    url: https://kodshop.cloud
  description: Public, unauthenticated API of kodshop.cloud — browse the gift card / eSIM / phone-number catalog. Prices are in RUB. See https://kodshop.cloud/llms.txt for the agent guide and https://kodshop.cloud/auth.md for authentication.
  title: KodShop Public API
  version: 1.0.0
servers:
- url: https://kodshop.cloud
tags:
- name: Public
paths:
  /api/public/esim/bundles:
    get:
      operationId: listEsimBundles
      parameters:
      - in: query
        name: country
        required: true
        schema:
          type: string
      responses:
        '200':
          content:
            application/json: {}
          description: Bundle list
      security: []
      summary: eSIM data bundles for a country
      tags:
      - Public
  /api/public/esim/countries:
    get:
      operationId: listEsimCountries
      responses:
        '200':
          content:
            application/json: {}
          description: Country list
      security: []
      summary: Countries with eSIM coverage
      tags:
      - Public
  /api/public/health:
    get:
      operationId: health
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  brand:
                    type: string
                  git_hash:
                    type: string
                  status:
                    type: string
                type: object
          description: OK
      security: []
      summary: Service health
      tags:
      - Public
  /api/public/phone/info:
    get:
      operationId: phoneInfo
      responses:
        '200':
          content:
            application/json: {}
          description: Phone rental catalog
      security: []
      summary: Rentable phone-number countries and pricing
      tags:
      - Public
  /api/public/products:
    get:
      description: Gift cards (voucher), top-ups (recharge_fixed) and eSIM (e_sim). Unfiltered responses are ~1200 rows.
      operationId: listProducts
      parameters:
      - in: query
        name: type
        schema:
          enum:
          - voucher
          - recharge_fixed
          - recharge
          - e_sim
          type: string
      - description: ISO-3166-1 alpha-2
        in: query
        name: country
        schema:
          type: string
      - description: Exact category match, case-insensitive
        in: query
        name: category
        schema:
          type: string
      - description: Free-text match on product name + brand
        in: query
        name: q
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  count:
                    type: integer
                  products:
                    items:
                      $ref: '#/components/schemas/ProductSummary'
                    type: array
                type: object
          description: Matching products
      security: []
      summary: List catalog products
      tags:
      - Public
  /api/public/products/{id}:
    get:
      operationId: getProduct
      parameters:
      - in: path
        name: id
        required: true
        schema:
          type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductDetail'
          description: Product detail
        '404':
          description: No such product
      security: []
      summary: Product detail with buyable items (denominations)
      tags:
      - Public
components:
  schemas:
    ProductDetail:
      allOf:
      - $ref: '#/components/schemas/ProductSummary'
      - properties:
          content:
            description: Description / instructions / terms
            type: object
          fields:
            description: Per-product input requirements (e.g. account_number for top-ups).
            items:
              type: object
            type: array
          items:
            items:
              $ref: '#/components/schemas/Item'
            type: array
        type: object
    Item:
      description: One buyable denomination.
      properties:
        currency:
          example: RUB
          type: string
        id:
          type: integer
        in_stock:
          type: boolean
        name:
          type: string
        price:
          description: Price of this denomination, in currency
          type: number
        price_rub:
          description: Legacy alias of price — see ProductSummary.min_price_rub
          type: number
        restricted_countries:
          description: ISO-2 codes where this code cannot be redeemed. Omitted entirely when there are no restrictions — treat an absent key as an empty list.
          items:
            type: string
          type: array
      type: object
    ProductSummary:
      properties:
        available_for_sale:
          type: boolean
        brand:
          nullable: true
          type: string
        category:
          nullable: true
          type: string
        country:
          nullable: true
          type: string
        currency:
          example: RUB
          type: string
        id:
          type: integer
        in_stock:
          type: boolean
        in_stock_count:
          description: Units left. Absent when the count is unknown but the product is available.
          type: integer
        items_count:
          type: integer
        min_price:
          description: Cheapest denomination, in currency
          type: number
        min_price_rub:
          description: Legacy alias of min_price. Same number, same currency — the _rub suffix is a storage-era name, not a hint about units. Prefer min_price + currency.
          type: number
        name:
          type: string
        requires_account:
          description: true = you must send account_number when ordering (top-ups). Derived from the product's fields[], so it is safe to branch on.
          type: boolean
        requires_amount:
          description: 'true = variable-amount product: send amount instead of item_id.'
          type: boolean
        type:
          enum:
          - voucher
          - recharge_fixed
          - recharge
          - e_sim
          type: string
      type: object