Ledger Status API

The Status API from Ledger — 1 operation(s) for status.

Operations 1

GET /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/ledger-status-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 email required.

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

OpenAPI Specification

ledger-status-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Partner Swap Service Status API
  version: '2.0'
tags:
- name: Status
paths:
  /status:
    get:
      operationId: getStatus
      description: Returns the status of a quote / trade being executed.
      parameters:
      - name: swapId
        in: query
        required: true
        schema:
          type: string
        example: 1234
      responses:
        '200':
          description: Status of an executed swap transaction.
          x-summary: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Status'
              example:
                status: PENDING
                amount: '1.337'
                payinTransactionId: '0xfffffffffffff'
                payoutTransactionId: '0xfffffffffffff'
                providerFees: '0.0001'
                referralFees: '0.0001'
                payoutNetworkFees: '0.0002'
        '404':
          description: Transaction not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorPayload'
              examples:
                TRANSACTION_NOT_FOUND:
                  summary: Transaction not found
                  value:
                    message: 'Provider error: Transaction with id 1234 does not exist.'
      tags:
      - Status
components:
  schemas:
    ErrorPayload:
      type: object
      properties:
        messageKey:
          type: string
          description: Error code.
        message:
          type: string
          description: Error message description.
        additionalFields:
          type: object
          description: Provides further details on the error, including specific amounts involved in the request. All amounts are presented in their respective currency units.
    Status:
      required:
      - status
      - amount
      - payinTransactionId
      - payoutTransactionId
      - providerFees
      - referralFees
      - payoutNetworkFees
      type: object
      properties:
        quoteId:
          type: string
        status:
          type: string
          enum:
          - FINISHED
          - EXPIRED
          - ON_HOLD
          - PENDING
          - REFUNDED
          - UNKNOWN
        amount:
          type: string
          description: as soon as this information is known, this should contain the final amount transferred to the user in output currency.
        payinTransactionId:
          type: string
          description: as soon as this information is known, this should contain the payin transaction hash.
        payoutTransactionId:
          type: string
          description: As soon as the transaction is submitted to the blockchain and the hash is generated, this field should contain the payout transaction hash.
        providerFees:
          type: string
          description: Fees paid to the provider.
        referralFees:
          type: string
          description: Fees paid to Ledger, as a referral fee.
        payoutNetworkFees:
          type: string
          description: Gas fees used for the payout transaction, converted to currencyTo.
  securitySchemes:
    defaultApiKey:
      type: apiKey
      name: x-api-key
      in: header