Lium Provider Ledger API

The Provider Ledger API from Lium — 2 operation(s) for provider ledger.

GitHub OpenAPI

Operations 2

GET /provider-ledger/daily the signed-in provider's ledger rows, one per UTC day and kind #
GET /provider-ledger/nodes/daily the signed-in e-mail account's rental and idle pay per UTC day and node #

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-provider-ledger-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-provider-ledger-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Lium Miner Portal Provider Ledger API
  version: 0.1.0
servers:
- url: /api
tags:
- name: Provider Ledger
paths:
  /provider-ledger/daily:
    get:
      tags:
      - Provider Ledger
      summary: the signed-in provider's ledger rows, one per UTC day and kind
      description: 'Takes no account parameter: the account comes from the session token, so nothing can name another one.'
      operationId: get_provider_ledger_daily_provider_ledger_daily_get
      security:
      - HTTPBearer: []
      parameters:
      - name: from
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            format: date
          - type: 'null'
          title: From
      - name: to
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            format: date
          - type: 'null'
          title: To
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DetailResponse_ProviderLedgerDailyResponse_'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /provider-ledger/nodes/daily:
    get:
      tags:
      - Provider Ledger
      summary: the signed-in e-mail account's rental and idle pay per UTC day and node
      description: 'Scoped by the session, like /daily: only the account''s own nodes. A key account has its Earnings page.'
      operationId: get_provider_ledger_nodes_daily_provider_ledger_nodes_daily_get
      security:
      - HTTPBearer: []
      parameters:
      - name: from
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            format: date
          - type: 'null'
          title: From
      - name: to
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            format: date
          - type: 'null'
          title: To
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DetailResponse_ProviderNodeDailyResponse_'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    DetailResponse_ProviderNodeDailyResponse_:
      properties:
        success:
          type: boolean
          title: Success
          description: Whether the request was successful
          default: true
        data:
          $ref: '#/components/schemas/ProviderNodeDailyResponse'
          description: Single item data
        timestamp:
          type: string
          format: date-time
          title: Timestamp
          description: Response timestamp
      type: object
      required:
      - data
      title: DetailResponse[ProviderNodeDailyResponse]
    ProviderNodeDayRow:
      properties:
        date:
          type: string
          title: Date
        node_id:
          type: string
          title: Node Id
        rental_usd:
          type: number
          title: Rental Usd
          default: 0.0
        adjustments_usd:
          type: number
          title: Adjustments Usd
          default: 0.0
        idle_usd:
          anyOf:
          - type: number
          - type: 'null'
          title: Idle Usd
          default: 0.0
      type: object
      required:
      - date
      - node_id
      title: ProviderNodeDayRow
    ProviderAccountAdjustment:
      properties:
        date:
          type: string
          title: Date
        amount_usd:
          type: number
          title: Amount Usd
        repays:
          items:
            $ref: '#/components/schemas/ProviderDebtRepaid'
          type: array
          title: Repays
        still_owed_usd:
          anyOf:
          - type: number
          - type: 'null'
          title: Still Owed Usd
      type: object
      required:
      - date
      - amount_usd
      title: ProviderAccountAdjustment
    ProviderLedgerSummary:
      properties:
        lifetime_rental_share_usd:
          type: number
          title: Lifetime Rental Share Usd
          default: 0.0
        lifetime_emission_share_usd:
          type: number
          title: Lifetime Emission Share Usd
          default: 0.0
        month_rental_share_usd:
          type: number
          title: Month Rental Share Usd
          default: 0.0
        month_emission_share_usd:
          type: number
          title: Month Emission Share Usd
          default: 0.0
        pending_idle_usd:
          type: number
          title: Pending Idle Usd
          default: 0.0
        pending_idle_days:
          items:
            type: string
          type: array
          title: Pending Idle Days
        pending_rental_usd:
          type: number
          title: Pending Rental Usd
          default: 0.0
        pending_rental_days:
          items:
            type: string
          type: array
          title: Pending Rental Days
      type: object
      title: ProviderLedgerSummary
    ProviderLedgerDailyResponse:
      properties:
        date_from:
          type: string
          title: Date From
        date_to:
          type: string
          title: Date To
        summary:
          $ref: '#/components/schemas/ProviderLedgerSummary'
        rows:
          items:
            $ref: '#/components/schemas/ProviderLedgerRow'
          type: array
          title: Rows
      type: object
      required:
      - date_from
      - date_to
      title: ProviderLedgerDailyResponse
    DetailResponse_ProviderLedgerDailyResponse_:
      properties:
        success:
          type: boolean
          title: Success
          description: Whether the request was successful
          default: true
        data:
          $ref: '#/components/schemas/ProviderLedgerDailyResponse'
          description: Single item data
        timestamp:
          type: string
          format: date-time
          title: Timestamp
          description: Response timestamp
      type: object
      required:
      - data
      title: DetailResponse[ProviderLedgerDailyResponse]
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ProviderLedgerRow:
      properties:
        date:
          type: string
          title: Date
        kind:
          type: string
          title: Kind
        amount_usd:
          type: number
          title: Amount Usd
      type: object
      required:
      - date
      - kind
      - amount_usd
      title: ProviderLedgerRow
    ProviderNodeDailyResponse:
      properties:
        date_from:
          type: string
          title: Date From
        date_to:
          type: string
          title: Date To
        idle_available:
          type: boolean
          title: Idle Available
          default: true
        rows:
          items:
            $ref: '#/components/schemas/ProviderNodeDayRow'
          type: array
          title: Rows
        account_adjustments:
          items:
            $ref: '#/components/schemas/ProviderAccountAdjustment'
          type: array
          title: Account Adjustments
        all_time_rental_usd:
          anyOf:
          - type: number
          - type: 'null'
          title: All Time Rental Usd
        all_time_idle_usd:
          anyOf:
          - type: number
          - type: 'null'
          title: All Time Idle Usd
      type: object
      required:
      - date_from
      - date_to
      title: ProviderNodeDailyResponse
    ProviderDebtRepaid:
      properties:
        date:
          type: string
          title: Date
        description:
          anyOf:
          - type: string
          - type: 'null'
          title: Description
        provider_note:
          anyOf:
          - type: string
          - type: 'null'
          title: Provider Note
        node_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Node Id
        amount_usd:
          type: number
          title: Amount Usd
      type: object
      required:
      - date
      - amount_usd
      title: ProviderDebtRepaid
    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