Deribit · Schema
Trigger Order History Record
DerivativesCryptocurrencyBitcoinEthereumOptionsFuturesPerpetualsTradingMarket DataBlock TradingWebSocketFinancial
Properties
| Name | Type | Description |
|---|---|---|
| timestamp | object | |
| trigger | object | |
| trigger_price | object | |
| trigger_offset | object | |
| trigger_order_id | string | Id of the user order used for the trigger-order reference before triggering |
| order_id | object | |
| order_state | object | |
| instrument_name | object | |
| request | string | Type of last request performed on the trigger order by user or system. `"cancel"` - when order was cancelled, `"trigger:order"` - when trigger order spawned market or limit order after being triggered |
| direction | object | |
| price | object | |
| amount | object | |
| last_update_timestamp | object | |
| reduce_only | object | |
| post_only | object | |
| order_type | string | Requested order type: `"limit` or `"market"` |
| label | object | |
| is_secondary_oto | object | |
| oco_ref | object | |
| source | string | Source of the order that is linked to the trigger order. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://api-evangelist.github.io/deribit/json-schema/trigger_order_history_record.json",
"title": "Trigger Order History Record",
"properties": {
"timestamp": {
"$ref": "#/components/schemas/timestamp"
},
"trigger": {
"$ref": "#/components/schemas/trigger"
},
"trigger_price": {
"$ref": "#/components/schemas/trigger_price"
},
"trigger_offset": {
"$ref": "#/components/schemas/trigger_offset"
},
"trigger_order_id": {
"type": "string",
"example": "SLTB-187015",
"description": "Id of the user order used for the trigger-order reference before triggering"
},
"order_id": {
"$ref": "#/components/schemas/order_id"
},
"order_state": {
"$ref": "#/components/schemas/order_state_stop"
},
"instrument_name": {
"$ref": "#/components/schemas/instrument_name"
},
"request": {
"type": "string",
"example": "trigger:order",
"description": "Type of last request performed on the trigger order by user or system. `\"cancel\"` - when order was cancelled, `\"trigger:order\"` - when trigger order spawned market or limit order after being triggered"
},
"direction": {
"$ref": "#/components/schemas/direction"
},
"price": {
"$ref": "#/components/schemas/price"
},
"amount": {
"$ref": "#/components/schemas/amount"
},
"last_update_timestamp": {
"$ref": "#/components/schemas/timestamp"
},
"reduce_only": {
"$ref": "#/components/schemas/reduce_only"
},
"post_only": {
"$ref": "#/components/schemas/post_only"
},
"order_type": {
"type": "string",
"enum": [
"limit",
"market"
],
"description": "Requested order type: `\"limit` or `\"market\"`"
},
"label": {
"$ref": "#/components/schemas/label_presentation"
},
"is_secondary_oto": {
"$ref": "#/components/schemas/is_secondary_oto"
},
"oco_ref": {
"$ref": "#/components/schemas/oco_ref"
},
"source": {
"type": "string",
"example": "api",
"description": "Source of the order that is linked to the trigger order."
}
},
"required": [
"trigger",
"timestamp",
"trigger_price",
"trigger_order_id",
"order_state",
"request",
"post_only",
"order_type",
"price",
"order_id",
"trigger_offset",
"instrument_name",
"amount",
"direction",
"reduce_only"
],
"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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/trigger_order_history_record"
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.