> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tranzor.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Список eSIM тарифов

> Возвращает список доступных eSIM тарифов, сгруппированных по странам. Цены указаны в USD.



## OpenAPI

````yaml GET /api/v1/esim
openapi: 3.1.0
info:
  title: Tranzor API
  description: >-
    API для приёма криптовалютных платежей и ресселинга eSIM. Создавайте
    инвойсы, продавайте eSIM, отслеживайте статусы.
  version: 1.0.0
  contact:
    name: Tranzor Support
    url: https://tranzor.io
servers:
  - url: https://sand.tranzor.io
    description: Sandbox
security:
  - BearerAuth: []
  - HmacAuth: []
externalDocs:
  description: Полная документация
  url: https://docs.tranzor.io/
paths:
  /api/v1/esim:
    get:
      tags:
        - eSIM
      summary: Список eSIM тарифов
      description: >-
        Возвращает список доступных eSIM тарифов, сгруппированных по странам.
        Цены указаны в USD.
      operationId: listEsimPlans
      parameters:
        - name: country
          in: query
          schema:
            type: string
          description: Фильтр по ISO2 коду страны (например US, DE, TR)
        - name: search
          in: query
          schema:
            type: string
          description: Поиск по названию страны
      responses:
        '200':
          description: Список тарифов
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  data:
                    type: object
                    properties:
                      countries:
                        type: array
                        items:
                          type: object
                          properties:
                            country:
                              type: string
                              example: Германия
                            countryEn:
                              type: string
                              example: Germany
                            countryIso:
                              type: string
                              example: DE
                            flag:
                              type: string
                              format: uri
                            plans:
                              type: array
                              items:
                                type: object
                                properties:
                                  id:
                                    type: string
                                  dataGb:
                                    type: string
                                    example: '5'
                                  days:
                                    type: integer
                                    example: 30
                                  priceUsd:
                                    type: number
                                    example: 12.5
                                  operators:
                                    type: string
                      totalPlans:
                        type: integer
                      supportedDevices:
                        type: array
                        items:
                          type: object
        '401':
          $ref: '#/components/responses/Unauthorized'
components:
  responses:
    Unauthorized:
      description: Не авторизован
      content:
        application/json:
          schema:
            type: object
            properties:
              success:
                type: boolean
                example: false
              error:
                type: string
                example: Invalid API key
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: API ключ в формате `trz_...`
    HmacAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: |-
        HMAC аутентификация. Требуются заголовки:
        - `X-API-Key` — ваш API ключ
        - `X-Timestamp` — текущий unix timestamp (секунды, ±5 мин)
        - `X-Signature` — HMAC-SHA256 подпись

        Строка для подписи: `{timestamp}{METHOD}{path}{body}`
        Ключ подписи: `Secret Key` (выдаётся при создании API ключа)

````