Contract
{
"type": "object",
"required": [
"pair"
],
"properties": {
"from": {
"type": "string",
"minLength": 1,
"description": "Start of time range. Accepts Unix seconds or date string (YYYY-MM-DD, ISO8601). Binance only retains the last 30 days of data; other exchanges may have different limits. Example: 2026-03-01."
},
"pair": {
"type": "string",
"minLength": 1,
"description": "Trading pair (e.g. BTC/USDT). Example: BTC/USDT."
},
"limit": {
"type": "integer",
"default": 50,
"maximum": 500,
"minimum": 1,
"description": "Max number of records. For longer history, paginate using the last returned timestamp as the next from value. Example: 50. Defaults to 50."
},
"exchange": {
"enum": [
"binance",
"okx",
"bybit",
"bitget"
],
"type": "string",
"default": "binance",
"description": "Exchange identifier. Example: binance. Defaults to \"binance\"."
},
"interval": {
"enum": [
"1h",
"4h",
"1d"
],
"type": "string",
"default": "1h",
"description": "Bucket size for each point in the series: 1h, 4h, or 1d. This endpoint uses interval only; it does NOT accept time_range. Use from + limit to control the window. Example: 1h. Defaults to \"1h\"."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"data",
"meta"
],
"properties": {
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"pair": {
"type": "string",
"description": "The trading pair as requested, e.g. 'BTC/USDT'."
},
"exchange": {
"type": "string",
"description": "Echoes the requested exchange, e.g. 'binance', 'okx'."
},
"timestamp": {
"type": "integer",
"description": "Unix seconds marking the start of this bucket."
},
"long_short_ratio": {
"type": "number",
"description": "Ratio of long to short positions/traders at this bucket. Above 1 means more long than short; below 1 means more short than long. Observed range 1.07-1.33 (BTC/USDT hourly, binance) and 1.15-1.49 (ETH/USDT daily, okx) across both fixtures."
}
},
"additionalProperties": false
},
"description": "One entry per time bucket."
},
"meta": {
"type": "object",
"properties": {
"cached": {
"type": "boolean",
"description": "Whether this response was served from the provider's cache. Observed false on both real fixtures."
}
},
"additionalProperties": false
}
},
"description": "The long/short ratio response, as returned at routing.responseResultPath ($.output).",
"additionalProperties": false
}Pricing
Every real charge, itemised. A model that quietly omits one is a slow financial leak, so nothing here is rolled up, and a charge that only applies to some inputs says so rather than being added in.
Prices in this catalog are the provider's own list price, not your bill: Omnial MCP charges provider cost plus a platform markup on top, so what you are charged is higher than the figure shown. For the exact amount a specific call will cost, run omnial_execute with dry_run: true; that number includes the markup and is what we hold while the call runs. It is a quote, not a cap on the charge.
| Charge | Rate |
|---|---|
Per call Flat, regardless of what comes back | $0.00819 |
- Cost basis
- Not recorded
This tool's catalog entry does not record how its final bill is determined, so we will not tell you whether its cost is fixed before the call or reported by the provider afterwards. Either way what is held is a quote rather than a cap: you are charged what the call actually costs, bounded at 2x the quote.
- Updated
- Sep 15, 2026
