Due

Due Markets API

The Markets API from Due — 3 operation(s) for markets.

Operations 3

GET /markets/{base}/{quote} Get market #
GET /markets/{base}/{quote}/history Get market history #
GET /markets List markets #

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/due-markets-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

due-markets-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Due Account Markets API
  version: v1
  description: 'Due provides borderless payment infrastructure: cross-border transfers, fiat<->stablecoin on/off-ramps, virtual accounts, FX rates, KYC/KYB onboarding, non-custodial MPC wallets (Vault), and webhooks. Assembled by API Evangelist from Due''s per-operation OpenAPI fragments published on due.readme.io.'
  contact:
    email: demo@due.network
    url: https://www.opendue.com
servers:
- url: https://api.due.network
  description: Production
- url: https://api.sandbox.due.network
  description: Sandbox
security:
- BearerAuth: []
tags:
- name: Markets
paths:
  /markets/{base}/{quote}:
    get:
      operationId: GetMarket
      summary: Get market
      description: Retrieves market information for the specified base and quote currencies.
      tags:
      - Markets
      parameters:
      - in: path
        name: base
        required: true
        schema:
          type: string
      - in: path
        name: quote
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/fx_models.Market'
  /markets/{base}/{quote}/history:
    get:
      operationId: GetMarketHistory
      summary: Get market history
      description: Retrieves historical market data for the specified base and quote currencies, with an optional interval.
      tags:
      - Markets
      parameters:
      - in: path
        name: base
        required: true
        schema:
          type: string
      - in: path
        name: quote
        required: true
        schema:
          type: string
      - in: query
        name: interval
        schema:
          type: number
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/fx_models.MarketHistoryDatapoint'
  /markets:
    get:
      operationId: GetMarkets
      summary: List markets
      description: Retrieves a list of all available FX markets.
      tags:
      - Markets
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/fx_models.Market'
components:
  schemas:
    fx_models.Market:
      type: object
      properties:
        pair:
          $ref: '#/components/schemas/fx_models.CurrencyPair'
        rate:
          type: number
          format: double
        markupBps:
          type: integer
          format: int32
        updatedAt:
          type: string
    fx_models.CurrencyPair:
      type: object
      properties:
        Base:
          type: string
        Quote:
          type: string
    fx_models.MarketHistoryDatapoint:
      type: object
      properties:
        date:
          type: string
        rate:
          type: number
          format: double
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer