Ledger Pairs API

The Pairs API from Ledger — 1 operation(s) for pairs.

Operations 1

GET /pairs #

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-pairs-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-pairs-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Partner Swap Service Pairs API
  version: '2.0'
tags:
- name: Pairs
paths:
  /pairs:
    get:
      operationId: getPairs
      description: "Return a paginated list of supported pairs.\n\n ⚠️ If you are frequently disabling pairs,\n  please keep the currencies list static in the `/currencies` endpoint,\n  and only update pairs when necessary.\n"
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          format: int32
        example: 10
      - name: cursor
        in: query
        required: false
        schema:
          type: string
        example: xxxxxxxx
      responses:
        '200':
          description: Array of supported swap pairs.
          x-summary: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  pairs:
                    type: array
                    items:
                      $ref: '#/components/schemas/Pair'
                  next_cursor:
                    type:
                    - string
                    - 'null'
                    description: Cursor to fetch the next page of results (null if no more results).
              example:
                pairs:
                - from: btc
                  to: bat
                  tradeMethod:
                  - fixed
                  - float
                  minSwapAmount: '0.00001'
                  maxSwapAmount: '20'
                - from: bat
                  to: btc
                  tradeMethod:
                  - fixed
                  - float
                  minSwapAmount: '5'
                  maxSwapAmount: '10'
                next_cursor: xxxxxxxx
      tags:
      - Pairs
components:
  schemas:
    Pair:
      required:
      - from
      - to
      - tradeMethod
      - minSwapAmount
      - maxSwapAmount
      type: object
      properties:
        from:
          description: source currency ID in the partner's system.
          type: string
        to:
          description: destination currency ID in the partner's system.
          type: string
        tradeMethod:
          type: array
          items:
            type: string
            enum:
            - fixed
            - float
        minSwapAmount:
          description: the minimum amount of the source currency that can be swapped. This is the lowest quantity of the initial currency that can be exchanged in a single transaction.
          type: string
        maxSwapAmount:
          description: the maximum amount of the source currency that can be swapped. This represents the highest quantity of the initial currency that can be exchanged in a single transaction.
          type: string
  securitySchemes:
    defaultApiKey:
      type: apiKey
      name: x-api-key
      in: header