Lium Validators API

The Validators API from Lium — 3 operation(s) for validators.

GitHub OpenAPI

Operations 3

GET /validators/best-validator/{gpu_type}/{gpu_count} Get Best Validator #
GET /validators Get All Validators #
GET /validators/opted-in Get Miner Opt In Status #

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/lium-io:lium-io-validators-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

lium-io-validators-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Lium Miner Portal Validators API
  version: 0.1.0
servers:
- url: /api
tags:
- name: Validators
paths:
  /validators/best-validator/{gpu_type}/{gpu_count}:
    get:
      summary: Get Best Validator
      operationId: get_best_validator_validators_best_validator__gpu_type___gpu_count__get
      parameters:
      - name: gpu_type
        in: path
        required: true
        schema:
          type: string
          title: Gpu Type
      - name: gpu_count
        in: path
        required: true
        schema:
          type: integer
          minimum: 1
          title: Gpu Count
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidatorResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Validators
  /validators:
    get:
      summary: Get All Validators
      operationId: get_all_validators_validators_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListResponse_ValidatorResponse_'
      tags:
      - Validators
  /validators/opted-in:
    get:
      summary: Get Miner Opt In Status
      description: 'Every account with the Central Miner Server switch ON (opt_in_status true; NULL is OFF) and at least 1 node:

        the validators rewrite each listed hotkey''s axon to the central miner'
      operationId: get_miner_opt_in_status_validators_opted_in_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/OptInStatusResponse'
                type: array
                title: Response Get Miner Opt In Status Validators Opted In Get
      tags:
      - Validators
components:
  schemas:
    ValidatorResponse:
      properties:
        hotkey:
          type: string
          title: Hotkey
      type: object
      required:
      - hotkey
      title: ValidatorResponse
    ListResponse_ValidatorResponse_:
      properties:
        success:
          type: boolean
          title: Success
          description: Whether the request was successful
          default: true
        data:
          items:
            $ref: '#/components/schemas/ValidatorResponse'
          type: array
          title: Data
          description: List of items
        total:
          type: integer
          title: Total
          description: Total number of items
        pagination:
          anyOf:
          - $ref: '#/components/schemas/PaginationMeta'
          - type: 'null'
          description: Pagination metadata (optional)
        timestamp:
          type: string
          format: date-time
          title: Timestamp
          description: Response timestamp
      type: object
      required:
      - data
      - total
      title: ListResponse[ValidatorResponse]
    PaginationMeta:
      properties:
        page:
          type: integer
          title: Page
          description: Current page number
        limit:
          type: integer
          title: Limit
          description: Items per page
        has_next:
          type: boolean
          title: Has Next
          description: Whether there are more pages
        has_prev:
          type: boolean
          title: Has Prev
          description: Whether there are previous pages
      type: object
      required:
      - page
      - limit
      - has_next
      - has_prev
      title: PaginationMeta
      description: Pagination metadata
    OptInStatusResponse:
      properties:
        miner_hotkey:
          type: string
          title: Miner Hotkey
        miner_coldkey:
          type: string
          title: Miner Coldkey
        central_miner_ip:
          type: string
          title: Central Miner Ip
        central_miner_port:
          type: integer
          title: Central Miner Port
      type: object
      required:
      - miner_hotkey
      - miner_coldkey
      - central_miner_ip
      - central_miner_port
      title: OptInStatusResponse
    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:
    JwtAccessBearer:
      type: http
      scheme: bearer
    HTTPBearer:
      type: http
      scheme: bearer