insightsentry_mcp
v1.4.63MCP server for InsightSentry financial data API - market data, options, screeners, and more
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
whoami
Print the logged-in InsightSentry user's email, falling back to uuid.
version_status
Check the installed InsightSentry CLI/MCP package version against the latest npm version and show the upgrade command when one is available.
collect_live
Collect a bounded sample of live quotes or series. Stops after the message or duration limit and returns data messages as structured JSON.
| Parameter | Type | Description |
|---|---|---|
24h | boolean | Include 24-hour market data. |
badj | boolean | Back-adjust continuous futures. |
bar_interval | integer | Series interval. Tick and second bars use 1. |
bar_type | string | Series bar type. |
dadj | boolean | Apply dividend adjustment. |
dp | integer | Initial series data points, 1-30000. |
duration_seconds | number | Stop after this many seconds. Default 10; maximum 60. |
extended | boolean | Include extended-hours data. |
max_messages | integer | Stop after this many data messages. Default 20; maximum 100. |
max_reconnect_attempts | integer | Maximum consecutive reconnect attempts. Default 2; maximum 10. |
settlement | boolean | Use settlement as daily close. |
slow_consumer_policy | string | Use adaptive for fresh lower-frequency delivery instead of backlog disconnects. |
split | boolean | Apply split adjustment. |
subscriptions | array | Per-symbol subscriptions. Do not combine with symbols or type. |
symbols | One or more EXCHANGE:SYMBOL codes. Use with type. | |
type | string | Data to collect for every symbol. Use with symbols. |
collect_newsfeed
Collect a bounded sample of live financial news. Stops after the message or duration limit and returns news items as structured JSON.
| Parameter | Type | Description |
|---|---|---|
content | string | Comma- or space-separated terms; matches when content contains at least one term. |
duration_seconds | number | Stop after this many seconds. Default 10; maximum 60. |
max_messages | integer | Stop after this many data messages. Default 20; maximum 100. |
max_reconnect_attempts | integer | Maximum consecutive reconnect attempts. Default 2; maximum 10. |
related_symbols | string | Comma- or space-separated related symbols. |
source | string | Case-insensitive exact source name. |
get_symbol_series
Recent Time Series (up to 30k bars). Retrieve recent historical OHLCV data for a symbol with configurable time intervals and adjustments. Option contracts (`OPRA:` codes) support tick series (the latest trades, up to 30,000; `bar_interval` is ignored) and minute (1–59, or whole hours up to 23), hour (1–24), day (1 or 7), week (1) and month (1, 2, 3, 4, 6 or 12) bars; second bars and other intervals answer `not_supported`. → Returns {code: string, bar_type: string, bar_end?: number, last_update: number, series: [{time: number, open?: number, high?: number, low?: number, close: number, vol…
| Parameter | Type | Description |
|---|---|---|
symbol * | string | Symbol in Exchange:Symbol format (e.g., NASDAQ:AAPL, NYSE:TSLA, SIP:AAPL). You can search for this symbol code using the /v3/symbols/search endpoint. |
24h | boolean | (Optional) Request the 24-hour session where the symbol has one. When true, takes precedence over extended. Default is false. |
abbr | boolean | Set to true to return series as arrays with a series_keys array of field names. Empty series may omit series_keys. |
badj | boolean | (Optional) Back-adjustment for continous futures contracts (has no effect on non-continous futures data). Default to true. |
bar_interval | integer | Bar interval. Default is 1; tick and second bars use 1. |
bar_type | string | (Optional) Bar type. Default is 'day' |
dadj | boolean | (Optional) Dividend adjustment for equities and etfs (has no effect on assets without dividends). Ignored when split=false. Default to false. |
dp | integer | The minimum value of 1 is preserved; values from 2 are rounded up to the next multiple of 500 data points. Default is 3000. Supported values: 1 - 30000. |
extended | boolean | (Optional) Extended hours (Not all assets support extended hours). Default to true. |
filter | string | (Optional) JSONata expression to return only the fields or rows you need. See https://jsonata.org for syntax. |
output_dir | string | Directory for stored response when output_file is not set. |
output_file | string | File path for stored response. |
settlement | boolean | (Optional) Set Settlement as daily close. Default is false |
split | boolean | (Optional) Split adjustment for equities and ETFs. Default to true. When false, returns unadjusted data and overrides dadj. |
store | string | Store the response locally instead of returning it. Default is none. csv is only supported for get_symbol_series. |
get_symbol_history_period
Historical data as far as 20 years+ for intra-day historical data (second/minute/hour). Retrieve historical data for specific time periods with deep archive access → 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 d…
| Parameter | Type | Description |
|---|---|---|
bar_type * | string | (Required) Bar type. |
start_date * | string | Starting period in YYYY-MM format for minute/hour intervals or YYYY-MM-DD for second intervals, in UTC (New York time for SIP: codes, whose earliest date is 2016-01-01). Invalid calendar dates are rej… |
symbol * | string | Symbol in Exchange:Symbol format (e.g., NASDAQ:AAPL, NYSE:TSLA, SIP:AAPL). You can search for this symbol code using the /v3/symbols/search endpoint. |
abbr | boolean | Set to true to return series as arrays with a series_keys array of field names. Empty series may omit series_keys. |
badj | boolean | (Optional) Back-adjustment for continous futures contracts (has no effect on non-continous futures data). Default to true. |
bar_interval | integer | Bar interval. Default is 1; tick and second bars use 1. |
dadj | boolean | (Optional) Dividend adjustment for equities and etfs (has no effect on assets without dividends). Ignored when split=false. Default to false. |
extended | boolean | (Optional) Extended hours (Not all assets support extended hours). Default to true. |
filter | string | (Optional) JSONata expression to return only the fields or rows you need. See https://jsonata.org for syntax. |
output_dir | string | Directory for stored response when output_file is not set. |
output_file | string | File path for stored response. |
settlement | boolean | (Optional) Set Settlement as daily close. Default is false |
split | boolean | (Optional) Split adjustment for equities and ETFs. Default to true. When false, returns unadjusted data and overrides dadj. |
store | string | Store the response locally instead of returning it. Default is none. csv is only supported for get_symbol_series. |
get_symbol_trades
Tick trades by UTC date. Retrieve available trades for a stock, fund, currency, or futures symbol; other symbol types return 400 `unsupported_symbol_type`. Today's and tomorrow's UTC dates return a rolling snapshot, with 24 hours by default; the previous six dates return their UTC calendar days. U.S.-listed stocks and funds, SIP: codes included, use New York dates instead: today's or tomorrow's date returns the session in progress or, when none is running, the latest one, unless `window` is set. For continuous futures, 1! uses today's front contract and 2! uses today's next contract for every…
| Parameter | Type | Description |
|---|---|---|
date * | string | UTC date in YYYY-MM-DD format; U.S.-listed stocks and funds, SIP: codes included, use New York dates. Today and the previous six dates are supported; until midnight, tomorrow's date returns the same d… |
symbol * | string | Symbol in Exchange:Symbol format (e.g., NASDAQ:AAPL, NYSE:TSLA, SIP:AAPL). You can search for this symbol code using the /v3/symbols/search endpoint. |
filter | string | (Optional) JSONata expression to return only the fields or rows you need. See https://jsonata.org for syntax. |
from | string | null | Return trades at or after this UTC time in ISO 8601 format, within the requested date, or within the window for today's date. |
output_dir | string | Directory for stored response when output_file is not set. |
output_file | string | File path for stored response. |
store | string | Store the response locally instead of returning it. Default is none. csv is only supported for get_symbol_series. |
to | string | null | Return trades before this UTC time in ISO 8601 format, within the requested date, or within the window for today's date. |
window | Rolling duration for today's or tomorrow's date. Without it, U.S.-listed stocks and funds, SIP: codes included, return the session in progress or the latest one; other symbols use 24 hours. Ignored fo… |
get_symbol_contracts
List of contracts and its settlement date for futures symbols. Retrieve list of relatively recent contracts along with their settlement dates for futures symbols → Returns {base_code: string, contracts: [{code: string, settlement_date: string}]}. Use a specific contract code (e.g., CME_MINI:NQH2024) with get_symbol_history for deep history.
| Parameter | Type | Description |
|---|---|---|
symbol * | string | Symbol in Exchange:Symbol format (e.g., NASDAQ:AAPL, NYSE:TSLA). You can search for this symbol code using the /v3/symbols/search endpoint. |
filter | string | (Optional) JSONata expression to return only the fields or rows you need. See https://jsonata.org for syntax. |
output_dir | string | Directory for stored response when output_file is not set. |
output_file | string | File path for stored response. |
store | string | Store the response locally instead of returning it. Default is none. csv is only supported for get_symbol_series. |
get_symbol_info
Symbol information and metadata. Retrieve detailed information about a symbol including type, currency, market data, splits, option information, and more. Not intended for current price data. → Returns {code: string, type?: string, name?: string, exchange?: string, currency_code?: string, base_currency?: string, min_contract?: number, volume_type?: string, country_code?: string, security_identifiers?: {isin?: string, cusip?: string, figi?: {country_composite?: string, exchange_level?: string}, cik?: string}, sector?: string, industry?: string, description?: string, ceo?: string, website?: st…
| Parameter | Type | Description |
|---|---|---|
symbol * | string | Symbol in Exchange:Symbol format (e.g., NASDAQ:AAPL, NYSE:TSLA, SIP:AAPL). You can search for this symbol code using the /v3/symbols/search endpoint. |
filter | string | (Optional) JSONata expression to return only the fields or rows you need. See https://jsonata.org for syntax. |
output_dir | string | Directory for stored response when output_file is not set. |
output_file | string | File path for stored response. |
store | string | Store the response locally instead of returning it. Default is none. csv is only supported for get_symbol_series. |
get_symbol_session
Trading session information. Retrieve trading session details including holidays, trading hours, timezone, and session corrections
| Parameter | Type | Description |
|---|---|---|
symbol * | string | Symbol in Exchange:Symbol format (e.g., NASDAQ:AAPL, NYSE:TSLA, SIP:AAPL). You can search for this symbol code using the /v3/symbols/search endpoint. |
filter | string | (Optional) JSONata expression to return only the fields or rows you need. See https://jsonata.org for syntax. |
output_dir | string | Directory for stored response when output_file is not set. |
output_file | string | File path for stored response. |
store | string | Store the response locally instead of returning it. Default is none. csv is only supported for get_symbol_series. |
get_quotes
Latest quote data. Retrieve the latest quote data for up to 10 symbols → Returns {total_items: number, data: [{code: string, status?: string, last_price?: number, change?: number, change_percent?: number, volume?: number, bid?: number, ask?: number, bid_size?: number, ask_size?: number, quote_time?: number, bid_exchange?: string, ask_exchange?: string, luld?: object, trading_status?: object, market_cap?: number, open_price?: number, high_price?: number, low_price?: number, prev_close_price?: number, regular_close_price?: number, lp_time?: number, delay_seconds?: number, currency_code?: strin…
| Parameter | Type | Description |
|---|---|---|
codes * | string | Comma-separated list of symbol codes in Exchange:Symbol format, such as NASDAQ:AAPL or SIP:AAPL. Each code must match the SymbolCode pattern. |
badj | boolean | (Optional) Back-adjustment for continous futures contracts (has no effect on non-continous futures data). Default to true. |
dadj | boolean | (Optional) Dividend adjustment for equities and etfs (has no effect on assets without dividends). Ignored when split=false. Default to false. |
filter | string | (Optional) JSONata expression to return only the fields or rows you need. See https://jsonata.org for syntax. |
output_dir | string | Directory for stored response when output_file is not set. |
output_file | string | File path for stored response. |
settlement | boolean | (Optional) Set Settlement as daily close. Default is false |
split | boolean | (Optional) Split adjustment for equities and ETFs. Default to true. When false, returns unadjusted data and overrides dadj. |
store | string | Store the response locally instead of returning it. Default is none. csv is only supported for get_symbol_series. |
search_symbols
Search for symbols. Search for symbols by text, type, country, or exchange. → Returns {current_page: number, has_more: boolean, symbols: [{name: string, code: string, type: string, exchange: string, currency_code: string, country: string, description: string}]}. ALWAYS start here to find the correct symbol code unless you already know it. InsightSentry uses EXCHANGE:SYMBOL format (e.g., NASDAQ:AAPL) which differs from other platforms. Do NOT guess codes — search first. Use exchange to limit results to one exchange; call list_exchanges to discover exchange prefixes. For SIP: codes (US conso…
| Parameter | Type | Description |
|---|---|---|
country | string | Filter by country. 2-letter ISO code |
exchange | string | Filter by exchange |
filter | string | (Optional) JSONata expression to return only the fields or rows you need. See https://jsonata.org for syntax. |
output_dir | string | Directory for stored response when output_file is not set. |
output_file | string | File path for stored response. |
page | integer | Each page returns up to 50 results. |
query | string | Search query string. `SIP:AAPL` checks one SIP code, `SIP:` lists every SIP code page by page, and `exchange=SIP` searches within them. |
store | string | Store the response locally instead of returning it. Default is none. csv is only supported for get_symbol_series. |
type | string | Filter by instrument type |
list_exchanges
List available exchanges. Retrieve exchange prefixes, names, and descriptions. → Returns {current_page: number, has_more: boolean, exchanges: [{exchange: string, name: string, description: string, country: string, supported_asset_types: string[]}]}. Use a returned exchange prefix with the exchange parameter of search_symbols.
| Parameter | Type | Description |
|---|---|---|
filter | string | (Optional) JSONata expression to return only the fields or rows you need. See https://jsonata.org for syntax. |
output_dir | string | Directory for stored response when output_file is not set. |
output_file | string | File path for stored response. |
store | string | Store the response locally instead of returning it. Default is none. csv is only supported for get_symbol_series. |
get_symbol_fundamentals
Fundamental data and statistics. Retrieve comprehensive fundamental data including company info, valuation ratios, profitability metrics, balance sheet, cash flow, income statement, and more → Returns {code: string, data: [{id: string, name?: string, category?: string, group?: string, type?: string, period?: string, value?: number|string|array}], last_update: number}. The data array contains hundreds of fields. Use filter to access: data[category='Valuation'] to filter by category, $distinct(data.category) to list categories. If you're unsure which fields exist, call get_fundamentals_meta fi…
| Parameter | Type | Description |
|---|---|---|
symbol * | string | Symbol in Exchange:Symbol format (e.g., NASDAQ:AAPL, NYSE:TSLA, SIP:AAPL). You can search for this symbol code using the /v3/symbols/search endpoint. |
filter | string | (Optional) JSONata expression to return only the fields or rows you need. See https://jsonata.org for syntax. |
output_dir | string | Directory for stored response when output_file is not set. |
output_file | string | File path for stored response. |
store | string | Store the response locally instead of returning it. Default is none. csv is only supported for get_symbol_series. |
get_fundamentals_series
Fundamental Data in Time Series format. Retrieve historical data for specific indicators. A maximum of 5 Indicator IDs can be requested at a time. The list of available Indicator IDs is provided in the fundamental_series and technical_series fields of the /v3/symbols/fundamentals endpoint. Some parameters may not apply to certain Indicator IDs, and not all indicators are supported for every symbol. → Returns {code: string, total_items: number, last_update: number, data: [{id: string, name: string, data: [{time: number, close: number}]}]} — max 5 indicator IDs per request. If you don't know…
| Parameter | Type | Description |
|---|---|---|
ids * | string | (Required) Comma-separated list of indicator IDs (maximum 5). Available IDs can be retrieved from /v3/symbols/fundamentals endpoint's 'fundamental_series' and 'technical_series' fields. |
symbol * | string | Symbol in Exchange:Symbol format (e.g., NASDAQ:AAPL, NYSE:TSLA, SIP:AAPL). You can search for this symbol code using the /v3/symbols/search endpoint. |
filter | string | (Optional) JSONata expression to return only the fields or rows you need. See https://jsonata.org for syntax. |
output_dir | string | Directory for stored response when output_file is not set. |
output_file | string | File path for stored response. |
store | string | Store the response locally instead of returning it. Default is none. csv is only supported for get_symbol_series. |
get_fundamentals_meta
Meta data for /fundamentals endpoints. Retrieve the fundamentals schema and metadata. This endpoint returns the layout and definitions only — it does not include actual data, which are provided by /v3/symbols/{symbol}/fundamentals. → Returns {last_update: number, base: [{id: string, name?: string, category?: string, group?: string, type?: string, period?: string}], fundamental_series: [{id: string, name: string}], technical_series: [{id: string, name: string}]}. No values — schema only. Use this to discover and search available fields when you're unsure which field IDs exist (e.g., find…
| Parameter | Type | Description |
|---|---|---|
filter | string | (Optional) JSONata expression to return only the fields or rows you need. See https://jsonata.org for syntax. |
output_dir | string | Directory for stored response when output_file is not set. |
output_file | string | File path for stored response. |
store | string | Store the response locally instead of returning it. Default is none. csv is only supported for get_symbol_series. |
get_options_contracts
List option contracts. List option contracts from the SIP data feed for US equities (stocks and ETFs) and supported indices only. Filter by strike, range, expiration, or type, and use next_token for further pages. Returned contract codes can be used with /v3/symbols/quotes and, where available, /v3/symbols/{symbol}/series. → Returns {underlying_code: string, last_update: number, last_price?: number, next_token?: string, data: [{code: string, description: string, expiration: string, type: string, status: string, style: string, strike_price: string, multiplier: string, size: string, open_inter…
| Parameter | Type | Description |
|---|---|---|
code * | string | (Required) Symbol code in Exchange:Symbol format (e.g., NASDAQ:AAPL). Use search_symbols to find the correct code. |
expiration | string | (Optional) Exact expiration date. Validated but not used when from or to is provided. (Format: YYYY-MM-DD; must be a valid calendar date) |
filter | string | (Optional) JSONata expression to return only the fields or rows you need. See https://jsonata.org for syntax. |
from | string | (Optional) Minimum expiration date. When provided, expiration parameter is ignored. (Format: YYYY-MM-DD; must be a valid calendar date) |
next_token | string | (Optional) Pagination token from a previous /v3/options/contracts response. Send the same filters plus next_token to request the next page. |
output_dir | string | Directory for stored response when output_file is not set. |
output_file | string | File path for stored response. |
range | integer | (Optional) Strike price range as a percentage of the current underlying price. For example, range=10 returns only options with strikes within ±10% of the current price. Values above 1000 are capped a… |
store | string | Store the response locally instead of returning it. Default is none. csv is only supported for get_symbol_series. |
strike | number | (Optional) Exact strike price. Takes precedence over range when both are provided. |
to | string | (Optional) Maximum expiration date. When provided, expiration parameter is ignored. (Format: YYYY-MM-DD; must be a valid calendar date) |
type | string | (Optional) Filter by option type. |
get_options_snapshot
Option snapshots. Get option snapshots from the SIP data feed for US equities (stocks and ETFs) and supported indices only. Rows may include previous and current daily bars, latest quote and trade, Greeks, and implied volatility. Filter by strike, range, expiration, or type, and use next_token for further pages. Timestamps are Unix milliseconds. → Returns {underlying_code: string, last_price?: number, next_token?: string, data: [{code: string, prev?: object, daily?: object, latest_quote?: object, latest_trade?: object, greeks?: {delta?: number, gamma?: number, rho?: number, theta?: number, v…
| Parameter | Type | Description |
|---|---|---|
code * | string | (Required) Symbol code in Exchange:Symbol format (e.g., NASDAQ:AAPL). Use search_symbols to find the correct code. |
expiration | string | (Optional) Exact expiration date. Validated but not used when from or to is provided. (Format: YYYY-MM-DD; must be a valid calendar date) |
filter | string | (Optional) JSONata expression to return only the fields or rows you need. See https://jsonata.org for syntax. |
from | string | (Optional) Minimum expiration date. When provided, expiration parameter is ignored. (Format: YYYY-MM-DD; must be a valid calendar date) |
next_token | string | (Optional) Pagination token from a previous /v3/options/snapshot response. Send the same filters plus next_token to request the next page. |
output_dir | string | Directory for stored response when output_file is not set. |
output_file | string | File path for stored response. |
range | integer | (Optional) Strike price range as a percentage of the current underlying price. For example, range=10 returns only options with strikes within ±10% of the current price. Values above 1000 are capped a… |
store | string | Store the response locally instead of returning it. Default is none. csv is only supported for get_symbol_series. |
strike | number | (Optional) Exact strike price. Takes precedence over range when both are provided. |
to | string | (Optional) Maximum expiration date. When provided, expiration parameter is ignored. (Format: YYYY-MM-DD; must be a valid calendar date) |
type | string | (Optional) Filter by option type. |
get_options_quotes
Option quotes by strike or expiration. Get all matching option-chain rows from the Global feed for supported stock, ETF, index, and futures underlyings. For range requests, up to 100 contracts with strikes closest to the underlying price may also include last_price, volume, open_interest, open_interest_time, change, and change_percent. Other rows retain available bid/ask, Greeks, and contract fields. Additional fields may be omitted. With no strike, range, expiration, from, or to selector, range defaults to 1000. Strike takes precedence over range. → Returns {underlying_code: string, last_up…
| Parameter | Type | Description |
|---|---|---|
code * | string | (Required) Symbol code in Exchange:Symbol format (e.g., NASDAQ:AAPL). Use search_symbols to find the correct code. |
expiration | string | (Optional) Exact expiration date. Validated but not used when from or to is provided. (Format: YYYY-MM-DD; must be a valid calendar date) |
filter | string | (Optional) JSONata expression to return only the fields or rows you need. See https://jsonata.org for syntax. |
from | string | (Optional) Minimum expiration date. When provided, expiration parameter is ignored. (Format: YYYY-MM-DD; must be a valid calendar date) |
output_dir | string | Directory for stored response when output_file is not set. |
output_file | string | File path for stored response. |
range | integer | (Optional) Strike price range as a percentage of the current underlying price. When that price is available, range=10 returns only options with strikes within ±10% of it. Values above 1000 are capped… |
sort | string | (Optional) Sort order |
sortBy | string | (Optional) Sort by specified field |
store | string | Store the response locally instead of returning it. Default is none. csv is only supported for get_symbol_series. |
strike | number | (Optional) Strike price for exact match filtering. |
to | string | (Optional) Maximum expiration date. When provided, expiration parameter is ignored. (Format: YYYY-MM-DD; must be a valid calendar date) |
type | string | (Optional) Filter by option type. |
get_dividends
Dividend calendar. Retrieve dividend calendar data for a specified time range: each company's recent and upcoming dividend dates and amounts. For individual corporate actions of US-listed stocks and ETFs, dividends included, see /v3/calendar/corporate-actions. → Returns {total_count: number, range: string, last_update: number, data: [{code: string, name: string, country: string, currency_code: string, market_cap: number, dividends_yield: number, dividend_ex_date_recent: number, dividend_ex_date_upcoming: number, dividend_payment_date_recent: number, dividend_payment_date_upcoming: number, di…
| Parameter | Type | Description |
|---|---|---|
c | string | (Optional) Filter by country code(s) as a comma-separated ISO 3166-1 alpha-2 string, for example `US,AR`. Invalid codes will be ignored. |
code | string | (Optional) Filter by symbol code in Exchange:Symbol format (e.g., NASDAQ:AAPL). Returns only calendar entries matching this symbol. |
filter | string | (Optional) JSONata expression to return only the fields or rows you need. See https://jsonata.org for syntax. |
local | boolean | When true and `c` contains exactly one supported non-US country code, monetary values are returned in that country's local reporting currency. Otherwise, the default reporting currency is used. |
month | string | Fetches one UTC calendar month in YYYY-MM format when w is absent: the current month or an earlier one. Invalid months are rejected even when w is provided. A future month is rejected. Oldest availabl… |
output_dir | string | Directory for stored response when output_file is not set. |
output_file | string | File path for stored response. |
store | string | Store the response locally instead of returning it. Default is none. csv is only supported for get_symbol_series. |
w | integer | Specifies the week range. For example, 1 means this week (starting today) through next week, 2 means next week through the following week, and so on. When provided, this parameter takes precedence ove… |
get_earnings
Earnings calendar. Retrieve earnings calendar data for a specified time range → Returns {total_count: number, range: string, last_update: number, data: [{code: string, name: string, country: string, currency_code: string, market_cap: number, earnings_release_date: number, earnings_release_next_date: number, earnings_per_share_fq: number, earnings_per_share_forecast_fq: number, earnings_per_share_forecast_next_fq: number, eps_surprise_fq: number, eps_surprise_percent_fq: number, revenue_fq: number, revenue_forecast_fq: number, revenue_forecast_next_fq: number, revenue_surprise_fq: number, rev…
| Parameter | Type | Description |
|---|---|---|
c | string | (Optional) Filter by country code(s) as a comma-separated ISO 3166-1 alpha-2 string, for example `US,AR`. Invalid codes will be ignored. |
code | string | (Optional) Filter by symbol code in Exchange:Symbol format (e.g., NASDAQ:AAPL). Returns only calendar entries matching this symbol. |
filter | string | (Optional) JSONata expression to return only the fields or rows you need. See https://jsonata.org for syntax. |
local | boolean | When true and `c` contains exactly one supported non-US country code, monetary values are returned in that country's local reporting currency. Otherwise, the default reporting currency is used. |
month | string | Fetches one UTC calendar month in YYYY-MM format when w is absent: the current month or an earlier one. Invalid months are rejected even when w is provided. A future month is rejected. Oldest availabl… |
output_dir | string | Directory for stored response when output_file is not set. |
output_file | string | File path for stored response. |
store | string | Store the response locally instead of returning it. Default is none. csv is only supported for get_symbol_series. |
w | integer | Specifies the week range. For example, 1 means this week (starting today) through next week, 2 means next week through the following week, and so on. When provided, this parameter takes precedence ove… |
get_ipos
IPO calendar. Retrieve IPO calendar data for a specified time range → Returns {total_count: number, range: string, last_update: number, data: [{code: string, name: string, country: string, currency: string, status: string, offer_time: number, offer_price: number, offered_shares: number, deal_amount: number, price_range: string, market_cap: number}]}. Default: current week. Use 'w' to look ahead or 'month' for one historical UTC month; w takes precedence. Filter by country with 'c' or symbol with 'code' (e.g., 'NASDAQ:AAPL'). HTTP 200 may return error=no_data and a message when the requested…
| Parameter | Type | Description |
|---|---|---|
c | string | (Optional) Filter by country code(s) as a comma-separated ISO 3166-1 alpha-2 string, for example `US,AR`. Invalid codes will be ignored. |
code | string | (Optional) Filter by symbol code in Exchange:Symbol format (e.g., NASDAQ:AAPL). Returns only calendar entries matching this symbol. |
filter | string | (Optional) JSONata expression to return only the fields or rows you need. See https://jsonata.org for syntax. |
month | string | Fetches one UTC calendar month in YYYY-MM format when w is absent: the current month or an earlier one. Invalid months are rejected even when w is provided. A future month is rejected. Oldest availabl… |
output_dir | string | Directory for stored response when output_file is not set. |
output_file | string | File path for stored response. |
store | string | Store the response locally instead of returning it. Default is none. csv is only supported for get_symbol_series. |
w | integer | Specifies the week range. For example, 1 means this week (starting today) through next week, 2 means next week through the following week, and so on. When provided, this parameter takes precedence ove… |
get_events
Economic events calendar. Retrieve economic events calendar data for a specified time range → Returns {total_count: number, range: string, last_update: number, data: [{title?: string, country?: string, type?: string, currency?: string, importance?: string, date?: string, source_url?: string}]}. Default: current week. Use 'w' to look ahead or 'month' for one historical UTC month; w takes precedence. Filter by country with 'c'. HTTP 200 may return error=no_data and a message when the requested period has no data.
| Parameter | Type | Description |
|---|---|---|
c | string | (Optional) Filter by country code(s) as a comma-separated ISO 3166-1 alpha-2 string, for example `US,AR`. Invalid codes will be ignored. |
filter | string | (Optional) JSONata expression to return only the fields or rows you need. See https://jsonata.org for syntax. |
month | string | Fetches one UTC calendar month in YYYY-MM format when w is absent: the current month or an earlier one. Invalid months are rejected even when w is provided. A future month is rejected. Oldest availabl… |
output_dir | string | Directory for stored response when output_file is not set. |
output_file | string | File path for stored response. |
store | string | Store the response locally instead of returning it. Default is none. csv is only supported for get_symbol_series. |
w | integer | Specifies the week range. For example, 1 means this week (starting today) through next week, 2 means next week through the following week, and so on. When provided, this parameter takes precedence ove… |
get_corporate_actions
US corporate actions calendar. Return corporate actions of US-listed stocks and ETFs processed in a month, such as dividends, splits, mergers and name changes, one entry per action, optionally for one symbol. For each company's recent and upcoming dividend dates, see /v3/calendar/dividends. → Returns {total_count, range, last_update, data}. Select a processing month with month=YYYY-MM. Optionally pass code, a SIP: code or a US listing's code such as NASDAQ:AAPL, for one symbol's actions, named by that code; codes of other markets return 400 unsupported_for_endpoint. Each row includes code, a…
| Parameter | Type | Description |
|---|---|---|
month * | string | Processing month in YYYY-MM format. |
code | string | A SIP code or the code of a US-listed stock or ETF, such as SIP:AAPL, NASDAQ:AAPL or AMEX:SPY. The symbol's own actions are named by this code. |
filter | string | (Optional) JSONata expression to return only the fields or rows you need. See https://jsonata.org for syntax. |
output_dir | string | Directory for stored response when output_file is not set. |
output_file | string | File path for stored response. |
store | string | Store the response locally instead of returning it. Default is none. csv is only supported for get_symbol_series. |
get_newsfeed
News feed. Retrieve latest financial news with optional keyword and field-specific filtering → Returns {last_update: number, total_items: number, current_items: number, page: number, has_next: boolean, data: [{title?: string, content?: string, link?: string, published_at: number, related_symbols?: string[]}]}.
| Parameter | Type | Description |
|---|---|---|
archive | boolean | (Optional) Set to true to search older archived news when using filters. Archived results may omit very recent items. |
content | string | (Optional) Return only news items whose content contains these values. Matching is case-insensitive and partial; values may be separated by spaces or commas; provide up to 10 values, each with at leas… |
filter | string | (Optional) JSONata expression to return only the fields or rows you need. See https://jsonata.org for syntax. |
from | string | (Optional) UTC start date. Must be a valid calendar date in YYYY-MM-DD format. When provided without to, to is treated as the current UTC date. |
keywords | string | (Optional) Keywords to include items that match one of the keywords in the title, content, or related symbols. Values may be separated by spaces or commas; provide up to 10 values, each with at least… |
limit | integer | (Optional) Limit the number of news items returned. Must be an integer between 1 and 500. Default is 500. |
output_dir | string | Directory for stored response when output_file is not set. |
output_file | string | File path for stored response. |
page | integer | Page number for pagination |
related_symbols | string | (Optional) Return news items that contain any matching related symbol. Values may be separated by spaces or commas; provide up to 10 values, each with at least 2 characters and at most 50 characters.… |
source | string | (Optional) Return only news items whose source exactly matches this value. Matching is case-insensitive. The value must contain at least 2 characters and at most 50 characters. |
store | string | Store the response locally instead of returning it. Default is none. csv is only supported for get_symbol_series. |
title | string | (Optional) Return only news items whose title contains these values. Matching is case-insensitive and partial; values may be separated by spaces or commas; provide up to 10 values, each with at least… |
to | string | (Optional) UTC end date. Must be a valid calendar date in YYYY-MM-DD format. Validated but not used when from is absent. Future dates are treated as the current UTC date. |
get_newsfeed_sources
News feed sources. Retrieve the list of available news feed source names. → Returns {last_update: number, data: string[]}. Use an exact returned source name with the source parameter of get_newsfeed.
| Parameter | Type | Description |
|---|---|---|
filter | string | (Optional) JSONata expression to return only the fields or rows you need. See https://jsonata.org for syntax. |
output_dir | string | Directory for stored response when output_file is not set. |
output_file | string | File path for stored response. |
store | string | Store the response locally instead of returning it. Default is none. csv is only supported for get_symbol_series. |
get_stock_screener_params
Get available stock screener parameters. Retrieve the list of available fields and parameters for stock screening → Returns {available_fields: string[], available_exchanges: string[], available_countries: string[], sortOrder: string[]}. All arrays are flat string arrays (field names, not objects). Next: use screen_stocks with these fields to filter the market.
| Parameter | Type | Description |
|---|---|---|
filter | string | (Optional) JSONata expression to return only the fields or rows you need. See https://jsonata.org for syntax. |
output_dir | string | Directory for stored response when output_file is not set. |
output_file | string | File path for stored response. |
store | string | Store the response locally instead of returning it. Default is none. csv is only supported for get_symbol_series. |
screen_stocks
Stock Screener. Retrieve stock data based on specified filter criteria → Returns {hasNext: boolean, current_page: number, total_page: number, current_items: number, data: [{symbol_code: string, name: string, country: string, currency: string, delay_seconds: number, ...requested_fields}]}. WORKFLOW: 1) Call get_stock_screener_params to discover available fields, exchanges, countries. 2) POST with your chosen fields. Tip: Filter by exchanges (e.g., ["NYSE", "NASDAQ"]) to exclude OTC/penny stocks. Example: {"fields":["close","volume","market_cap"],"exchanges":["NYSE","NASDAQ"],"countries":["US"…
| Parameter | Type | Description |
|---|---|---|
fields * | array | Array of field names to include in the response (1-10 fields). Discover available fields by calling the GET screener params tool first (e.g., get_stock_screener_params). Field names are case-insensiti… |
countries | array | Array of country codes to filter by (e.g., ["US", "CA"]). Not available for crypto screener. Discover available countries via the GET screener params tool. |
exchanges | array | Array of exchange names to filter by (e.g., ["NYSE", "NASDAQ"]). Discover available exchanges via the GET screener params tool. |
filter | string | (Optional) JSONata expression to return only the fields or rows you need. See https://jsonata.org for syntax. |
ignore_invalid | boolean | If true, invalid fields, exchanges, or countries are silently filtered out instead of returning an error. Useful when you're unsure if a field exists. |
max_range | Number of screener results returned per page. The minimum value of 1 is preserved; values from 2 are rounded up to the next multiple of 500. Default is 1000. Supported values: 1 - 15000. | |
output_dir | string | Directory for stored response when output_file is not set. |
output_file | string | File path for stored response. |
page | integer | Page number for pagination |
sortBy | string | Field name to sort results by. Must be one of the requested fields or "name". Default: "name". |
sortOrder | string | Sort order: "asc" (ascending) or "desc" (descending). Default: "asc". |
store | string | Store the response locally instead of returning it. Default is none. csv is only supported for get_symbol_series. |
get_etf_screener_params
Get available ETF screener parameters. Retrieve the list of available fields and parameters for ETF screening → Returns {available_fields: string[], available_exchanges: string[], available_countries: string[], sortOrder: string[]}. All arrays are flat string arrays (field names, not objects). Next: use screen_etfs with these fields.
| Parameter | Type | Description |
|---|---|---|
filter | string | (Optional) JSONata expression to return only the fields or rows you need. See https://jsonata.org for syntax. |
output_dir | string | Directory for stored response when output_file is not set. |
output_file | string | File path for stored response. |
store | string | Store the response locally instead of returning it. Default is none. csv is only supported for get_symbol_series. |
screen_etfs
ETF Screener. Retrieve ETF data based on specified filter criteria → Returns {hasNext: boolean, current_page: number, total_page: number, current_items: number, data: [{symbol_code: string, name: string, country: string, currency: string, delay_seconds: number, ...requested_fields}]}. WORKFLOW: 1) Call get_etf_screener_params to discover available fields. 2) POST with your chosen fields. Example: {"fields":["close","volume","nav"],"exchanges":["NYSE","NASDAQ"],"countries":["US","CA"],"page":1,"sortBy":"nav","sortOrder":"desc"}.
| Parameter | Type | Description |
|---|---|---|
fields * | array | Array of field names to include in the response (1-10 fields). Discover available fields by calling get_etf_screener_params first. Field names are case-insensitive. |
countries | array | Array of country codes to filter by (e.g., ["US", "CA"]). Not available for crypto screener. Discover available countries via the GET screener params tool. |
exchanges | array | Array of exchange names to filter by (e.g., ["NYSE", "NASDAQ"]). Discover available exchanges via the GET screener params tool. |
filter | string | (Optional) JSONata expression to return only the fields or rows you need. See https://jsonata.org for syntax. |
ignore_invalid | boolean | If true, invalid fields, exchanges, or countries are silently filtered out instead of returning an error. Useful when you're unsure if a field exists. |
max_range | Number of screener results returned per page. The minimum value of 1 is preserved; values from 2 are rounded up to the next multiple of 500. Default is 1000. Supported values: 1 - 15000. | |
output_dir | string | Directory for stored response when output_file is not set. |
output_file | string | File path for stored response. |
page | integer | Page number for pagination |
sortBy | string | Field name to sort results by. Must be one of the requested fields or "name". Default: "name". |
sortOrder | string | Sort order: "asc" (ascending) or "desc" (descending). Default: "asc". |
store | string | Store the response locally instead of returning it. Default is none. csv is only supported for get_symbol_series. |
get_bond_screener_params
Get available bond screener parameters. Retrieve the list of available fields and parameters for bond screening → Returns {available_fields: string[], available_exchanges: string[], available_countries: string[], sortOrder: string[]}. All arrays are flat string arrays (field names, not objects). Next: use screen_bonds with these fields.
| Parameter | Type | Description |
|---|---|---|
filter | string | (Optional) JSONata expression to return only the fields or rows you need. See https://jsonata.org for syntax. |
output_dir | string | Directory for stored response when output_file is not set. |
output_file | string | File path for stored response. |
store | string | Store the response locally instead of returning it. Default is none. csv is only supported for get_symbol_series. |
screen_bonds
Bond Screener. Retrieve bond data based on specified filter criteria → Returns {hasNext: boolean, current_page: number, total_page: number, current_items: number, data: [{symbol_code: string, name: string, country: string, currency: string, delay_seconds: number, ...requested_fields}]}. WORKFLOW: 1) Call get_bond_screener_params to discover available fields. 2) POST with your chosen fields. Example: {"fields":["close_percent","yield_to_maturity","volume"],"exchanges":[],"countries":["US"],"page":1,"sortBy":"yield_to_maturity","sortOrder":"desc"}.
| Parameter | Type | Description |
|---|---|---|
fields * | array | Array of field names to include in the response (1-10 fields). Discover available fields by calling get_bond_screener_params first. Field names are case-insensitive. |
countries | array | Array of country codes to filter by (e.g., ["US", "CA"]). Not available for crypto screener. Discover available countries via the GET screener params tool. |
exchanges | array | Array of exchange names to filter by (e.g., ["NYSE", "NASDAQ"]). Discover available exchanges via the GET screener params tool. |
filter | string | (Optional) JSONata expression to return only the fields or rows you need. See https://jsonata.org for syntax. |
ignore_invalid | boolean | If true, invalid fields, exchanges, or countries are silently filtered out instead of returning an error. Useful when you're unsure if a field exists. |
max_range | Number of screener results returned per page. The minimum value of 1 is preserved; values from 2 are rounded up to the next multiple of 500. Default is 1000. Supported values: 1 - 15000. | |
output_dir | string | Directory for stored response when output_file is not set. |
output_file | string | File path for stored response. |
page | integer | Page number for pagination |
sortBy | string | Field name to sort results by. Must be one of the requested fields or "name". Default: "name". |
sortOrder | string | Sort order: "asc" (ascending) or "desc" (descending). Default: "asc". |
store | string | Store the response locally instead of returning it. Default is none. csv is only supported for get_symbol_series. |
get_crypto_screener_params
Get available crypto screener parameters. Retrieve the list of available fields and parameters for crypto screening → Returns {available_fields: string[], available_exchanges: string[], sortOrder: string[]}. All arrays are flat string arrays (field names, not objects). No country filter for crypto. Next: use screen_crypto with these fields.
| Parameter | Type | Description |
|---|---|---|
filter | string | (Optional) JSONata expression to return only the fields or rows you need. See https://jsonata.org for syntax. |
output_dir | string | Directory for stored response when output_file is not set. |
output_file | string | File path for stored response. |
store | string | Store the response locally instead of returning it. Default is none. csv is only supported for get_symbol_series. |
screen_crypto
Crypto Screener. Retrieve cryptocurrency data based on specified filter criteria → Returns {hasNext: boolean, current_page: number, total_page: number, current_items: number, data: [{symbol_code: string, name: string, currency: string, delay_seconds: number, ...requested_fields}]}. WORKFLOW: 1) Call get_crypto_screener_params to discover available fields. 2) POST with your chosen fields. Note: country filtering NOT supported for crypto. Example: {"fields":["close","volume","market_cap"],"page":1,"sortBy":"market_cap","sortOrder":"desc"}.
| Parameter | Type | Description |
|---|---|---|
fields * | array | Array of field names to include in the response (1-10 fields). Discover available fields by calling get_crypto_screener_params first. Field names are case-insensitive. |
countries | array | Array of country codes to filter by (e.g., ["US", "CA"]). Not available for crypto screener. Discover available countries via the GET screener params tool. |
exchanges | array | Array of exchange names to filter by (e.g., ["NYSE", "NASDAQ"]). Discover available exchanges via the GET screener params tool. |
filter | string | (Optional) JSONata expression to return only the fields or rows you need. See https://jsonata.org for syntax. |
ignore_invalid | boolean | If true, invalid fields, exchanges, or countries are silently filtered out instead of returning an error. Useful when you're unsure if a field exists. |
max_range | Number of screener results returned per page. The minimum value of 1 is preserved; values from 2 are rounded up to the next multiple of 500. Default is 1000. Supported values: 1 - 15000. | |
output_dir | string | Directory for stored response when output_file is not set. |
output_file | string | File path for stored response. |
page | integer | Page number for pagination |
sortBy | string | Field name to sort results by. Must be one of the requested fields or "name". Default: "name". |
sortOrder | string | Sort order: "asc" (ascending) or "desc" (descending). Default: "asc". |
store | string | Store the response locally instead of returning it. Default is none. csv is only supported for get_symbol_series. |
get_documents
List documents for a symbol. Retrieve a list of available documents (filings, transcripts, reports) for a given symbol → Returns [{id: string, title: string, category: string, reported_time: number, is_available: boolean, is_pdf: boolean, fiscal_period?: string, fiscal_year?: number, form?: string}]. Use the id field with get_document to read content.
| Parameter | Type | Description |
|---|---|---|
code * | string | (Required) Symbol code in Exchange:Symbol format |
filter | string | (Optional) JSONata expression to return only the fields or rows you need. See https://jsonata.org for syntax. |
output_dir | string | Directory for stored response when output_file is not set. |
output_file | string | File path for stored response. |
store | string | Store the response locally instead of returning it. Default is none. csv is only supported for get_symbol_series. |
get_document
Read a document as {title, published_at, content}. Text extraction defaults to true. Set text=false to save PDF documents and return {stored_file, format, mime_type}; non-PDF documents still return JSON. Get document IDs from get_documents.
| Parameter | Type | Description |
|---|---|---|
code * | string | (Required) Symbol code in Exchange:Symbol format |
id * | string | Document ID in format type:uniqueidentifier (e.g., transcripts:2133670 or report:2048334-36ccace7a771cb10e19ed97b7d474ca3) |
filter | string | (Optional) JSONata expression to return only the fields or rows you need. See https://jsonata.org for syntax. |
output_dir | string | Directory for stored response when output_file is not set. |
output_file | string | File path for stored response. |
store | string | Store the response locally instead of returning it. Default is none. csv is only supported for get_symbol_series. |
text | boolean | Extract document text (default: true). Set false to save PDF bytes to output_file or output_dir. |
download_history
Download historical data over a from/to date range and save files locally as JSON, CSV, or both. second bars create one /history request per day, minute/hour bars create one /history request per month, and day/week/month bars use one /series request with dp=30000 and date filtering. Continuous futures ending in 1! or 2! are detected automatically and expanded to specific contract codes for second/minute/hour. Shows progress in the final summary and supports concurrency 1-10, default 5.
| Parameter | Type | Description |
|---|---|---|
bar_type * | string | Bar type. second/minute/hour use /history; day/week/month use /series. |
from * | string | Start date. Use YYYY-MM or YYYY-MM-DD. |
output_dir * | string | Directory where downloaded files should be stored. |
symbol * | string | Symbol code in EXCHANGE:SYMBOL format, e.g. NASDAQ:AAPL |
to * | string | End date. Use YYYY-MM or YYYY-MM-DD. |
badj | boolean | Back-adjustment. Default is true. |
bar_interval | integer | Bar interval. Default: 1; second bars use 1. |
concurrency | integer | Concurrent API requests. Higher values can finish faster but may hit rate limits. Default is 5. |
contract_lookback_months | integer | Months of prior contracts to include when expanding continuous futures. Default is 6. |
dadj | boolean | Dividend adjustment. Default is false. |
extended | boolean | Extended hours. Default is true. |
format | string | Output file format. Use both to write JSON chunks and CSV output. Default is csv. |
keep_chunks | boolean | Keep per-request CSV chunk files after merged CSV is written. Default is false. |
merge | boolean | Write one merged CSV file for the whole run when format is csv or both. Default is true. |
overwrite | boolean | Replace existing output files instead of resuming or skipping matching chunks. Default is false. |
settlement | boolean | Set settlement as daily close. Default is false. |
split | boolean | Split adjustment for equities and ETFs. When false, returns non-split-adjusted data and dadj is ignored. Default is true. |
get_symbol_history
Download historical data over a from/to date range and save files locally as JSON, CSV, or both. second bars create one /history request per day, minute/hour bars create one /history request per month, and day/week/month bars use one /series request with dp=30000 and date filtering. Continuous futures ending in 1! or 2! are detected automatically and expanded to specific contract codes for second/minute/hour. Shows progress in the final summary and supports concurrency 1-10, default 5.
| Parameter | Type | Description |
|---|---|---|
bar_type * | string | Bar type. second/minute/hour use /history; day/week/month use /series. |
from * | string | Start date. Use YYYY-MM or YYYY-MM-DD. |
output_dir * | string | Directory where downloaded files should be stored. |
symbol * | string | Symbol code in EXCHANGE:SYMBOL format, e.g. NASDAQ:AAPL |
to * | string | End date. Use YYYY-MM or YYYY-MM-DD. |
badj | boolean | Back-adjustment. Default is true. |
bar_interval | integer | Bar interval. Default: 1; second bars use 1. |
concurrency | integer | Concurrent API requests. Higher values can finish faster but may hit rate limits. Default is 5. |
contract_lookback_months | integer | Months of prior contracts to include when expanding continuous futures. Default is 6. |
dadj | boolean | Dividend adjustment. Default is false. |
extended | boolean | Extended hours. Default is true. |
format | string | Output file format. Use both to write JSON chunks and CSV output. Default is csv. |
keep_chunks | boolean | Keep per-request CSV chunk files after merged CSV is written. Default is false. |
merge | boolean | Write one merged CSV file for the whole run when format is csv or both. Default is true. |
overwrite | boolean | Replace existing output files instead of resuming or skipping matching chunks. Default is false. |
settlement | boolean | Set settlement as daily close. Default is false. |
split | boolean | Split adjustment for equities and ETFs. When false, returns non-split-adjusted data and dadj is ignored. Default is true. |
render_chart
Render a Chart.js chart and return the PNG image. Accepts a full Chart.js configuration object (type, data, options). Supports all Chart.js chart types: line, bar, pie, doughnut, radar, polarArea, bubble, scatter. Use this after fetching market data to visualize trends, comparisons, or distributions.
| Parameter | Type | Description |
|---|---|---|
config * | string | Chart.js configuration as a JSON string. Must include "type" and "data" fields. Example: {"type":"line","data":{"labels":["Jan","Feb"],"datasets":[{"label":"Price","data":[100,105]}]},"options":{}} |
height | integer | Chart height in pixels (default: 400) |
width | integer | Chart width in pixels (default: 800) |