Akash Network Leases API

The Leases API from Akash Network — 2 operation(s) for leases.

Operations 2

POST /v1/leases Create leases and send manifest #
GET /akash/market/{version}/leases/list List leases (database fallback)

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/akash-leases-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

akash-leases-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: AKASH - gRPC Gateway docs Addresses Leases API
  description: A REST interface for state queries
  version: 1.0.0
servers:
- url: https://console-api.akash.network/
tags:
- name: Leases
paths:
  /v1/leases:
    post:
      summary: Create leases and send manifest
      operationId: createLease
      tags:
      - Leases
      security:
      - BearerAuth: []
      - ApiKeyAuth: []
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                manifest:
                  type: string
                leases:
                  type: array
                  items:
                    type: object
                    properties:
                      dseq:
                        type: string
                        pattern: ^d+$
                      gseq:
                        type: number
                      oseq:
                        type: number
                      provider:
                        type: string
                    required:
                    - dseq
                    - gseq
                    - oseq
                    - provider
              required:
              - manifest
              - leases
      responses:
        '200':
          description: Leases created and manifest sent
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      deployment:
                        type: object
                        properties:
                          id:
                            type: object
                            properties:
                              owner:
                                type: string
                              dseq:
                                type: string
                                pattern: ^d+$
                            required:
                            - owner
                            - dseq
                          state:
                            type: string
                          hash:
                            type: string
                          created_at:
                            type: string
                        required:
                        - id
                        - state
                        - hash
                        - created_at
                      leases:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: object
                              properties:
                                owner:
                                  type: string
                                dseq:
                                  type: string
                                  pattern: ^d+$
                                gseq:
                                  type: number
                                oseq:
                                  type: number
                                provider:
                                  type: string
                                bseq:
                                  type: number
                              required:
                              - owner
                              - dseq
                              - gseq
                              - oseq
                              - provider
                              - bseq
                            state:
                              type: string
                            price:
                              type: object
                              properties:
                                denom:
                                  type: string
                                amount:
                                  type: string
                              required:
                              - denom
                              - amount
                            created_at:
                              type: string
                            closed_on:
                              type: string
                            reason:
                              type: string
                            status:
                              type:
                              - object
                              - 'null'
                              properties:
                                forwarded_ports:
                                  type: object
                                  additionalProperties:
                                    type: array
                                    items:
                                      type: object
                                      properties:
                                        port:
                                          type: number
                                        externalPort:
                                          type: number
                                        host:
                                          type: string
                                        available:
                                          type: number
                                      required:
                                      - port
                                      - externalPort
                                ips:
                                  type: object
                                  additionalProperties:
                                    type: array
                                    items:
                                      type: object
                                      properties:
                                        IP:
                                          type: string
                                        Port:
                                          type: number
                                        ExternalPort:
                                          type: number
                                        Protocol:
                                          type: string
                                      required:
                                      - IP
                                      - Port
                                      - ExternalPort
                                      - Protocol
                                services:
                                  type: object
                                  additionalProperties:
                                    type: object
                                    properties:
                                      name:
                                        type: string
                                      available:
                                        type: number
                                      total:
                                        type: number
                                      uris:
                                        type: array
                                        items:
                                          type: string
                                      observed_generation:
                                        type: number
                                      replicas:
                                        type: number
                                      updated_replicas:
                                        type: number
                                      ready_replicas:
                                        type: number
                                      available_replicas:
                                        type: number
                                    required:
                                    - name
                                    - available
                                    - total
                                    - uris
                                    - observed_generation
                                    - replicas
                                    - updated_replicas
                                    - ready_replicas
                                    - available_replicas
                              required:
                              - forwarded_ports
                              - ips
                              - services
                          required:
                          - id
                          - state
                          - price
                          - created_at
                          - closed_on
                          - status
                      escrow_account:
                        type: object
                        properties:
                          id:
                            type: object
                            properties:
                              scope:
                                type: string
                              xid:
                                type: string
                            required:
                            - scope
                            - xid
                          state:
                            type: object
                            properties:
                              owner:
                                type: string
                              state:
                                type: string
                              transferred:
                                type: array
                                items:
                                  type: object
                                  properties:
                                    denom:
                                      type: string
                                    amount:
                                      type: string
                                  required:
                                  - denom
                                  - amount
                              settled_at:
                                type: string
                              funds:
                                type: array
                                items:
                                  type: object
                                  properties:
                                    denom:
                                      type: string
                                    amount:
                                      type: string
                                  required:
                                  - denom
                                  - amount
                              deposits:
                                type: array
                                items:
                                  type: object
                                  properties:
                                    owner:
                                      type: string
                                    height:
                                      type: string
                                    source:
                                      type: string
                                    balance:
                                      type: object
                                      properties:
                                        denom:
                                          type: string
                                        amount:
                                          type: string
                                      required:
                                      - denom
                                      - amount
                                  required:
                                  - owner
                                  - height
                                  - source
                                  - balance
                            required:
                            - owner
                            - state
                            - transferred
                            - settled_at
                            - funds
                            - deposits
                        required:
                        - id
                        - state
                    required:
                    - deployment
                    - leases
                    - escrow_account
                required:
                - data
  /akash/market/{version}/leases/list:
    get:
      summary: List leases (database fallback)
      tags:
      - Leases
      security: []
      parameters:
      - schema:
          type: string
        required: false
        name: filters.owner
        in: query
      - schema:
          type: string
        required: false
        name: filters.dseq
        in: query
      - schema:
          type:
          - number
          - 'null'
        required: false
        name: filters.gseq
        in: query
      - schema:
          type:
          - number
          - 'null'
        required: false
        name: filters.oseq
        in: query
      - schema:
          type: string
        required: false
        name: filters.provider
        in: query
      - schema:
          type: string
        required: false
        name: filters.state
        in: query
      - schema:
          type:
          - number
          - 'null'
        required: false
        name: pagination.offset
        in: query
      - schema:
          type:
          - number
          - 'null'
        required: false
        name: pagination.limit
        in: query
      - schema:
          type: string
        required: false
        name: pagination.key
        in: query
      - schema:
          type: string
        required: false
        name: pagination.count_total
        in: query
      - schema:
          type:
          - boolean
          - 'null'
        required: false
        name: pagination.reverse
        in: query
      responses:
        '200':
          description: Returns paginated list of leases from database
          content:
            application/json:
              schema:
                type: object
                properties:
                  leases:
                    type: array
                    items:
                      type: object
                      properties:
                        lease:
                          type: object
                          properties:
                            id:
                              type: object
                              properties:
                                owner:
                                  type: string
                                dseq:
                                  type: string
                                  pattern: ^d+$
                                gseq:
                                  type: number
                                oseq:
                                  type: number
                                provider:
                                  type: string
                                bseq:
                                  type: number
                              required:
                              - owner
                              - dseq
                              - gseq
                              - oseq
                              - provider
                              - bseq
                            state:
                              type: string
                            price:
                              type: object
                              properties:
                                denom:
                                  type: string
                                amount:
                                  type: string
                              required:
                              - denom
                              - amount
                            created_at:
                              type: string
                            closed_on:
                              type: string
                            reason:
                              type: string
                          required:
                          - id
                          - state
                          - price
                          - created_at
                          - closed_on
                        escrow_payment:
                          type: object
                          properties:
                            id:
                              type: object
                              properties:
                                aid:
                                  type: object
                                  properties:
                                    scope:
                                      type: string
                                    xid:
                                      type: string
                                  required:
                                  - scope
                                  - xid
                                xid:
                                  type: string
                              required:
                              - aid
                              - xid
                            state:
                              type: object
                              properties:
                                owner:
                                  type: string
                                state:
                                  type: string
                                rate:
                                  type: object
                                  properties:
                                    denom:
                                      type: string
                                    amount:
                                      type: string
                                  required:
                                  - denom
                                  - amount
                                balance:
                                  type: object
                                  properties:
                                    denom:
                                      type: string
                                    amount:
                                      type: string
                                  required:
                                  - denom
                                  - amount
                                unsettled:
                                  type: object
                                  properties:
                                    denom:
                                      type: string
                                    amount:
                                      type: string
                                  required:
                                  - denom
                                  - amount
                                withdrawn:
                                  type: object
                                  properties:
                                    denom:
                                      type: string
                                    amount:
                                      type: string
                                  required:
                                  - denom
                                  - amount
                              required:
                              - owner
                              - state
                              - rate
                              - balance
                              - unsettled
                              - withdrawn
                          required:
                          - id
                          - state
                      required:
                      - lease
                      - escrow_payment
                  pagination:
                    type: object
                    properties:
                      next_key:
                        type:
                        - string
                        - 'null'
                      total:
                        type: string
                    required:
                    - next_key
                    - total
                required:
                - leases
                - pagination
components:
  securitySchemes:
    kms:
      type: http
      scheme: basic