MarginPad Market data API

Live prices, candles, symbols

GitHub OpenAPI

Operations 4

GET /api/v1/price Live price for one coin #
GET /api/v1/prices Live prices for major coins #
GET /api/v1/klines OHLC candles #
GET /api/v1/symbols Tradable symbols #

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/marginpad-io:marginpad-io-market-data-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

marginpad-io-market-data-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: MarginPad Free Crypto Market data API
  version: 2.9.1
  description: Free, keyless, CORS-enabled crypto market-data API. Live prices, OHLC candles, a scored futures screener, funding rates, open interest, long/short ratios, liquidations, an economic calendar, the Fear & Greed index, top coins, global market stats, DeFi TVL, trading calculators, and a free paper-trading REST API for testing bots. No API key. No sign-up. about 60 requests/minute per client. Every response uses the envelope { ok, data, error, ts }, except the four liquidation-collector passthroughs (feed, liquidations/live, liquidations/recent, clusters), which return the raw collector object and are marked as such.
  contact:
    name: MarginPad
    url: https://marginpad.io/free-crypto-api/
  license:
    name: Free for public use
servers:
- url: https://marginpad.io
  description: Production
tags:
- name: Market Data
  description: Live prices, candles, symbols
paths:
  /api/v1/price:
    get:
      tags:
      - Market Data
      summary: Live price for one coin
      description: Current price for a single symbol, aggregated across Binance/Bybit/OKX/Gate. Use when a user asks "what is the price of X".
      parameters:
      - name: symbol
        in: query
        required: true
        description: Coin ticker, e.g. BTC, ETH, SOL (no USDT suffix needed).
        schema:
          type: string
        example: BTC
      responses:
        '200':
          description: ok
      operationId: getApiV1Price
      x-operation-id-source: derived
  /api/v1/prices:
    get:
      tags:
      - Market Data
      summary: Live prices for major coins
      description: Batch snapshot of the top coins in one call (BTC, ETH, SOL, BNB, XRP, DOGE, ADA, AVAX).
      responses:
        '200':
          description: ok
      operationId: getApiV1Prices
      x-operation-id-source: derived
  /api/v1/klines:
    get:
      tags:
      - Market Data
      summary: OHLC candles
      description: Historical candlesticks for a symbol. Use for charts, backtests, and indicator math.
      parameters:
      - name: symbol
        in: query
        required: true
        description: Coin ticker, e.g. BTC.
        schema:
          type: string
        example: BTC
      - name: interval
        in: query
        required: false
        description: 'Minutes per candle: 1, 5, 15, 60, 240, or 1440 (1d).'
        schema:
          type: string
        example: '60'
      responses:
        '200':
          description: ok
      operationId: getApiV1Klines
      x-operation-id-source: derived
  /api/v1/symbols:
    get:
      tags:
      - Market Data
      summary: Tradable symbols
      description: List of ~500 liquid USDT-perpetual symbols by volume. Use to validate a ticker or populate a picker.
      responses:
        '200':
          description: ok
      operationId: getApiV1Symbols
      x-operation-id-source: derived
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: Required for paper-trading endpoints; OPTIONAL on /api/v1/* data endpoints, where sending it moves the call from the 60/minute per-IP limit to the key’s own budget (120/minute on Free, 600 on API Pro, 2000 on Max, 5000 on Business). Mint a key at POST /api/bot/key while signed in, or on https://marginpad.io/trading-api/.
externalDocs:
  description: Full manual with curl / JS / Python examples
  url: https://marginpad.io/free-crypto-api/