Get futures bars
get_futuresAnswers 'give me every ES contract since 2007' (or any futures market's history). Give a root (ES, NQ, YM, RTY, CL, GC, SI, NG, ZN, ZB, VX, 6E and more; a leading '/' is fine) for the continuous back-adjusted series, or a contract (e.g. ESZ26) for one contract; optionally interval (1min, 5min, 15min, 30min, 1hour) for intraday bars. Returns daily OHLCV and open interest, clipped to as_of. Covers 139 futures markets (CME, CBOT, NYMEX, COMEX, ICE, Eurex, Cboe) with every individual contract since 2007. Free keys get the last 30 days; full history with a FinzData plan.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"root": "<root>"
},
"name": "get_futures"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | ||
| root | Yes | Futures root, e.g. ES, NQ, CL, GC, VX. | |
| as_of | No | Point-in-time cutoff (YYYY-MM-DD). Nothing dated after this is returned, preventing look-ahead bias. Defaults to today (UTC). | |
| start | No | ||
| contract | No | Optional single contract, e.g. ESZ26. | |
| interval | No | Bar size: 1day (default), or intraday 1min, 5min, 15min, 30min, 1hour (full Globex session, US Eastern timestamps; intraday comes with a purchase of that market). | |
| continuous | No | Back-adjusted continuous series (default true when no contract). |