Deribit Trading API

The Trading API from Deribit — 38 operation(s) for trading.

Operations 38

GET /private/get_settlement_history_by_currency Get private get settlement history by currency #
GET /private/get_settlement_history_by_instrument Get private get settlement history by instrument #
GET /private/get_order_history_by_instrument Get private get order history by instrument #
GET /private/get_order_history_by_currency Get private get order history by currency #
GET /private/get_order_state Get private get order state #
GET /private/get_order_state_by_label Get private get order state by label #
GET /private/get_open_orders Get private get open orders #
GET /private/get_open_orders_by_instrument Get private get open orders by instrument #
GET /private/get_open_orders_by_currency Get private get open orders by currency #
GET /private/get_open_orders_by_label Get private get open orders by label #
GET /private/get_order_margin_by_ids Get private get order margin by ids #
GET /private/get_trigger_order_history Get private get trigger order history #
GET /private/get_user_trades_by_instrument Get private get user trades by instrument #
GET /private/get_user_trades_by_instrument_and_time Get private get user trades by instrument and time #
GET /private/get_user_trades_by_currency Get private get user trades by currency #
GET /private/get_user_trades_by_currency_and_time Get private get user trades by currency and time #
GET /private/get_user_trades_by_order Get private get user trades by order #
GET /private/cancel_all Get private cancel all #
GET /private/cancel_all_by_instrument Get private cancel all by instrument #
GET /private/cancel_all_by_currency Get private cancel all by currency #
GET /private/cancel_all_by_currency_pair Get private cancel all by currency pair #
GET /private/cancel_all_by_kind_or_type Get private cancel all by kind or type #
GET /private/cancel_by_label Get private cancel by label #
GET /private/cancel_quotes Get private cancel quotes #
GET /private/cancel Get private cancel #
GET /private/buy Get private buy #
GET /private/sell Get private sell #
GET /private/edit Get private edit #
GET /private/edit_by_label Get private edit by label #
GET /private/close_position Get private close position #
GET /private/get_margins Get private get margins #
GET /private/get_mmp_config Get private get mmp config #
GET /private/get_mmp_status Get private get mmp status #
GET /private/set_mmp_config Get private set mmp config #
GET /private/reset_mmp Get private reset mmp #
GET /private/mass_quote Get private mass quote #
GET /private/move_positions Get private move positions #
GET /api/v2/private/get_open_orders Get Open Orders #

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/deribit-trading-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

deribit-trading-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Deribit Trading API
  version: '1.0'
  description: 'Operations tagged Trading across 2 of this provider''s published API definitions: deribit-openapi.json, deribit-starbase-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://test.deribit.com/api/v2
- url: https://195.138.37.5:4410
  description: Production — Gateway A (rest-order)
- url: https://195.138.37.6:4410
  description: Production — Gateway B (rest-order)
- url: https://195.138.37.137:4410
  description: Test — Gateway A (rest-order)
- url: https://195.138.37.138:4410
  description: Test — Gateway B (rest-order)
tags:


# --- truncated at 32 KB (259 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/deribit/refs/heads/main/openapi/deribit-trading-api-openapi.yml