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

# Catalog Geo

> Drill into a country: regions → cities → ISPs.

Rotating categories only - static ISP/DC packages are sold per country.



## OpenAPI

````yaml /api-reference/proxy.json post /v1/proxy/catalog/{category}/geo
openapi: 3.1.0
info:
  title: Lumi Proxy API
  version: 1.1.0
  description: >-
    Публичный REST API прокси Lumi. Ключ привязан к одному аккаунту и делает то
    же, что клиент делает в боте.


    Авторизация: `Authorization: Bearer <ключ>`. Денежные запросы дополнительно
    требуют заголовок `Idempotency-Key`.
servers:
  - url: https://api.lumiweb.cc/proxy
    description: production
security:
  - bearerAuth: []
paths:
  /v1/proxy/catalog/{category}/geo:
    post:
      tags:
        - proxy
      summary: Catalog Geo
      description: |-
        Drill into a country: regions → cities → ISPs.

        Rotating categories only - static ISP/DC packages are sold per country.
      operationId: catalog_geo
      parameters:
        - name: category
          in: path
          required: true
          schema:
            type: string
            title: Category
        - name: authorization
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Authorization
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GeoRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GeoOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    GeoRequest:
      properties:
        level:
          type: string
          enum:
            - regions
            - cities
            - isps
          title: Level
        country:
          type: string
          maxLength: 64
          minLength: 2
          title: Country
        region:
          anyOf:
            - type: string
              maxLength: 128
            - type: 'null'
          title: Region
        city:
          anyOf:
            - type: string
              maxLength: 128
            - type: 'null'
          title: City
      type: object
      required:
        - level
        - country
      title: GeoRequest
    GeoOut:
      properties:
        category:
          type: string
          title: Category
        level:
          type: string
          title: Level
        values:
          items:
            type: string
          type: array
          title: Values
      type: object
      required:
        - category
        - level
        - values
      title: GeoOut
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Ключ вида lumi_proxy_… Выдаётся оператором.

````