insightsentry_mcp

v1.4.63
io.github.rezmeplxrf/insightsentry_mcp Checked 2 days ago Published 12 days ago

MCP 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.

ParameterTypeDescription
24hbooleanInclude 24-hour market data.
badjbooleanBack-adjust continuous futures.
bar_intervalintegerSeries interval. Tick and second bars use 1.
bar_typestringSeries bar type.
dadjbooleanApply dividend adjustment.
dpintegerInitial series data points, 1-30000.
duration_secondsnumberStop after this many seconds. Default 10; maximum 60.
extendedbooleanInclude extended-hours data.
max_messagesintegerStop after this many data messages. Default 20; maximum 100.
max_reconnect_attemptsintegerMaximum consecutive reconnect attempts. Default 2; maximum 10.
settlementbooleanUse settlement as daily close.
slow_consumer_policystringUse adaptive for fresh lower-frequency delivery instead of backlog disconnects.
splitbooleanApply split adjustment.
subscriptionsarrayPer-symbol subscriptions. Do not combine with symbols or type.
symbolsOne or more EXCHANGE:SYMBOL codes. Use with type.
typestringData 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.

ParameterTypeDescription
contentstringComma- or space-separated terms; matches when content contains at least one term.
duration_secondsnumberStop after this many seconds. Default 10; maximum 60.
max_messagesintegerStop after this many data messages. Default 20; maximum 100.
max_reconnect_attemptsintegerMaximum consecutive reconnect attempts. Default 2; maximum 10.
related_symbolsstringComma- or space-separated related symbols.
sourcestringCase-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…

ParameterTypeDescription
symbol *stringSymbol 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.
24hboolean(Optional) Request the 24-hour session where the symbol has one. When true, takes precedence over extended. Default is false.
abbrbooleanSet to true to return series as arrays with a series_keys array of field names. Empty series may omit series_keys.
badjboolean(Optional) Back-adjustment for continous futures contracts (has no effect on non-continous futures data). Default to true.
bar_intervalintegerBar interval. Default is 1; tick and second bars use 1.
bar_typestring(Optional) Bar type. Default is 'day'
dadjboolean(Optional) Dividend adjustment for equities and etfs (has no effect on assets without dividends). Ignored when split=false. Default to false.
dpintegerThe 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.
extendedboolean(Optional) Extended hours (Not all assets support extended hours). Default to true.
filterstring(Optional) JSONata expression to return only the fields or rows you need. See https://jsonata.org for syntax.
output_dirstringDirectory for stored response when output_file is not set.
output_filestringFile path for stored response.
settlementboolean(Optional) Set Settlement as daily close. Default is false
splitboolean(Optional) Split adjustment for equities and ETFs. Default to true. When false, returns unadjusted data and overrides dadj.
storestringStore 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…

ParameterTypeDescription
bar_type *string(Required) Bar type.
start_date *stringStarting 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 *stringSymbol 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.
abbrbooleanSet to true to return series as arrays with a series_keys array of field names. Empty series may omit series_keys.
badjboolean(Optional) Back-adjustment for continous futures contracts (has no effect on non-continous futures data). Default to true.
bar_intervalintegerBar interval. Default is 1; tick and second bars use 1.
dadjboolean(Optional) Dividend adjustment for equities and etfs (has no effect on assets without dividends). Ignored when split=false. Default to false.
extendedboolean(Optional) Extended hours (Not all assets support extended hours). Default to true.
filterstring(Optional) JSONata expression to return only the fields or rows you need. See https://jsonata.org for syntax.
output_dirstringDirectory for stored response when output_file is not set.
output_filestringFile path for stored response.
settlementboolean(Optional) Set Settlement as daily close. Default is false
splitboolean(Optional) Split adjustment for equities and ETFs. Default to true. When false, returns unadjusted data and overrides dadj.
storestringStore 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…

ParameterTypeDescription
date *stringUTC 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 *stringSymbol 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.
filterstring(Optional) JSONata expression to return only the fields or rows you need. See https://jsonata.org for syntax.
fromstring | nullReturn trades at or after this UTC time in ISO 8601 format, within the requested date, or within the window for today's date.
output_dirstringDirectory for stored response when output_file is not set.
output_filestringFile path for stored response.
storestringStore the response locally instead of returning it. Default is none. csv is only supported for get_symbol_series.
tostring | nullReturn trades before this UTC time in ISO 8601 format, within the requested date, or within the window for today's date.
windowRolling 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.

ParameterTypeDescription
symbol *stringSymbol in Exchange:Symbol format (e.g., NASDAQ:AAPL, NYSE:TSLA). You can search for this symbol code using the /v3/symbols/search endpoint.
filterstring(Optional) JSONata expression to return only the fields or rows you need. See https://jsonata.org for syntax.
output_dirstringDirectory for stored response when output_file is not set.
output_filestringFile path for stored response.
storestringStore 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…

ParameterTypeDescription
symbol *stringSymbol 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.
filterstring(Optional) JSONata expression to return only the fields or rows you need. See https://jsonata.org for syntax.
output_dirstringDirectory for stored response when output_file is not set.
output_filestringFile path for stored response.
storestringStore 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

ParameterTypeDescription
symbol *stringSymbol 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.
filterstring(Optional) JSONata expression to return only the fields or rows you need. See https://jsonata.org for syntax.
output_dirstringDirectory for stored response when output_file is not set.
output_filestringFile path for stored response.
storestringStore 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…

ParameterTypeDescription
codes *stringComma-separated list of symbol codes in Exchange:Symbol format, such as NASDAQ:AAPL or SIP:AAPL. Each code must match the SymbolCode pattern.
badjboolean(Optional) Back-adjustment for continous futures contracts (has no effect on non-continous futures data). Default to true.
dadjboolean(Optional) Dividend adjustment for equities and etfs (has no effect on assets without dividends). Ignored when split=false. Default to false.
filterstring(Optional) JSONata expression to return only the fields or rows you need. See https://jsonata.org for syntax.
output_dirstringDirectory for stored response when output_file is not set.
output_filestringFile path for stored response.
settlementboolean(Optional) Set Settlement as daily close. Default is false
splitboolean(Optional) Split adjustment for equities and ETFs. Default to true. When false, returns unadjusted data and overrides dadj.
storestringStore 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…

ParameterTypeDescription
countrystringFilter by country. 2-letter ISO code
exchangestringFilter by exchange
filterstring(Optional) JSONata expression to return only the fields or rows you need. See https://jsonata.org for syntax.
output_dirstringDirectory for stored response when output_file is not set.
output_filestringFile path for stored response.
pageintegerEach page returns up to 50 results.
querystringSearch query string. `SIP:AAPL` checks one SIP code, `SIP:` lists every SIP code page by page, and `exchange=SIP` searches within them.
storestringStore the response locally instead of returning it. Default is none. csv is only supported for get_symbol_series.
typestringFilter 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.

ParameterTypeDescription
filterstring(Optional) JSONata expression to return only the fields or rows you need. See https://jsonata.org for syntax.
output_dirstringDirectory for stored response when output_file is not set.
output_filestringFile path for stored response.
storestringStore 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…

ParameterTypeDescription
symbol *stringSymbol 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.
filterstring(Optional) JSONata expression to return only the fields or rows you need. See https://jsonata.org for syntax.
output_dirstringDirectory for stored response when output_file is not set.
output_filestringFile path for stored response.
storestringStore 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…

ParameterTypeDescription
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 *stringSymbol 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.
filterstring(Optional) JSONata expression to return only the fields or rows you need. See https://jsonata.org for syntax.
output_dirstringDirectory for stored response when output_file is not set.
output_filestringFile path for stored response.
storestringStore 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…

ParameterTypeDescription
filterstring(Optional) JSONata expression to return only the fields or rows you need. See https://jsonata.org for syntax.
output_dirstringDirectory for stored response when output_file is not set.
output_filestringFile path for stored response.
storestringStore 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…

ParameterTypeDescription
code *string(Required) Symbol code in Exchange:Symbol format (e.g., NASDAQ:AAPL). Use search_symbols to find the correct code.
expirationstring(Optional) Exact expiration date. Validated but not used when from or to is provided. (Format: YYYY-MM-DD; must be a valid calendar date)
filterstring(Optional) JSONata expression to return only the fields or rows you need. See https://jsonata.org for syntax.
fromstring(Optional) Minimum expiration date. When provided, expiration parameter is ignored. (Format: YYYY-MM-DD; must be a valid calendar date)
next_tokenstring(Optional) Pagination token from a previous /v3/options/contracts response. Send the same filters plus next_token to request the next page.
output_dirstringDirectory for stored response when output_file is not set.
output_filestringFile path for stored response.
rangeinteger(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…
storestringStore the response locally instead of returning it. Default is none. csv is only supported for get_symbol_series.
strikenumber(Optional) Exact strike price. Takes precedence over range when both are provided.
tostring(Optional) Maximum expiration date. When provided, expiration parameter is ignored. (Format: YYYY-MM-DD; must be a valid calendar date)
typestring(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…

ParameterTypeDescription
code *string(Required) Symbol code in Exchange:Symbol format (e.g., NASDAQ:AAPL). Use search_symbols to find the correct code.
expirationstring(Optional) Exact expiration date. Validated but not used when from or to is provided. (Format: YYYY-MM-DD; must be a valid calendar date)
filterstring(Optional) JSONata expression to return only the fields or rows you need. See https://jsonata.org for syntax.
fromstring(Optional) Minimum expiration date. When provided, expiration parameter is ignored. (Format: YYYY-MM-DD; must be a valid calendar date)
next_tokenstring(Optional) Pagination token from a previous /v3/options/snapshot response. Send the same filters plus next_token to request the next page.
output_dirstringDirectory for stored response when output_file is not set.
output_filestringFile path for stored response.
rangeinteger(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…
storestringStore the response locally instead of returning it. Default is none. csv is only supported for get_symbol_series.
strikenumber(Optional) Exact strike price. Takes precedence over range when both are provided.
tostring(Optional) Maximum expiration date. When provided, expiration parameter is ignored. (Format: YYYY-MM-DD; must be a valid calendar date)
typestring(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…

ParameterTypeDescription
code *string(Required) Symbol code in Exchange:Symbol format (e.g., NASDAQ:AAPL). Use search_symbols to find the correct code.
expirationstring(Optional) Exact expiration date. Validated but not used when from or to is provided. (Format: YYYY-MM-DD; must be a valid calendar date)
filterstring(Optional) JSONata expression to return only the fields or rows you need. See https://jsonata.org for syntax.
fromstring(Optional) Minimum expiration date. When provided, expiration parameter is ignored. (Format: YYYY-MM-DD; must be a valid calendar date)
output_dirstringDirectory for stored response when output_file is not set.
output_filestringFile path for stored response.
rangeinteger(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…
sortstring(Optional) Sort order
sortBystring(Optional) Sort by specified field
storestringStore the response locally instead of returning it. Default is none. csv is only supported for get_symbol_series.
strikenumber(Optional) Strike price for exact match filtering.
tostring(Optional) Maximum expiration date. When provided, expiration parameter is ignored. (Format: YYYY-MM-DD; must be a valid calendar date)
typestring(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…

ParameterTypeDescription
cstring(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.
codestring(Optional) Filter by symbol code in Exchange:Symbol format (e.g., NASDAQ:AAPL). Returns only calendar entries matching this symbol.
filterstring(Optional) JSONata expression to return only the fields or rows you need. See https://jsonata.org for syntax.
localbooleanWhen 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.
monthstringFetches 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_dirstringDirectory for stored response when output_file is not set.
output_filestringFile path for stored response.
storestringStore the response locally instead of returning it. Default is none. csv is only supported for get_symbol_series.
wintegerSpecifies 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…

ParameterTypeDescription
cstring(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.
codestring(Optional) Filter by symbol code in Exchange:Symbol format (e.g., NASDAQ:AAPL). Returns only calendar entries matching this symbol.
filterstring(Optional) JSONata expression to return only the fields or rows you need. See https://jsonata.org for syntax.
localbooleanWhen 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.
monthstringFetches 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_dirstringDirectory for stored response when output_file is not set.
output_filestringFile path for stored response.
storestringStore the response locally instead of returning it. Default is none. csv is only supported for get_symbol_series.
wintegerSpecifies 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…

ParameterTypeDescription
cstring(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.
codestring(Optional) Filter by symbol code in Exchange:Symbol format (e.g., NASDAQ:AAPL). Returns only calendar entries matching this symbol.
filterstring(Optional) JSONata expression to return only the fields or rows you need. See https://jsonata.org for syntax.
monthstringFetches 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_dirstringDirectory for stored response when output_file is not set.
output_filestringFile path for stored response.
storestringStore the response locally instead of returning it. Default is none. csv is only supported for get_symbol_series.
wintegerSpecifies 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.

ParameterTypeDescription
cstring(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.
filterstring(Optional) JSONata expression to return only the fields or rows you need. See https://jsonata.org for syntax.
monthstringFetches 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_dirstringDirectory for stored response when output_file is not set.
output_filestringFile path for stored response.
storestringStore the response locally instead of returning it. Default is none. csv is only supported for get_symbol_series.
wintegerSpecifies 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…

ParameterTypeDescription
month *stringProcessing month in YYYY-MM format.
codestringA 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.
filterstring(Optional) JSONata expression to return only the fields or rows you need. See https://jsonata.org for syntax.
output_dirstringDirectory for stored response when output_file is not set.
output_filestringFile path for stored response.
storestringStore 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[]}]}.

ParameterTypeDescription
archiveboolean(Optional) Set to true to search older archived news when using filters. Archived results may omit very recent items.
contentstring(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…
filterstring(Optional) JSONata expression to return only the fields or rows you need. See https://jsonata.org for syntax.
fromstring(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.
keywordsstring(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…
limitinteger(Optional) Limit the number of news items returned. Must be an integer between 1 and 500. Default is 500.
output_dirstringDirectory for stored response when output_file is not set.
output_filestringFile path for stored response.
pageintegerPage number for pagination
related_symbolsstring(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.…
sourcestring(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.
storestringStore the response locally instead of returning it. Default is none. csv is only supported for get_symbol_series.
titlestring(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…
tostring(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.

ParameterTypeDescription
filterstring(Optional) JSONata expression to return only the fields or rows you need. See https://jsonata.org for syntax.
output_dirstringDirectory for stored response when output_file is not set.
output_filestringFile path for stored response.
storestringStore 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.

ParameterTypeDescription
filterstring(Optional) JSONata expression to return only the fields or rows you need. See https://jsonata.org for syntax.
output_dirstringDirectory for stored response when output_file is not set.
output_filestringFile path for stored response.
storestringStore 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"…

ParameterTypeDescription
fields *arrayArray 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…
countriesarrayArray of country codes to filter by (e.g., ["US", "CA"]). Not available for crypto screener. Discover available countries via the GET screener params tool.
exchangesarrayArray of exchange names to filter by (e.g., ["NYSE", "NASDAQ"]). Discover available exchanges via the GET screener params tool.
filterstring(Optional) JSONata expression to return only the fields or rows you need. See https://jsonata.org for syntax.
ignore_invalidbooleanIf 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_rangeNumber 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_dirstringDirectory for stored response when output_file is not set.
output_filestringFile path for stored response.
pageintegerPage number for pagination
sortBystringField name to sort results by. Must be one of the requested fields or "name". Default: "name".
sortOrderstringSort order: "asc" (ascending) or "desc" (descending). Default: "asc".
storestringStore 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.

ParameterTypeDescription
filterstring(Optional) JSONata expression to return only the fields or rows you need. See https://jsonata.org for syntax.
output_dirstringDirectory for stored response when output_file is not set.
output_filestringFile path for stored response.
storestringStore 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"}.

ParameterTypeDescription
fields *arrayArray 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.
countriesarrayArray of country codes to filter by (e.g., ["US", "CA"]). Not available for crypto screener. Discover available countries via the GET screener params tool.
exchangesarrayArray of exchange names to filter by (e.g., ["NYSE", "NASDAQ"]). Discover available exchanges via the GET screener params tool.
filterstring(Optional) JSONata expression to return only the fields or rows you need. See https://jsonata.org for syntax.
ignore_invalidbooleanIf 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_rangeNumber 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_dirstringDirectory for stored response when output_file is not set.
output_filestringFile path for stored response.
pageintegerPage number for pagination
sortBystringField name to sort results by. Must be one of the requested fields or "name". Default: "name".
sortOrderstringSort order: "asc" (ascending) or "desc" (descending). Default: "asc".
storestringStore 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.

ParameterTypeDescription
filterstring(Optional) JSONata expression to return only the fields or rows you need. See https://jsonata.org for syntax.
output_dirstringDirectory for stored response when output_file is not set.
output_filestringFile path for stored response.
storestringStore 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"}.

ParameterTypeDescription
fields *arrayArray 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.
countriesarrayArray of country codes to filter by (e.g., ["US", "CA"]). Not available for crypto screener. Discover available countries via the GET screener params tool.
exchangesarrayArray of exchange names to filter by (e.g., ["NYSE", "NASDAQ"]). Discover available exchanges via the GET screener params tool.
filterstring(Optional) JSONata expression to return only the fields or rows you need. See https://jsonata.org for syntax.
ignore_invalidbooleanIf 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_rangeNumber 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_dirstringDirectory for stored response when output_file is not set.
output_filestringFile path for stored response.
pageintegerPage number for pagination
sortBystringField name to sort results by. Must be one of the requested fields or "name". Default: "name".
sortOrderstringSort order: "asc" (ascending) or "desc" (descending). Default: "asc".
storestringStore 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.

ParameterTypeDescription
filterstring(Optional) JSONata expression to return only the fields or rows you need. See https://jsonata.org for syntax.
output_dirstringDirectory for stored response when output_file is not set.
output_filestringFile path for stored response.
storestringStore 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"}.

ParameterTypeDescription
fields *arrayArray 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.
countriesarrayArray of country codes to filter by (e.g., ["US", "CA"]). Not available for crypto screener. Discover available countries via the GET screener params tool.
exchangesarrayArray of exchange names to filter by (e.g., ["NYSE", "NASDAQ"]). Discover available exchanges via the GET screener params tool.
filterstring(Optional) JSONata expression to return only the fields or rows you need. See https://jsonata.org for syntax.
ignore_invalidbooleanIf 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_rangeNumber 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_dirstringDirectory for stored response when output_file is not set.
output_filestringFile path for stored response.
pageintegerPage number for pagination
sortBystringField name to sort results by. Must be one of the requested fields or "name". Default: "name".
sortOrderstringSort order: "asc" (ascending) or "desc" (descending). Default: "asc".
storestringStore 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.

ParameterTypeDescription
code *string(Required) Symbol code in Exchange:Symbol format
filterstring(Optional) JSONata expression to return only the fields or rows you need. See https://jsonata.org for syntax.
output_dirstringDirectory for stored response when output_file is not set.
output_filestringFile path for stored response.
storestringStore 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.

ParameterTypeDescription
code *string(Required) Symbol code in Exchange:Symbol format
id *stringDocument ID in format type:uniqueidentifier (e.g., transcripts:2133670 or report:2048334-36ccace7a771cb10e19ed97b7d474ca3)
filterstring(Optional) JSONata expression to return only the fields or rows you need. See https://jsonata.org for syntax.
output_dirstringDirectory for stored response when output_file is not set.
output_filestringFile path for stored response.
storestringStore the response locally instead of returning it. Default is none. csv is only supported for get_symbol_series.
textbooleanExtract 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.

ParameterTypeDescription
bar_type *stringBar type. second/minute/hour use /history; day/week/month use /series.
from *stringStart date. Use YYYY-MM or YYYY-MM-DD.
output_dir *stringDirectory where downloaded files should be stored.
symbol *stringSymbol code in EXCHANGE:SYMBOL format, e.g. NASDAQ:AAPL
to *stringEnd date. Use YYYY-MM or YYYY-MM-DD.
badjbooleanBack-adjustment. Default is true.
bar_intervalintegerBar interval. Default: 1; second bars use 1.
concurrencyintegerConcurrent API requests. Higher values can finish faster but may hit rate limits. Default is 5.
contract_lookback_monthsintegerMonths of prior contracts to include when expanding continuous futures. Default is 6.
dadjbooleanDividend adjustment. Default is false.
extendedbooleanExtended hours. Default is true.
formatstringOutput file format. Use both to write JSON chunks and CSV output. Default is csv.
keep_chunksbooleanKeep per-request CSV chunk files after merged CSV is written. Default is false.
mergebooleanWrite one merged CSV file for the whole run when format is csv or both. Default is true.
overwritebooleanReplace existing output files instead of resuming or skipping matching chunks. Default is false.
settlementbooleanSet settlement as daily close. Default is false.
splitbooleanSplit 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.

ParameterTypeDescription
bar_type *stringBar type. second/minute/hour use /history; day/week/month use /series.
from *stringStart date. Use YYYY-MM or YYYY-MM-DD.
output_dir *stringDirectory where downloaded files should be stored.
symbol *stringSymbol code in EXCHANGE:SYMBOL format, e.g. NASDAQ:AAPL
to *stringEnd date. Use YYYY-MM or YYYY-MM-DD.
badjbooleanBack-adjustment. Default is true.
bar_intervalintegerBar interval. Default: 1; second bars use 1.
concurrencyintegerConcurrent API requests. Higher values can finish faster but may hit rate limits. Default is 5.
contract_lookback_monthsintegerMonths of prior contracts to include when expanding continuous futures. Default is 6.
dadjbooleanDividend adjustment. Default is false.
extendedbooleanExtended hours. Default is true.
formatstringOutput file format. Use both to write JSON chunks and CSV output. Default is csv.
keep_chunksbooleanKeep per-request CSV chunk files after merged CSV is written. Default is false.
mergebooleanWrite one merged CSV file for the whole run when format is csv or both. Default is true.
overwritebooleanReplace existing output files instead of resuming or skipping matching chunks. Default is false.
settlementbooleanSet settlement as daily close. Default is false.
splitbooleanSplit 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.

ParameterTypeDescription
config *stringChart.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":{}}
heightintegerChart height in pixels (default: 400)
widthintegerChart width in pixels (default: 800)