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-derivatives-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: 3.2.0
info:
title: MarginPad Free Crypto Derivatives 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: Derivatives
description: Funding, open interest, long/short, liquidations (measured from exchange public feeds and MarginPad's own twelve-exchange liquidation collector)
paths:
/api/v1/funding:
get:
tags:
- Derivatives
summary: Funding rates
description: Perp funding rates across ~160 pairs, measured from the public endpoints of the exchanges. Positive = longs pay shorts.
responses:
'200':
description: ok
operationId: getApiV1Funding
x-operation-id-source: derived
/api/v1/open-interest:
get:
tags:
- Derivatives
summary: Open interest
description: Open interest (USD) across ~160 pairs. Rising OI + rising price = new money entering.
responses:
'200':
description: ok
operationId: getApiV1OpenInterest
x-operation-id-source: derived
/api/v1/long-short:
get:
tags:
- Derivatives
summary: Long/short ratio
description: Aggregated long vs short account ratio for major coins. Crowd positioning.
responses:
'200':
description: ok
operationId: getApiV1LongShort
x-operation-id-source: derived
/api/v1/liquidations:
get:
tags:
- Derivatives
summary: Liquidations
description: Aggregated 24h liquidation totals per coin (longs vs shorts) across all exchanges.
responses:
'200':
description: ok
operationId: getApiV1Liquidations
x-operation-id-source: derived
/api/v1/venues:
get:
tags:
- Derivatives
summary: Liquidations by exchange
description: 24h liquidation total, market share and long/short split per venue (Binance, Bybit, OKX, Hyperliquid, Gate, HTX, dYdX, Bitfinex, Bitget, Aster, Lighter, Kraken), measured from their public feeds by our own collector.
responses:
'200':
description: ok
operationId: getApiV1Venues
x-operation-id-source: derived
/api/v1/feed:
get:
tags:
- Derivatives
summary: Newest liquidation events
description: 'The latest liquidation events across all tracked symbols: {events:[{ts, exchange, symbol, side, price, qty, notional}]}. Seconds behind the exchanges (3 s edge cache). Poll every 3-5 s. Passthrough from the liquidation collector: this route returns the raw object, NOT the { ok, data, ts } envelope.'
responses:
'200':
description: Raw collector object (no envelope)
operationId: getApiV1Feed
x-operation-id-source: derived
/api/v1/liquidations/live:
get:
tags:
- Derivatives
summary: Recent liquidations for one symbol
description: 'Raw recent liquidation events for one symbol; side is long_liquidated or short_liquidated, notional is USD. Passthrough from the liquidation collector: this route returns the raw object, NOT the { ok, data, ts } envelope.'
parameters:
- name: symbol
in: query
required: true
description: Coin ticker, e.g. BTC.
schema:
type: string
example: BTC
- name: limit
in: query
required: false
description: Max events, up to 1000.
schema:
type: string
example: '400'
responses:
'200':
description: ok
operationId: getApiV1LiquidationsLive
x-operation-id-source: derived
/api/v1/liquidations/recent:
get:
tags:
- Derivatives
summary: Liquidation histogram
description: 'Time-bucketed long vs short liquidation dollars for one symbol - the source of the heatmap statistics. Passthrough from the liquidation collector: this route returns the raw object, NOT the { ok, data, ts } envelope.'
parameters:
- name: symbol
in: query
required: true
description: Coin ticker.
schema:
type: string
example: BTC
- name: minutes
in: query
required: false
description: Window, up to 43200 (30 days).
schema:
type: string
example: '1440'
responses:
'200':
description: ok
operationId: getApiV1LiquidationsRecent
x-operation-id-source: derived
/api/v1/clusters:
get:
tags:
- Derivatives
summary: Liquidation clusters
description: 'Modelled price levels where liquidation liquidity is estimated to sit right now: {clusters:[{price, side, est_notional}]}, with updatedAt as the measurement time. These are ESTIMATES from a model, not observed events. Passthrough from the liquidation collector: this route returns the raw object, NOT the { ok, data, ts } envelope.'
parameters:
- name: symbol
in: query
required: true
description: Coin ticker.
schema:
type: string
example: BTC
responses:
'200':
description: ok
operationId: getApiV1Clusters
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/