SpotOrderResponse
For a market order, `summary` carries execution details; for limit/stop, it carries the resting-order terms.
Properties
| Name | Type | Description |
|---|---|---|
| message | string | |
| orderId | integer | Market fills (and their idempotent replays) only: the immutable ClosedOrder id of this fill, the same id `/api/agent/trades` lists for the spot row. It correlates the response with the ledger; it does |
| summary | object | |
| idempotentReplay | boolean | present (true) when this is a replay of a prior intent |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/coinrithm-com/json-schema/coinrithm-com-spot-order-response-schema.json",
"title": "SpotOrderResponse",
"description": "For a market order, `summary` carries execution details; for limit/stop,\nit carries the resting-order terms.\n",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/coinrithm-com-spot-api-openapi.yml#/components/schemas/SpotOrderResponse",
"type": "object",
"properties": {
"message": {
"type": "string"
},
"orderId": {
"type": "integer",
"description": "Market fills (and their idempotent replays) only: the immutable\nClosedOrder id of this fill, the same id `/api/agent/trades` lists\nfor the spot row. It correlates the response with the ledger; it\ndoes not prove the fill used a particular quote. Limit/stop\nplacement responses carry no order id; list resting orders with\n`/api/agent/orders/open`.\n"
},
"summary": {
"type": "object",
"properties": {
"side": {
"type": "string"
},
"quantity": {
"type": "number"
},
"executionPrice": {
"type": "number",
"description": "market only; fill price after spread+slippage"
},
"totalCost": {
"type": "number",
"description": "market only"
},
"pnl": {
"type": [
"number",
"null"
],
"description": "market only; realized PnL in USD, net of fee. null on buys"
},
"feeUsd": {
"type": [
"number",
"null"
],
"description": "market only; taker fee charged on this fill"
},
"slippageUsd": {
"type": [
"number",
"null"
],
"description": "market only; modeled slippage cost"
},
"executionModel": {
"anyOf": [
{
"$ref": "#/$defs/ExecutionModel"
},
{
"type": "null"
}
],
"description": "Market only. null on an idempotent replay: the fill's\nhistorical model parameters are not retained (see\n`executionModelStatus`).\n"
},
"executionModelStatus": {
"type": "string",
"enum": [
"historical_parameters_not_retained"
],
"description": "Market idempotent replay only."
},
"executionVersion": {
"type": [
"string",
"null"
],
"description": "Market idempotent replay only. The fill's execution version,\ne.g. \"paper_execution_v1\"; null for a pre-realism fill.\n"
},
"limitPrice": {
"type": "number",
"description": "limit/stop only"
},
"orderType": {
"type": "string",
"description": "limit/stop only"
}
}
},
"idempotentReplay": {
"type": "boolean",
"description": "present (true) when this is a replay of a prior intent"
}
},
"$defs": {
"ExecutionModel": {
"type": "object",
"description": "Paper Execution Realism v1 cost disclosure. Paper fills apply a\ndeterministic, fully-disclosed cost so simulated PnL reflects real\ntrading friction (a flat round-trip is a small loss, not a free\nbreakeven). This is a rehearsal cost model, NOT an exchange fill\nguarantee. Per venue:\n - spot: a taker fee (`feeBps`) on notional, with market orders also\n filling at an adverse price (half-spread + slippage). Futures use\n the default-off legacy mark fill unless `futures_fill_v1` is\n pinned; that model applies deterministic half-spread, slippage,\n and square-root size-scaled impact, with adverse cost embedded in\n the executed price.\n - PM: fills at the ask (mid + half the ingested bid-ask spread) with\n size/liquidity-based slippage and a Polymarket-shaped taker fee\n (~1.8% near 50%, ~0 at the extremes), folded into `sharesMusd`.\n `feeBps`/`spreadBps` are positive and `slippageBps` scales with\n order size; `entryProbability` stays the mid for calibration.\nFutures quote funding is estimated from the latest venue rate when\navailable and may change before settlement. Covered futures charges are\napplied from recorded settled venue history; `fundingMode` is a\nvenue-specific mode such as `binance_perp_rate_v1`,\n`bybit_perp_rate_v1`, or `gateio_perp_rate_v1`, and is\n`not_modeled` when no latest rate is available. Funding does not apply\nto spot or PM. Futures liquidation forfeits margin without adverse fill\ncost, and fixed-price SL/TP triggers fill at their set price. Order-book\ndepth, latency, and partial fills are not modeled.\n",
"properties": {
"version": {
"type": "string"
},
"feeBps": {
"type": "number",
"description": "taker fee, basis points of notional"
},
"spreadBps": {
"type": "number",
"description": "modeled bid/ask spread (bps)"
},
"slippageBps": {
"type": "number",
"description": "modeled slippage (bps)"
},
"fillModel": {
"type": [
"string",
"null"
],
"description": "Futures fill model pinned for this execution, or null for legacy mark fills."
},
"estimatedFeeMusd": {
"type": "number",
"description": "estimated fee for this trade (mUSD)"
},
"estimatedSlippageMusd": {
"type": "number",
"description": "estimated slippage cost for this trade (mUSD)"
},
"fundingMode": {
"type": "string",
"description": "Venue-specific current funding reference mode, or not_modeled when no latest rate is available."
},
"assumptions": {
"type": "array",
"items": {
"type": "string"
},
"description": "human-readable list of what is and isn't modeled"
}
}
}
}
}
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
curl "https://apis.io/api/v1/json-schemas/coinrithm-com-spot-order-response"
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.