/polygon-io | Type: Application | PCID required: Yes
Financial market data
Tools
| Tool | Description |
|---|---|
polygon_get_stock_quote | Get the latest quote for a stock ticker |
polygon_get_stock_bars | Get historical stock price bars (OHLCV data) |
polygon_get_market_status | Get current market status and trading hours |
polygon_get_ticker_details | Get detailed information about a ticker |
polygon_search_tickers | Search for tickers by name or symbol |
polygon_get_daily_open_close | Get the open, high, low, and close prices for a stock on a specific date |
polygon_get_previous_close | Get the previous trading day’s close price for a ticker |
polygon_get_trades | Get recent trades for a ticker |
polygon_get_crypto_quote | Get the latest quote for a cryptocurrency pair |
polygon_get_crypto_bars | Get historical cryptocurrency price bars |
polygon_get_forex_quote | Get the latest quote for a forex currency pair |
polygon_get_forex_bars | Get historical forex price bars |
polygon_get_market_holidays | Get upcoming market holidays |
polygon_get_exchanges | List all exchanges supported by Polygon |
polygon_get_conditions | Get the mapping of condition codes used in trade and quote data |
polygon_get_dividends | Get dividend information for a ticker |
polygon_get_stock_splits | Get stock split information for a ticker |
polygon_get_financials | Get financial data for a ticker |
polygon_get_stock_quote
Get the latest quote for a stock ticker Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
ticker | string | Yes | — | Stock ticker symbol (e.g., AAPL, MSFT) |
polygon_get_stock_bars
Get historical stock price bars (OHLCV data) Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
ticker | string | Yes | — | Stock ticker symbol |
multiplier | number | No | 1 | Size of the timespan multiplier |
timespan | string | No | "day" | Size of the time window |
from | string | Yes | — | Start date (YYYY-MM-DD format) |
to | string | Yes | — | End date (YYYY-MM-DD format) |
adjusted | boolean | No | true | Whether to adjust for splits and dividends |
sort | string | No | "asc" | Sort order |
limit | number | No | 5000 | Maximum number of results |
polygon_get_market_status
Get current market status and trading hourspolygon_get_ticker_details
Get detailed information about a ticker Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
ticker | string | Yes | — | Stock ticker symbol |
date | string | No | — | Date for historical details (YYYY-MM-DD format) |
polygon_search_tickers
Search for tickers by name or symbol Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
search | string | Yes | — | Search query (company name or ticker symbol) |
type | string | No | — | Type of security to search for |
market | string | No | "stocks" | Market to search in |
active | boolean | No | true | Filter for active tickers only |
limit | number | No | 10 | Maximum number of results |
polygon_get_daily_open_close
Get the open, high, low, and close prices for a stock on a specific date Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
ticker | string | Yes | — | Stock ticker symbol |
date | string | Yes | — | Date (YYYY-MM-DD format) |
adjusted | boolean | No | true | Whether to adjust for splits and dividends |
polygon_get_previous_close
Get the previous trading day’s close price for a ticker Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
ticker | string | Yes | — | Stock ticker symbol |
adjusted | boolean | No | true | Whether to adjust for splits and dividends |
polygon_get_trades
Get recent trades for a ticker Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
ticker | string | Yes | — | Stock ticker symbol |
timestamp | string | No | — | Timestamp to get trades from (ISO format) |
order | string | No | "desc" | Sort order |
limit | number | No | 10 | Maximum number of results |
sort | string | No | "timestamp" | Field to sort by |
polygon_get_crypto_quote
Get the latest quote for a cryptocurrency pair Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
from | string | Yes | — | From currency (e.g., BTC, ETH) |
to | string | Yes | — | To currency (e.g., USD, EUR) |
polygon_get_crypto_bars
Get historical cryptocurrency price bars Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
from | string | Yes | — | From currency (e.g., BTC, ETH) |
to | string | Yes | — | To currency (e.g., USD, EUR) |
multiplier | number | No | 1 | Size of the timespan multiplier |
timespan | string | No | "day" | Size of the time window |
from_date | string | Yes | — | Start date (YYYY-MM-DD format) |
to_date | string | Yes | — | End date (YYYY-MM-DD format) |
sort | string | No | "asc" | Sort order |
limit | number | No | 5000 | Maximum number of results |
polygon_get_forex_quote
Get the latest quote for a forex currency pair Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
from | string | Yes | — | From currency (e.g., USD, EUR) |
to | string | Yes | — | To currency (e.g., EUR, GBP) |
polygon_get_forex_bars
Get historical forex price bars Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
from | string | Yes | — | From currency (e.g., USD, EUR) |
to | string | Yes | — | To currency (e.g., EUR, GBP) |
multiplier | number | No | 1 | Size of the timespan multiplier |
timespan | string | No | "day" | Size of the time window |
from_date | string | Yes | — | Start date (YYYY-MM-DD format) |
to_date | string | Yes | — | End date (YYYY-MM-DD format) |
sort | string | No | "asc" | Sort order |
limit | number | No | 5000 | Maximum number of results |
polygon_get_market_holidays
Get upcoming market holidayspolygon_get_exchanges
List all exchanges supported by Polygon Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
asset_class | string | No | — | Filter by asset class |
locale | string | No | — | Filter by locale |
polygon_get_conditions
Get the mapping of condition codes used in trade and quote data Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
asset_class | string | No | — | Filter by asset class |
data_type | string | No | — | Filter by data type |
polygon_get_dividends
Get dividend information for a ticker Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
ticker | string | Yes | — | Stock ticker symbol |
ex_dividend_date | string | No | — | Filter by ex-dividend date (YYYY-MM-DD) |
record_date | string | No | — | Filter by record date (YYYY-MM-DD) |
declaration_date | string | No | — | Filter by declaration date (YYYY-MM-DD) |
pay_date | string | No | — | Filter by pay date (YYYY-MM-DD) |
frequency | number | No | — | Filter by dividend frequency |
limit | number | No | 10 | Maximum number of results |
polygon_get_stock_splits
Get stock split information for a ticker Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
ticker | string | Yes | — | Stock ticker symbol |
execution_date | string | No | — | Filter by execution date (YYYY-MM-DD) |
reverse_split | boolean | No | — | Filter for reverse splits |
limit | number | No | 10 | Maximum number of results |
polygon_get_financials
Get financial data for a ticker Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
ticker | string | Yes | — | Stock ticker symbol |
reporting_period | string | No | — | Filter by reporting period (YYYY-MM-DD) |
period_of_report_date | string | No | — | Filter by period of report date (YYYY-MM-DD) |
timeframe | string | No | — | Filter by timeframe |
include_sources | boolean | No | false | Include source URLs |
limit | number | No | 10 | Maximum number of results |

