Lium Public demand feed API

The Public demand feed API from Lium — 1 operation(s) for public demand feed.

GitHub OpenAPI

Operations 1

GET /public/v1/requests Open machine requests per GPU class #

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-public-demand-feed-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-public-demand-feed-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Lium Backend Public demand feed API
  description: '## 🚀 Lium Backend API


    A comprehensive compute platform that enables users to rent GPU resources from a network of providers/nodes.


    *Built with FastAPI, PostgreSQL and Redis.*'
  contact:
    name: Lium
    url: https://lium.io/
    email: support@lium.io
  license:
    name: MIT
    url: https://opensource.org/licenses/MIT
  version: 1.0.0
servers:
- url: /api
  description: Production API
tags:
- name: Public demand feed
paths:
  /public/v1/requests:
    get:
      tags:
      - Public demand feed
      summary: Open machine requests per GPU class
      description: 'What renters are asking for right now, aggregated per GPU class: how many open requests, how many GPUs they add up to and when the oldest was filed. No requester data, no per-request rows. No authentication. Fields are only ever added; a breaking change ships as /public/v2. 404 while the feature is off.'
      operationId: list_requested_classes_public_v1_requests_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RequestsFeedResponse'
        '404':
          description: The demand feed is not enabled (MACHINE_REQUEST_NOTIFY_V2_ENABLED off)
components:
  schemas:
    RequestsFeedResponse:
      properties:
        generated_at:
          type: string
          format: date-time
          title: Generated At
        requests:
          items:
            $ref: '#/components/schemas/RequestedClass'
          type: array
          title: Requests
        classes:
          items:
            type: string
          type: array
          title: Classes
      type: object
      required:
      - generated_at
      - requests
      - classes
      title: RequestsFeedResponse
    RequestedClass:
      properties:
        class:
          type: string
          title: Class
          description: The GPU class key (utils/gpu_class.py), e.g. B300.
        requests:
          type: integer
          title: Requests
          description: Open requests for the class.
        gpus_asked:
          type: integer
          title: Gpus Asked
          description: GPUs those requests add up to; a request without a count adds none.
        oldest_at:
          type: string
          format: date-time
          title: Oldest At
          description: When the oldest open request for the class was filed.
      type: object
      required:
      - class
      - requests
      - gpus_asked
      - oldest_at
      title: RequestedClass
  securitySchemes:
    JwtAccessBearer:
      type: http
      scheme: bearer
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key