CoinRithm · Schema
FuturesPositionEnvelope
Prediction MarketsCrypto PricesPaper TradingAgentic TradingResearch ServiceLive Market Data
Properties
| Name | Type | Description |
|---|---|---|
| position | object | |
| idempotentReplay | boolean | present (true) on a replay |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/coinrithm-com/json-schema/coinrithm-com-futures-position-envelope-schema.json",
"title": "FuturesPositionEnvelope",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/coinrithm-com-futures-api-openapi.yml#/components/schemas/FuturesPositionEnvelope",
"type": "object",
"properties": {
"position": {
"$ref": "#/$defs/FuturesPosition"
},
"idempotentReplay": {
"type": "boolean",
"description": "present (true) on a replay"
}
},
"$defs": {
"Freshness": {
"type": "object",
"description": "Data-freshness descriptor. Futures + spot use ageSeconds; PM uses\nageMinutes. `status` is a freshness label; `basis` (PM only) names which\ntimestamp the age was measured against.\n",
"properties": {
"asOf": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"ageSeconds": {
"type": [
"number",
"null"
],
"description": "futures / spot"
},
"ageMinutes": {
"type": [
"number",
"null"
],
"description": "PM"
},
"status": {
"type": [
"string",
"null"
],
"enum": [
"fresh",
"lagging",
"stale",
"unknown",
null
],
"description": "fresh | lagging (PM only) | stale | unknown. PM lagging>=45m &\nstale>=2h; spot/futures stale>120s.\n"
},
"basis": {
"type": [
"string",
"null"
],
"enum": [
"latest_snapshot",
"source_update",
"processed",
"event_update",
"unknown"
],
"description": "PM only — which timestamp the age was measured against.\n"
}
}
},
"FuturesFundingSource": {
"type": "object",
"required": [
"venue",
"symbol",
"fundingIntervalHours"
],
"description": "Current venue/contract funding reference. Historical charges are represented by funding events.",
"properties": {
"venue": {
"type": "string",
"description": "Current funding venue identifier."
},
"symbol": {
"type": "string",
"description": "Current venue perpetual symbol."
},
"fundingIntervalHours": {
"type": "integer",
"description": "Current venue funding interval in hours."
}
}
},
"FuturesPosition": {
"type": "object",
"description": "Mock futures position. Live-mark fields (markPrice, unrealizedPnlMusd,\nliquidationDistancePct, atLiquidation) are added only on OPEN positions in\nthe list endpoint; they may be null when no live mark is available.\n",
"properties": {
"id": {
"type": "integer"
},
"status": {
"type": "string",
"enum": [
"open",
"closed",
"liquidated"
]
},
"coin": {
"type": "object",
"properties": {
"ucid": {
"type": "string"
},
"symbol": {
"type": "string"
},
"name": {
"type": "string"
}
}
},
"side": {
"type": "string",
"enum": [
"long",
"short"
]
},
"leverage": {
"type": "number"
},
"entryPrice": {
"type": "number"
},
"marginMusd": {
"type": "number"
},
"notionalMusd": {
"type": "number"
},
"sizeCoin": {
"type": "number"
},
"maintenanceMarginRate": {
"type": "number"
},
"liquidationPrice": {
"type": "number"
},
"freshnessAtEntry": {
"$ref": "#/$defs/Freshness"
},
"stopLossPrice": {
"type": [
"number",
"null"
],
"description": "Resting stop-loss trigger (null = none)."
},
"takeProfitPrice": {
"type": [
"number",
"null"
],
"description": "Resting take-profit trigger (null = none)."
},
"exitPrice": {
"type": [
"number",
"null"
]
},
"exitReason": {
"type": [
"string",
"null"
],
"description": "user_close | liquidation | stop_loss | take_profit"
},
"realizedPnlMusd": {
"type": [
"number",
"null"
]
},
"fillModel": {
"type": [
"string",
"null"
],
"description": "Fill model pinned when the position opened; null for legacy mark fills."
},
"openedAt": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"closedAt": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"markPrice": {
"type": [
"number",
"null"
],
"description": "list endpoint, open positions only"
},
"unrealizedPnlMusd": {
"type": [
"number",
"null"
]
},
"fundingPaidMusd": {
"type": [
"number",
"null"
],
"description": "Signed cumulative funding applied in mUSD (positive = paid, negative = received); omitted or null when unavailable. Zero is a meaningful value."
},
"fundingAppliedThrough": {
"type": [
"string",
"null"
],
"format": "date-time",
"description": "Latest timestamp through which cumulative funding was applied; omitted or null when unavailable."
},
"currentFundingReference": {
"description": "Current venue/contract reference for this coin; this is current metadata, not proof of historical funding charges.",
"oneOf": [
{
"$ref": "#/$defs/FuturesFundingSource"
},
{
"type": "null"
}
]
},
"liquidationDistancePct": {
"type": [
"number",
"null"
]
},
"atLiquidation": {
"type": [
"boolean",
"null"
]
}
}
}
}
}
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/coinrithm-com-futures-position-envelope"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.