get_symbol_series
Retrieve recent historical OHLCV data for financial symbols with optional real-time updates. Configure intervals and adjustments to access up to 30,000 bars.
Instructions
Recent Time Series (up to 30k bars) with real-time data option. Retrieve recent historical OHLCV data with real-time data option for a symbol with configurable time intervals and adjustments → Returns {code: string, bar_type: string, bar_end?: number, last_update: number, series: [{time: number, open?: number, high?: number, low?: number, close: number, volume?: number, type?: string}]}. With abbr=true: {code: string, bar_type: string, bar_end?: number, last_update: number, series_keys: string[], series: number[][]} — compact arrays for reduced LLM token usage. Not all bar types include the same fields (e.g., tick data may only have [time, type, close]) — always check series_keys. For intra-day historical data (if you need more than recent 30k bars) use get_symbol_history instead. For real-time streaming, read the insightsentry://docs/websocket resource.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | Symbol in Exchange:Symbol format (e.g., NASDAQ:AAPL, NYSE:TSLA). You can search for this symbol code using the /v3/symbols/search endpoint. | |
| bar_type | No | (Optional) Bar type. Default is 'day' | |
| bar_interval | No | (Optional) Bar intervals. The combination of bar_type and bar_interval must not exceed one year. Default is 1. | |
| extended | No | (Optional) Extended hours (Not all assets support extended hours). Default to true. | |
| dadj | No | (Optional) Dividend adjustment for equities and etfs (has no effect on assets without dividends). Default to false. | |
| badj | No | (Optional) Back-adjustment for continous futures contracts (has no effect on non-continous futures data). Default to true. | |
| dp | No | (Optional) Maximum number of data points to return. Higher values may increase latency. Default is 3000. Supported values: 1 - 30000 | |
| long_poll | No | (Optional) If true, the server will wait up to 3 additional seconds for a real-time data before responding. Default is false. | |
| currency | No | (Optional) Convert the OHLCV data to a different currency. The currency code must be a valid ISO 4217 currency code (e.g., USD, EUR, GBP). Do not include this field if you want to use the default currency for the symbol (Supports 173 values including: AED, AFN, ALL, AMD, AOA, ARS, AUD, AWG, AZN, BAM, ...) | |
| settlement | No | (Optional) Set Settlement as daily close. Default is false | |
| abbr | No | (Optional) Set to 'true' for compact output optimized for LLM consumption. Returns series as arrays instead of objects with a series_keys header array. Does not affect response speed — only changes the output format for reduced token usage. | |
| filter | No | (Optional) JSONata expression to filter/transform the API response server-side before it reaches you. Use this to extract only the fields or rows you need, reducing token usage. See https://jsonata.org for syntax. |