Deribit · Schema

Settlement

DerivativesCryptocurrencyBitcoinEthereumOptionsFuturesPerpetualsTradingMarket DataBlock TradingWebSocketFinancial

Properties

Name Type Description
funding number funding (in base currency ; settlement for perpetual product only)
funded number funded amount (bankruptcy only)
index_price number underlying index price at time of event (in quote currency; settlement and delivery only)
instrument_name string instrument name (settlement and delivery only)
mark_price number mark price for at the settlement time (in quote currency; settlement and delivery only)
position number position size (in quote currency; settlement and delivery only)
profit_loss number profit and loss (in base currency; settlement and delivery only)
session_bankruptcy number value of session bankruptcy (in base currency; bankruptcy only)
session_profit_loss number total value of session profit and losses (in base currency)
session_tax number total amount of paid taxes/fees (in base currency; bankruptcy only)
session_tax_rate number rate of paid taxes/fees (in base currency; bankruptcy only)
socialized number the amount of the socialized losses (in base currency; bankruptcy only)
timestamp object
type object
View JSON Schema on GitHub

JSON Schema

settlement.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api-evangelist.github.io/deribit/json-schema/settlement.json",
  "title": "Settlement",
  "properties": {
    "funding": {
      "example": -2.511e-06,
      "type": "number",
      "description": "funding (in base currency ; settlement for perpetual product only)"
    },
    "funded": {
      "example": 0,
      "type": "number",
      "description": "funded amount (bankruptcy only)"
    },
    "index_price": {
      "example": 11008.37,
      "type": "number",
      "description": "underlying index price at time of event (in quote currency; settlement and delivery only)"
    },
    "instrument_name": {
      "example": "BTC-30MAR18",
      "type": "string",
      "description": "instrument name (settlement and delivery only)"
    },
    "mark_price": {
      "example": 11000,
      "type": "number",
      "description": "mark price for at the settlement time (in quote currency; settlement and delivery only)"
    },
    "position": {
      "example": 1000,
      "type": "number",
      "description": "position size (in quote currency; settlement and delivery only)"
    },
    "profit_loss": {
      "example": 0,
      "type": "number",
      "description": "profit and loss (in base currency; settlement and delivery only)"
    },
    "session_bankruptcy": {
      "example": 0.001160788,
      "type": "number",
      "description": "value of session bankruptcy (in base currency; bankruptcy only)"
    },
    "session_profit_loss": {
      "example": 0.001160788,
      "type": "number",
      "description": "total value of session profit and losses (in base currency)"
    },
    "session_tax": {
      "example": -0.001160788,
      "type": "number",
      "description": "total amount of paid taxes/fees (in base currency; bankruptcy only)"
    },
    "session_tax_rate": {
      "example": 0.000103333,
      "type": "number",
      "description": "rate of paid taxes/fees (in base currency; bankruptcy only)"
    },
    "socialized": {
      "example": -0.001160788,
      "type": "number",
      "description": "the amount of the socialized losses (in base currency; bankruptcy only)"
    },
    "timestamp": {
      "$ref": "#/components/schemas/timestamp"
    },
    "type": {
      "$ref": "#/components/schemas/settlement_type"
    }
  },
  "required": [
    "type",
    "timestamp",
    "session_profit_loss",
    "position",
    "instrument_name",
    "index_price",
    "funding"
  ],
  "type": "object"
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/settlement"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.