Polygon.io
polygon_ioPolygon.io provides real-time and historical market data APIs for stocks, options, forex, and cryptocurrencies, enabling developers to build financial applications with ease.
Acciones disponibles (14)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Get All TickersPOLYGON_IO_GET_ALL_TICKERSAcciónTool to retrieve a comprehensive list of supported ticker symbols across all asset classes. use when you need to list all tickers with details like symbol, name, market, and status.
POLYGON_IO_GET_ALL_TICKERSAcciónTool to retrieve a comprehensive list of supported ticker symbols across all asset classes. use when you need to list all tickers with details like symbol, name, market, and status.
Parámetros de entrada
cikstringFilter by CIK identifier.
datestringFilter tickers as of a specific date, format YYYY-MM-DD.
sortstringField name to sort by (e.g., 'ticker', 'name', 'market', 'primary_exchange', 'last_updated_utc').
typestringFilter by asset type (e.g., 'CS' for common stock, 'ETF', etc.).
cusipstringFilter by CUSIP identifier.
limitintegerMaximum number of results to return (1-1000).
orderstringenumSort order direction: 'asc' or 'desc'.
ascdescactivebooleanIf true, only return symbols that are currently active.
cursorstringPagination cursor to fetch next page of results. Pass the 'cursor' value from a previous response.
marketstringFilter by market (e.g., 'stocks', 'crypto', 'fx', 'options').
searchstringPartial text search on ticker symbol or company name.
tickerstringExact match filter on a single ticker symbol.
exchangestringFilter by specific exchange code (e.g., 'XNAS', 'XNYS').
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Condition CodesPOLYGON_IO_GET_CONDITION_CODESAcciónTool to retrieve a unified list of trade and quote condition codes and their definitions. use when needing to decode condition identifiers after fetching market data.
POLYGON_IO_GET_CONDITION_CODESAcciónTool to retrieve a unified list of trade and quote condition codes and their definitions. use when needing to decode condition identifiers after fetching market data.
Parámetros de entrada
idstringFilter by specific condition code ID, e.g., 'P'.
sortstringenumSort order of results: 'asc' or 'desc'.
ascdesclimitintegerMaximum number of results to return (server default: 50).
data_typestringenumFilter by data type: 'trade' or 'quote'.
tradequoteasset_classstringFilter by asset class, e.g., 'stocks', 'crypto', 'fx'.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Daily Ticker SummaryPOLYGON_IO_GET_DAILY_TICKER_SUMMARYAcciónTool to retrieve daily aggregate summary for a specific stock ticker. uses previous day aggregates from v2 api.
POLYGON_IO_GET_DAILY_TICKER_SUMMARYAcciónTool to retrieve daily aggregate summary for a specific stock ticker. uses previous day aggregates from v2 api.
Parámetros de entrada
datestringObligatorioDate in YYYY-MM-DD format (e.g., '2021-10-14')
adjustedbooleanWhether to return adjusted data. Defaults to true.
stocks_tickerstringObligatorioStock ticker symbol (e.g., 'AAPL')
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get DividendsPOLYGON_IO_GET_DIVIDENDSAcciónTool to retrieve a historical record of cash dividend distributions for a given ticker. use when analyzing dividend payments by date, amount, and frequency.
POLYGON_IO_GET_DIVIDENDSAcciónTool to retrieve a historical record of cash dividend distributions for a given ticker. use when analyzing dividend payments by date, amount, and frequency.
Parámetros de entrada
sortstringField to sort by; only 'ex_dividend_date' is supported.
limitintegerLimit number of results (1-1000).
orderstringenumOrder of sorting: 'asc' or 'desc'.
ascdesctickerstringCase-sensitive ticker symbol, e.g., 'AAPL'.
pay_datestringFilter by payment date (YYYY-MM-DD).
frequencyintegerenumNumber of dividend payments per year. 0=one-time, 1=annually, 2=bi-annually, 4=quarterly, 12=monthly, 24=bi-monthly, 52=weekly.
0124122452cash_amountnumberFilter by cash amount of the dividend per share.
record_datestringFilter by record date (YYYY-MM-DD).
dividend_typestringenumType of dividend: 'CD' for consistent cash, 'SC' for special cash, 'LT' for long-term capital gain, 'ST' for short-term capital gain.
CDSCLTSTdeclaration_datestringFilter by declaration date (YYYY-MM-DD).
ex_dividend_datestringFilter by ex-dividend date (YYYY-MM-DD).
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Exponential Moving AveragePOLYGON_IO_GET_EMAAcciónTool to retrieve the exponential moving average for a stock ticker. use when you need ema values across a specific timespan with optional underlying data.
POLYGON_IO_GET_EMAAcciónTool to retrieve the exponential moving average for a stock ticker. use when you need ema values across a specific timespan with optional underlying data.
Parámetros de entrada
limitintegerMaximum number of results to return (1-5000). Defaults to 100.
orderstringenumSort order for results. Defaults to 'desc'.
ascdescwindowintegerObligatorioNumber of periods to calculate the EMA (must be ≥1).
adjustedbooleanWhether to adjust results for splits/dividends. Defaults to True.
timespanstringObligatorioThe timespan for each period (e.g., 'day', 'minute', 'hour').
series_typestringenumPrice series to use. Defaults to 'close'.
closeopenhighlowstock_tickerstringObligatorioThe stock ticker symbol.
expand_underlyingbooleanInclude underlying price data. Defaults to False.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get MACDPOLYGON_IO_GET_MACDAcciónTool to retrieve the moving average convergence/divergence (macd) for a stock ticker. use when you need momentum analysis or signal generation over a specified timeframe.
POLYGON_IO_GET_MACDAcciónTool to retrieve the moving average convergence/divergence (macd) for a stock ticker. use when you need momentum analysis or signal generation over a specified timeframe.
Parámetros de entrada
limitintegerMaximum number of results to return (1-5000). Defaults to 10.
orderstringenumThe order of results by timestamp. Defaults to 'desc'.
ascdescadjustedbooleanWhether to use split-adjusted aggregates. Defaults to True.
timespanstringObligatorioThe size of the aggregate time window (e.g., 'day').
timestampstringFilter by timestamp (YYYY-MM-DD or millisecond timestamp).
long_windowintegerObligatorioThe number of periods for the long EMA window (e.g., 26).
series_typestringenumThe price field to use for calculations. Defaults to 'close'.
closeopenhighlowshort_windowintegerObligatorioThe number of periods for the short EMA window (e.g., 12).
stock_tickerstringObligatorioThe case-sensitive ticker symbol for which to get MACD data (e.g., 'AAPL').
signal_windowintegerObligatorioThe number of periods for the signal line EMA window (e.g., 9).
expand_underlyingbooleanWhether to include the underlying aggregates data. Defaults to False.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Market HolidaysPOLYGON_IO_GET_MARKET_HOLIDAYSAcciónTool to retrieve upcoming market holidays and their corresponding open/close times. use when planning around market schedules before trading.
POLYGON_IO_GET_MARKET_HOLIDAYSAcciónTool to retrieve upcoming market holidays and their corresponding open/close times. use when planning around market schedules before trading.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Market StatusPOLYGON_IO_GET_MARKET_STATUSAcciónTool to retrieve the current trading status across major exchanges and currency markets. use for real-time monitoring, scheduling, or ui updates.
POLYGON_IO_GET_MARKET_STATUSAcciónTool to retrieve the current trading status across major exchanges and currency markets. use for real-time monitoring, scheduling, or ui updates.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get NewsPOLYGON_IO_GET_NEWSAcciónTool to retrieve the most recent news articles for a specified ticker. use when you need summaries, source details, and sentiment analysis for market news.
POLYGON_IO_GET_NEWSAcciónTool to retrieve the most recent news articles for a specified ticker. use when you need summaries, source details, and sentiment analysis for market news.
Parámetros de entrada
sortstringField to sort by; only 'published_utc' is supported
limitintegerLimit the number of results (1-1000). Defaults to 10 if not provided.
orderstringenumOrder of results by published_utc: 'asc' or 'desc'
ascdesccursorstringCursor for pagination. Use the 'next_url' or cursor value from previous response.
tickerstringOnly return news articles for this ticker symbol, e.g., 'AAPL'
published_utc.gtestringReturn articles published on or after this UTC date/time (ISO-8601), e.g., '2022-01-01T00:00:00Z'
published_utc.ltestringReturn articles published on or before this UTC date/time (ISO-8601), e.g., '2022-01-31T23:59:59Z'
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get RSIPOLYGON_IO_GET_RSIAcciónTool to retrieve the relative strength index (rsi) for a stock ticker. use after confirming ticker symbol and timespan to analyze momentum over a period.
POLYGON_IO_GET_RSIAcciónTool to retrieve the relative strength index (rsi) for a stock ticker. use after confirming ticker symbol and timespan to analyze momentum over a period.
Parámetros de entrada
limitintegerMaximum number of results to return (1-5000). Defaults to 5000.
orderstringenumSort order of results. Defaults to 'desc'.
ascdescwindowintegerLookback window for RSI calculation (must be 1). Defaults to 14.
adjustedbooleanWhether to use adjusted values (splits/dividends). Defaults to True.
timespanstringObligatorioThe size of the time window (e.g., 'day', 'minute', 'hour').
timestampintegerReturn results before this timestamp (ms since epoch).
series_typestringenumPrice field to use for calculation. Defaults to 'close'.
closeopenhighlowstock_tickerstringObligatorioThe stock ticker symbol (e.g., 'AAPL').
timestampLimitintegerReturn results after this timestamp (ms since epoch).
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Simple Moving AveragePOLYGON_IO_GET_SMAAcciónTool to retrieve the simple moving average (sma) for a forex ticker. use when you need sma values over a specified timespan with optional underlying data.
POLYGON_IO_GET_SMAAcciónTool to retrieve the simple moving average (sma) for a forex ticker. use when you need sma values over a specified timespan with optional underlying data.
Parámetros de entrada
limitintegerMaximum number of results to return (1-1000). Defaults to 250.
orderstringenumSort order for results. Defaults to 'desc'.
ascdescwindowintegerObligatorioNumber of periods to calculate the SMA (must be ≥1).
adjustedbooleanWhether to adjust results for splits/dividends. Defaults to True.
timespanstringObligatorioThe timespan for each period (e.g., 'minute', 'hour', 'day').
fx_tickerstringObligatorioThe forex ticker symbol (e.g., 'C:EURUSD').
timestampintegerMillisecond UNIX timestamp to anchor the indicator. Defaults to most recent.
series_typestringenumPrice series to use. Defaults to 'close'.
closeopenhighlowexpand_underlyingbooleanInclude underlying aggregate data. Defaults to False.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get SplitsPOLYGON_IO_GET_SPLITSAcciónTool to retrieve historical stock split events for a given ticker. use after identifying the ticker to fetch split history including ratio, ex-date, and record dates.
POLYGON_IO_GET_SPLITSAcciónTool to retrieve historical stock split events for a given ticker. use after identifying the ticker to fetch split history including ratio, ex-date, and record dates.
Parámetros de entrada
sortstringField to sort by; only 'ex_date' is supported.
limitintegerLimit number of results (1-1000).
orderstringenumSort order direction: 'asc' or 'desc'.
ascdesccursorstringPagination cursor to fetch next page of results. Pass a previous 'cursor' value.
tickerstringCase-sensitive ticker symbol, e.g., 'AAPL'.
ex_datestringFilter by ex-date (YYYY-MM-DD).
asset_classstringFilter by asset class, e.g., 'stocks', 'crypto'.
execution_typestringFilter by execution type (e.g., 'Market', 'Limit').
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Ticker OverviewPOLYGON_IO_GET_TICKER_OVERVIEWAcciónTool to retrieve comprehensive details for a single ticker, including identifiers, industry, and branding assets. use after confirming the exact ticker symbol.
POLYGON_IO_GET_TICKER_OVERVIEWAcciónTool to retrieve comprehensive details for a single ticker, including identifiers, industry, and branding assets. use after confirming the exact ticker symbol.
Parámetros de entrada
tickerstringObligatorioTicker symbol to look up, e.g., 'AAPL'. Must be uppercase alphanumeric.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Ticker TypesPOLYGON_IO_GET_TICKER_TYPESAcciónTool to retrieve a list of all ticker types supported by polygon.io. use when you need to enumerate valid ticker types for filtering or validation.
POLYGON_IO_GET_TICKER_TYPESAcciónTool to retrieve a list of all ticker types supported by polygon.io. use when you need to enumerate valid ticker types for filtering or validation.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not