Polygon
polygonPolygon.io provides real-time and historical market data APIs for stocks, options, forex, and cryptocurrencies.
Acciones disponibles (18)
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_GET_ALL_TICKERSAcciónTool to retrieve all ticker symbols across asset classes. use when you need to filter by market or exchange and paginate through results.
POLYGON_GET_ALL_TICKERSAcciónTool to retrieve all ticker symbols across asset classes. use when you need to filter by market or exchange and paginate through results.
Parámetros de entrada
sortstringField to sort by (e.g., ticker, name, market).
limitintegerNumber of results per page (1-1000).
orderstringenumSort order of results.
ascdescactivebooleanIf true, only active tickers are returned.
cursorstringPagination cursor from prior response to fetch next page.
marketstringFilter by market type (e.g., stocks, crypto, fx, otc).
searchstringSearch substring in company or ticker names.
tickerstringExact ticker symbol to search for (e.g., AAPL).
exchangestringFilter by exchange symbol (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 Crypto Exponential Moving Average (EMA)POLYGON_GET_CRYPTO_INDICATOR_EMAAcciónTool to retrieve exponential moving average (ema) for a cryptocurrency ticker. use when you need crypto ema data for analysis after selecting the time window.
POLYGON_GET_CRYPTO_INDICATOR_EMAAcciónTool to retrieve exponential moving average (ema) for a cryptocurrency ticker. use when you need crypto ema data for analysis after selecting the time window.
Parámetros de entrada
limitintegerMaximum number of results (default: 50, max: 1000)
orderstringenumSort order of results (default: desc)
ascdescwindowintegerObligatorioNumber of periods for EMA calculation (window size)
adjustedbooleanWhether results are adjusted for splits (default: true)
timespanstringObligatorioenumSize of the time window for aggregates
minutehourdayseries_typestringObligatorioenumSeries type to use for calculation (open, high, low, close)
openhighlowclosecrypto_tickerstringObligatorioCryptocurrency ticker symbol in Polygon format, e.g., 'X:BTCUSD'
expand_underlyingbooleanIf true, include underlying aggregate bars in the response
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 Crypto MACD IndicatorPOLYGON_GET_CRYPTO_INDICATOR_MACDAcciónTool to retrieve the macd (moving average convergence/divergence) for a crypto ticker. use when you need momentum analysis for a specific cryptocurrency after confirming ticker and parameters.
POLYGON_GET_CRYPTO_INDICATOR_MACDAcciónTool to retrieve the macd (moving average convergence/divergence) for a crypto ticker. use when you need momentum analysis for a specific cryptocurrency after confirming ticker and parameters.
Parámetros de entrada
limitintegerMaximum number of results to return
orderstringenumOrder in which results are returned
ascdesctickerstringObligatorioCrypto ticker symbol to query, e.g., 'X:BTCUSD'
adjustedbooleanWhether the results are adjusted for splits/dividends
timespanstringenumAggregate timespan for each data point, e.g., 'day', 'hour', or 'minute'
minutehourdayseries_typestringenumPrice type to use for calculation
openhighlowclosewindow_longintegerLookback window for the long moving average
window_shortintegerLookback window for the short moving average
window_signalintegerLookback window for the signal line
expand_underlyingbooleanWhether to include the underlying aggregates in the response
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 Crypto RSI IndicatorPOLYGON_GET_CRYPTO_INDICATOR_RSIAcciónTool to retrieve the relative strength index (rsi) for a crypto ticker. use when you need momentum analysis for crypto assets after specifying ticker, timeframe, and optional parameters.
POLYGON_GET_CRYPTO_INDICATOR_RSIAcciónTool to retrieve the relative strength index (rsi) for a crypto ticker. use when you need momentum analysis for crypto assets after specifying ticker, timeframe, and optional parameters.
Parámetros de entrada
limitintegerMaximum number of results to return
orderstringenumOrder of results
ascdesctickerstringObligatorioCrypto ticker symbol to query, e.g., 'X:BTCUSD'
windowintegerNumber of periods to calculate the RSI over (window size)
adjustedbooleanWhether or not results are adjusted for splits
timeframestringObligatorioenumAggregation time window for RSI, e.g., 'hour', 'day'
minutehourdaytimestampstringTimestamp to retrieve RSI up to (ISO8601 or Unix ms)
series_typestringenumPrice series to use for calculation
openhighlowclose
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 Crypto Simple Moving Average (SMA)POLYGON_GET_CRYPTO_INDICATOR_SMAAcciónTool to retrieve the simple moving average (sma) for a given crypto ticker. use when you need sma values for a crypto asset after confirming ticker, timespan, and window size.
POLYGON_GET_CRYPTO_INDICATOR_SMAAcciónTool to retrieve the simple moving average (sma) for a given crypto ticker. use when you need sma values for a crypto asset after confirming ticker, timespan, and window size.
Parámetros de entrada
limitintegerMaximum number of results to return
orderstringenumOrder of results
ascdescwindowintegerObligatorioWindow size for the SMA calculation
adjustedbooleanWhether to use adjusted data
timespanstringObligatorioenumAggregate timespan for each data point
minutehourdayseries_typestringenumSeries type to calculate SMA on
openhighlowclosevolumecrypto_tickerstringObligatorioCrypto ticker symbol to query, e.g., 'X:BTCUSD'
expand_underlyingbooleanWhether to include underlying aggregates
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 Crypto Open/ClosePOLYGON_GET_CRYPTO_OPEN_CLOSEAcciónTool to fetch daily open and close prices for a given crypto pair on a specified date. use after specifying both currency symbols and the date.
POLYGON_GET_CRYPTO_OPEN_CLOSEAcciónTool to fetch daily open and close prices for a given crypto pair on a specified date. use after specifying both currency symbols and the date.
Parámetros de entrada
basestringObligatorioTicker symbol of the base currency (e.g., 'BTC')
datestringObligatorioDate for which to retrieve open/close prices, in YYYY-MM-DD format
quotestringObligatorioTicker symbol of the quote currency (e.g., 'USD')
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 Crypto Previous ClosePOLYGON_GET_CRYPTO_PREV_CLOSEAcciónTool to retrieve previous day’s close for a crypto ticker. use when you need the last closing price of a cryptocurrency before analysis or trading.
POLYGON_GET_CRYPTO_PREV_CLOSEAcciónTool to retrieve previous day’s close for a crypto ticker. use when you need the last closing price of a cryptocurrency before analysis or trading.
Parámetros de entrada
adjustedbooleanWhether to return adjusted data
crypto_tickerstringObligatorioCryptocurrency ticker symbol to query, e.g., 'X:BTCUSD'
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_GET_DIVIDENDSAcciónTool to retrieve dividend data for stocks. use when you need corporate dividend information for specific tickers.
POLYGON_GET_DIVIDENDSAcciónTool to retrieve dividend data for stocks. use when you need corporate dividend information for specific tickers.
Parámetros de entrada
skipintegerNumber of records to skip (pagination)
sortstringField to sort by (e.g., ex_dividend_date)
limitintegerLimit number of results (1-1000)
orderstringenumSort order (ascending or descending)
ascdesctickerstringFilter by ticker symbol
frequencystringenumFilter by dividend frequency
annualquarterlymonthlysemiannualcash_amountnumberFilter by cash amount
record_datestringFilter by record date (YYYY-MM-DD)
payment_datestringFilter by payment date (YYYY-MM-DD)
dividend_typestringFilter by dividend type code
declaration_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 Upcoming Market HolidaysPOLYGON_GET_MARKET_HOLIDAYSAcciónTool to retrieve upcoming market holidays and half-day closures. use when you need to look up upcoming exchange holidays and early closures.
POLYGON_GET_MARKET_HOLIDAYSAcciónTool to retrieve upcoming market holidays and half-day closures. use when you need to look up upcoming exchange holidays and early closures.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobject[]ObligatorioData 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_GET_MARKET_STATUSAcciónTool to retrieve current market status. use when you need to know if u.s. exchanges are open, closed, or on holiday.
POLYGON_GET_MARKET_STATUSAcciónTool to retrieve current market status. use when you need to know if u.s. exchanges are open, closed, or on holiday.
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_GET_NEWSAcciónTool to retrieve recent news articles related to a ticker. use when you need to fetch financial news after identifying a ticker symbol.
POLYGON_GET_NEWSAcciónTool to retrieve recent news articles related to a ticker. use when you need to fetch financial news after identifying a ticker symbol.
Parámetros de entrada
sortstringField to sort by (only 'published_utc' supported)
limitintegerNumber of results to return (1–100)
orderstringenumSort order of results
ascdesccursorstringPagination token for the next page of results
tickerstringTicker symbol to filter news (e.g., 'AAPL')
published_utc.gtestringReturn articles published on or after this ISO 8601 timestamp
published_utc.ltestringReturn articles published on or before this ISO 8601 timestamp
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 reference conditionsPOLYGON_GET_REFERENCE_CONDITIONSAcciónTool to retrieve market condition code mappings. use when you need definitions of trade or quote condition codes after confirming asset class and data type.
POLYGON_GET_REFERENCE_CONDITIONSAcciónTool to retrieve market condition code mappings. use when you need definitions of trade or quote condition codes after confirming asset class and data type.
Parámetros de entrada
idstringSpecific condition code identifier to retrieve. If omitted, all codes are returned.
data_typestringenumData type to filter condition codes. One of 'trades' or 'quotes'.
tradesquotesasset_classstringenumAsset class to filter condition codes. One of 'stocks' or 'options'.
stocksoptions
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 reference exchangesPOLYGON_GET_REFERENCE_EXCHANGESAcciónTool to retrieve supported exchanges and their details. use when you need a list of exchanges filtered by asset class or locale.
POLYGON_GET_REFERENCE_EXCHANGESAcciónTool to retrieve supported exchanges and their details. use when you need a list of exchanges filtered by asset class or locale.
Parámetros de entrada
localestringFilter by locale (e.g., 'us').
asset_classstringenumFilter by asset class. One of 'stocks', 'options', 'crypto', 'fx'.
stocksoptionscryptofx
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 Stock SplitsPOLYGON_GET_SPLITSAcciónTool to retrieve stock split events. use when you need corporate stock split data filtered by ticker or date range. example: "get splits for aapl between 2021-01-01 and 2021-12-31".
POLYGON_GET_SPLITSAcciónTool to retrieve stock split events. use when you need corporate stock split data filtered by ticker or date range. example: "get splits for aapl between 2021-01-01 and 2021-12-31".
Parámetros de entrada
sortstringField to sort results by (default: 'execution_date')
limitintegerMaximum number of results to return (1-1000)
orderstringenumSort order: 'asc' or 'desc' (default: 'desc')
ascdesctickerstringStock ticker symbol to query splits for, e.g., 'AAPL'
execution_date.gtestringFilter splits executed on or after this date (YYYY-MM-DD)
execution_date.ltestringFilter splits executed on or before this 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 Average (EMA)POLYGON_GET_TECHNICAL_INDICATOR_EMAAcciónTool to fetch exponential moving average (ema) for a given stock ticker. use when you need historical ema data after confirming ticker, timespan, and window size.
POLYGON_GET_TECHNICAL_INDICATOR_EMAAcciónTool to fetch exponential moving average (ema) for a given stock ticker. use when you need historical ema data after confirming ticker, timespan, and window size.
Parámetros de entrada
limitintegerMaximum number of results to return
orderstringenumOrder of results
ascdesctickerstringObligatorioStock ticker symbol to query, e.g., 'AAPL'
windowintegerObligatorioNumber of periods to calculate the EMA over (window size)
adjustedbooleanWhether to use adjusted data for EMA calculation
timespanstringObligatorioAggregate timespan for each data point, e.g., 'day' or 'minute'
series_typestringenumSeries type to use for the calculation
openhighlowcloseexpand_underlyingbooleanWhether to include underlying aggregates used to calculate EMA
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 Average (SMA)POLYGON_GET_TECHNICAL_INDICATOR_SMAAcciónTool to fetch simple moving average (sma) for a given stock ticker. use when you need historical sma data after confirming ticker, timespan, and window size.
POLYGON_GET_TECHNICAL_INDICATOR_SMAAcciónTool to fetch simple moving average (sma) for a given stock ticker. use when you need historical sma data after confirming ticker, timespan, and window size.
Parámetros de entrada
limitintegerMaximum number of results to return
orderstringenumOrder of results
ascdesctickerstringObligatorioStock ticker symbol to query, e.g., 'AAPL'
windowintegerObligatorioNumber of periods to calculate the SMA over (window size)
adjustedbooleanWhether to use adjusted data
timespanstringObligatorioAggregate timespan for each data point, e.g., 'day' or 'minute'
series_typestringenumSeries type to use for the calculation
openhighlowcloseexpand_underlyingbooleanWhether to include underlying aggregates
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 DetailsPOLYGON_GET_TICKER_DETAILSAcciónTool to retrieve detailed information for a ticker. use when you need an overview of a ticker including company info, market data, and identifiers.
POLYGON_GET_TICKER_DETAILSAcciónTool to retrieve detailed information for a ticker. use when you need an overview of a ticker including company info, market data, and identifiers.
Parámetros de entrada
dateanydatePoint-in-time reference date in YYYY-MM-DD format. Defaults to most recent.
tickerstringObligatorioThe ticker symbol to look up (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 Ticker TypesPOLYGON_GET_TICKER_TYPESAcciónTool to retrieve all ticker types supported by polygon.io. use after authenticating to explore ticker categories.
POLYGON_GET_TICKER_TYPESAcciónTool to retrieve all ticker types supported by polygon.io. use after authenticating to explore ticker categories.
Parámetros de entrada
typestringFilter by the ticker type code (e.g., 'CS' for common stock).
limitintegerMaximum number of results to return (1–1000).
offsetintegerNumber of items to skip for pagination (0-indexed).
asset_classstringenumFilter by asset class. One of 'stocks', 'options', 'crypto', 'fx'.
stocksoptionscryptofx
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