Properties
| Name | Type | Description |
|---|---|---|
| account_id | string | |
| instrument | object | What is being traded. Mandatory, and that is the safety property. A control has to be evaluated against the same instrument the order is placed in, so the caller resolves once and carries it: this ser |
| quantity | object | |
| side | object | |
| symbol | string | The venue's spelling, which is what symbol-scoped controls are keyed on. Kept beside `instrument` rather than read out of it: a control the tenant wrote against `ESZ25` has to match whether or not the |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/anthid-com/json-schema/anthid-com-evaluate-request-schema.json",
"title": "EvaluateRequest",
"x-generated": "2026-11-01",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/controls.openapi.json#/components/schemas/EvaluateRequest",
"type": "object",
"required": [
"account_id",
"symbol",
"quantity",
"instrument"
],
"properties": {
"account_id": {
"type": "string",
"format": "uuid"
},
"instrument": {
"$ref": "#/$defs/Instrument",
"description": "What is being traded.\n\nMandatory, and that is the safety property. A control has to be\nevaluated against the same instrument the order is placed in, so the\ncaller resolves once and carries it: this service resolving\nindependently would leave a window where it judged one instrument and\nthe order was placed in another, which a catalogue sync between the\ntwo is enough to open.\n\nThere is deliberately no \"unknown\" case. An order in something the\ncatalogue cannot identify is not an order this platform can price, and\nthe caller refuses it before reaching here rather than sending an\nabsence for the evaluator to interpret."
},
"quantity": {
"$ref": "#/$defs/Quantity"
},
"side": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/$defs/OrderSide",
"description": "Which way the order moves the position.\n\nPosition size and daily loss limits need it: whether an order opens or\ncloses a position is the whole question they ask. Optional on the wire\nso a caller built before it existed still parses, but a request without\nit is refused by any control that needs it rather than guessed at."
}
]
},
"symbol": {
"type": "string",
"description": "The venue's spelling, which is what symbol-scoped controls are keyed\non. Kept beside `instrument` rather than read out of it: a control the\ntenant wrote against `ESZ25` has to match whether or not the catalogue\nresolved that order, and the key must not change depending on whether\nthe resolution succeeded."
}
},
"$defs": {
"Crypto": {
"type": "object",
"description": "Spot crypto: the asset itself, held outright.\n\n# Precision\n\nThe type is not the constraint here, and this note exists to say so.\n\n[`Quantity`] holds eighteen decimal places, so a satoshi - `0.00000001` -\nhas ten places to spare, and on-chain token amounts at their own native\nprecision fit without rounding. Crypto is the asset class that used to make\nthis worth reading: while the scale was six, a bitcoin size was silently\nrounded two places short of the asset's own divisibility, exact enough to\norder with and wrong for anything reconciling a balance. See\n[`SCALE`](crate::numeric::SCALE) for why that is no longer true of any\nvalue this crate carries.\n\nWhat does constrain a size is [`Self::quantity_increment`], which is the\nvenue's own step and is data rather than a property of the type. A size that\nis exactly representable here can still be refused by the venue for being\noff the increment, so that field is the one to check against - not the width\nof the number.",
"required": [
"symbol",
"base",
"quote",
"venue",
"price_increment",
"quantity_increment"
],
"properties": {
"base": {
"type": "string",
"description": "The asset being bought - `BTC`."
},
"price_increment": {
"$ref": "#/$defs/Price"
},
"quantity_increment": {
"$ref": "#/$defs/Quantity",
"description": "The smallest size step the venue accepts. See the precision note above\nfor what this type can and cannot express."
},
"quote": {
"type": "string",
"description": "The asset it is priced in - `USD`."
},
"symbol": {
"type": "string",
"description": "The venue's spelling - `BTC-USD` on Coinbase, `XXBTZUSD` on Kraken."
},
"venue": {
"type": "string"
}
}
},
"Currency": {
"type": "object",
"description": "A currency pair.",
"required": [
"symbol",
"base",
"quote"
],
"properties": {
"base": {
"type": "string",
"description": "The currency being bought or sold - `EUR`."
},
"quote": {
"type": "string",
"description": "The currency it is priced in - `USD`."
},
"symbol": {
"type": "string",
"description": "The pair as the venue spells it - `EURUSD`, or `EUR/USD`."
}
}
},
"Equity": {
"type": "object",
"description": "A share in a listed company.",
"required": [
"symbol"
],
"properties": {
"exchange": {
"type": [
"string",
"null"
],
"description": "The primary listing venue, where it was resolved.\n\nWhere the security *is listed*, which is a fact the instruments\ncatalogue owns - not where an order on it is sent. That is\n[`OrderVenue`](crate::broker::order::order_venue::OrderVenue), it lives\non the order, and the two differ constantly: an equity listed on one\nexchange is routable to several, and two orders on this instrument can\nname different destinations while this field says the same thing for\nboth.\n\nOptional because an equity can be traded without the listing ever being\nresolved - the order carries its own destination - so most equities\nreach this type without one."
},
"symbol": {
"type": "string"
}
}
},
"ExerciseStyle": {
"type": "string",
"enum": [
"american",
"european"
]
},
"FundingSchedule": {
"type": "object",
"description": "How often a [`Perpetual`] exchanges funding.\n\nThe schedule, not the rate - see the note on [`Perpetual`] for why the rate\nis deliberately absent.",
"required": [
"interval_seconds"
],
"properties": {
"interval_seconds": {
"type": "integer",
"format": "int32",
"description": "Seconds between funding exchanges. Eight hours on most venues, one hour\non some, and a handful settle continuously.",
"minimum": 0
}
}
},
"Future": {
"type": "object",
"description": "A dated futures contract.",
"required": [
"symbol",
"root",
"exchange",
"expiration",
"tick_size",
"multiplier",
"currency"
],
"properties": {
"currency": {
"type": "string",
"description": "What a point is denominated in - `USD`."
},
"exchange": {
"type": "string",
"description": "The exchange, in that exchange's own spelling - `CME`, `CBOT`, `NYMEX`.\n\nA string rather than an enum because the set is open and every vendor\nspells it differently: Rithmic says `CME` where Databento says\n`GLBX.MDP3` for the same venue. An enum would have to pick one spelling\nand translate the rest, and this string goes back out on the order."
},
"expiration": {
"type": "string",
"format": "date-time",
"description": "Last trade, not settlement - the moment the contract stops being\ntradable, which is what an adapter needs to know before sending."
},
"multiplier": {
"$ref": "#/$defs/Multiplier",
"description": "Currency per full point of price movement - `50.0` for ES."
},
"root": {
"type": "string",
"description": "The contract family the month belongs to - `ES`.\n\nHeld separately because it is what a strategy is actually expressed in.\nA position in \"the ES front month\" outlives any one `symbol`, and\nrecovering the root by trimming characters off the end of a symbol is\nguesswork the venue already answered."
},
"symbol": {
"type": "string",
"description": "The venue's spelling of this contract month - `ESZ5`, or `ESZ25`."
},
"tick_size": {
"$ref": "#/$defs/Price"
}
}
},
"Instrument": {
"oneOf": [
{
"allOf": [
{
"$ref": "#/$defs/Equity"
},
{
"type": "object",
"required": [
"asset_class"
],
"properties": {
"asset_class": {
"type": "string",
"enum": [
"EQUITY"
]
}
}
}
]
},
{
"allOf": [
{
"$ref": "#/$defs/Future"
},
{
"type": "object",
"required": [
"asset_class"
],
"properties": {
"asset_class": {
"type": "string",
"enum": [
"FUTURE"
]
}
}
}
]
},
{
"allOf": [
{
"$ref": "#/$defs/OptionInstrument"
},
{
"type": "object",
"required": [
"asset_class"
],
"properties": {
"asset_class": {
"type": "string",
"enum": [
"OPTION"
]
}
}
}
]
},
{
"allOf": [
{
"$ref": "#/$defs/Currency"
},
{
"type": "object",
"required": [
"asset_class"
],
"properties": {
"asset_class": {
"type": "string",
"enum": [
"CURRENCY"
]
}
}
}
]
},
{
"allOf": [
{
"$ref": "#/$defs/Crypto"
},
{
"type": "object",
"required": [
"asset_class"
],
"properties": {
"asset_class": {
"type": "string",
"enum": [
"CRYPTO"
]
}
}
}
]
},
{
"allOf": [
{
"$ref": "#/$defs/Perpetual"
},
{
"type": "object",
"required": [
"asset_class"
],
"properties": {
"asset_class": {
"type": "string",
"enum": [
"PERPETUAL"
]
}
}
}
]
},
{
"allOf": [
{
"$ref": "#/$defs/Prediction"
},
{
"type": "object",
"required": [
"asset_class"
],
"properties": {
"asset_class": {
"type": "string",
"enum": [
"PREDICTION"
]
}
}
}
]
}
],
"description": "A tradable instrument, with the facts that make its price mean something.\n\nNot `Copy` - every variant carries at least one venue-spelled string - and\ndeliberately `Eq` and `Hash`, so it can key a position map and sit inside\nthe order parameter types, which are hashed."
},
"Multiplier": {
"type": "string"
},
"OptionInstrument": {
"type": "object",
"description": "A listed option on an equity or an index.",
"required": [
"symbol",
"underlying",
"expiration",
"strike",
"option_type",
"exercise_style",
"multiplier"
],
"properties": {
"exchange": {
"type": [
"string",
"null"
]
},
"exercise_style": {
"$ref": "#/$defs/ExerciseStyle"
},
"expiration": {
"type": "string",
"format": "date-time"
},
"multiplier": {
"$ref": "#/$defs/Multiplier",
"description": "Shares per contract - `100.0` for a standard listed option."
},
"option_type": {
"$ref": "#/$defs/OptionType"
},
"strike": {
"$ref": "#/$defs/Price"
},
"symbol": {
"type": "string",
"description": "The OCC ticker."
},
"tick_size": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/$defs/Price"
}
]
},
"underlying": {
"type": "string"
}
}
},
"OptionType": {
"type": "string",
"enum": [
"call",
"put"
]
},
"OrderSide": {
"type": "string",
"enum": [
"UNSPECIFIED",
"BUY",
"SELL",
"SELL_SHORT"
]
},
"Perpetual": {
"type": "object",
"description": "A perpetual contract: a derivative with no settlement date.\n\nIt tracks its underlying without ever expiring, held in line by a funding\npayment exchanged between longs and shorts on a fixed schedule rather than\nby convergence to a settlement price. Two consequences matter more than the\nrest, and both are places where treating a perpetual as a future goes\nwrong quietly:\n\n1. **There is no expiry.** [`Instrument::expiration`](super::Instrument::expiration)\n answers `None`, and\n that `None` means \"never\" rather than \"unknown\". Anything that rolls,\n ages or expires positions has to tell those apart.\n2. **Settlement can invert the position.** See [`Settlement`].\n\nFunding is carried as a schedule rather than a rate because the rate is\nmarket data that changes every interval, and an instrument identity that\nwent stale every eight hours would be cached wrongly everywhere. What\nbelongs here is *when* funding happens; what it costs belongs on a quote.",
"required": [
"symbol",
"base",
"quote",
"venue",
"underlying",
"settlement",
"multiplier",
"funding",
"tick_size",
"quantity_increment"
],
"properties": {
"base": {
"type": "string"
},
"funding": {
"$ref": "#/$defs/FundingSchedule"
},
"multiplier": {
"$ref": "#/$defs/Multiplier",
"description": "Units of the underlying per contract.\n\nRead through [`Instrument::notional`](super::Instrument::notional). For an\ninverse contract this is\nan amount of the *quote* asset - one contract of `XBTUSD` is one dollar\nof bitcoin - which is why it cannot simply be multiplied through."
},
"quantity_increment": {
"$ref": "#/$defs/Quantity"
},
"quote": {
"type": "string"
},
"settlement": {
"$ref": "#/$defs/Settlement"
},
"symbol": {
"type": "string",
"description": "The venue's spelling - `BTCUSDT`, `BTC-PERP`, `XBTUSD`."
},
"tick_size": {
"$ref": "#/$defs/Price"
},
"underlying": {
"$ref": "#/$defs/PerpetualUnderlying",
"description": "What the contract tracks.\n\nPerpetuals started on crypto and did not stay there: the same structure\nnow wraps equity indices and event outcomes, and the contract mechanics\nare identical in each. This says what the exposure actually is, so a\nrisk check can ask what it is looking at without parsing a ticker."
},
"venue": {
"type": "string"
}
}
},
"PerpetualUnderlying": {
"type": "string",
"description": "What a [`Perpetual`] is a perpetual *on*.\n\nThe mechanics do not change between these; the exposure does, and so does\nwhich desk is allowed to hold it.",
"enum": [
"UNSPECIFIED",
"CRYPTO",
"FUTURE",
"PREDICTION"
]
},
"Prediction": {
"type": "object",
"description": "A binary event contract, settling at [`Self::payout`] or at nothing.\n\nThe price is a probability rather than a value, which is what separates this\nfrom everything else here: a contract trading at `0.62` is the market saying\nsixty-two percent, and it pays `payout` if the event resolves true. Sizing\nit with a share-price formula produces a number with no meaning.",
"required": [
"symbol",
"market",
"outcome",
"venue",
"payout",
"currency",
"tick_size"
],
"properties": {
"currency": {
"type": "string",
"description": "What the payout is denominated in - `USD` on Kalshi, `USDC` on\nPolymarket."
},
"expiration": {
"type": [
"string",
"null"
],
"format": "date-time",
"description": "When the event resolves, where the venue has published it.\n\n`None` for a market resolving on an event rather than a clock - \"when\nthe bill passes\" has no date until it does."
},
"market": {
"type": "string",
"description": "The market this contract is one side of.\n\nBoth sides of an event are separately tradable instruments with their\nown books, so the pair is only recoverable through this."
},
"outcome": {
"$ref": "#/$defs/PredictionOutcome",
"description": "Which side of the market this contract pays on."
},
"payout": {
"$ref": "#/$defs/Price",
"description": "What one contract pays if it resolves in its favour - `1.0` on Kalshi\nand Polymarket both."
},
"symbol": {
"type": "string",
"description": "The venue's identifier for this contract - a Kalshi market ticker, or a\nPolymarket token id."
},
"tick_size": {
"$ref": "#/$defs/Price"
},
"venue": {
"type": "string"
}
}
},
"PredictionOutcome": {
"type": "string",
"description": "Which side of a prediction market a contract pays on.",
"enum": [
"YES",
"NO"
]
},
"Price": {
"type": "string"
},
"Quantity": {
"type": "string"
},
"Settlement": {
"type": "string",
"description": "Which asset a [`Perpetual`] pays out in.\n\nThe difference is not bookkeeping. A linear contract is quoted and settled\nin the quote asset, so its value rises with price like anything else. An\ninverse contract is quoted in the quote asset and settled in the **base**\none, which puts price in the denominator: the position is worth\n`multiplier * quantity / price`, and it is worth *less* as price rises.\n\nA venue commonly lists both against the same pair - `BTCUSDT` linear beside\n`XBTUSD` inverse - so the spelling is not a reliable guide and this field\nis the only thing that says which is which.",
"enum": [
"LINEAR",
"INVERSE"
]
}
}
}
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/anthid-com-evaluate-request"
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.