NAiOS IconNAiOS Logo
Volver al catálogo

Polygon

polygon

Polygon.io provides real-time and historical market data APIs for stocks, options, forex, and cryptocurrencies.

Acciones
18
Triggers
0
Autenticación
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

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ón

Tool 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

  • sortstring

    Field to sort by (e.g., ticker, name, market).

  • limitinteger

    Number of results per page (1-1000).

  • orderstringenum

    Sort order of results.

    ascdesc
  • activeboolean

    If true, only active tickers are returned.

  • cursorstring

    Pagination cursor from prior response to fetch next page.

  • marketstring

    Filter by market type (e.g., stocks, crypto, fx, otc).

  • searchstring

    Search substring in company or ticker names.

  • tickerstring

    Exact ticker symbol to search for (e.g., AAPL).

  • exchangestring

    Filter by exchange symbol (e.g., XNAS, XNYS).

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Crypto Exponential Moving Average (EMA)POLYGON_GET_CRYPTO_INDICATOR_EMAAcción

Tool 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

  • limitinteger

    Maximum number of results (default: 50, max: 1000)

  • orderstringenum

    Sort order of results (default: desc)

    ascdesc
  • windowintegerObligatorio

    Number of periods for EMA calculation (window size)

  • adjustedboolean

    Whether results are adjusted for splits (default: true)

  • timespanstringObligatorioenum

    Size of the time window for aggregates

    minutehourday
  • series_typestringObligatorioenum

    Series type to use for calculation (open, high, low, close)

    openhighlowclose
  • crypto_tickerstringObligatorio

    Cryptocurrency ticker symbol in Polygon format, e.g., 'X:BTCUSD'

  • expand_underlyingboolean

    If true, include underlying aggregate bars in the response

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Crypto MACD IndicatorPOLYGON_GET_CRYPTO_INDICATOR_MACDAcción

Tool 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

  • limitinteger

    Maximum number of results to return

  • orderstringenum

    Order in which results are returned

    ascdesc
  • tickerstringObligatorio

    Crypto ticker symbol to query, e.g., 'X:BTCUSD'

  • adjustedboolean

    Whether the results are adjusted for splits/dividends

  • timespanstringenum

    Aggregate timespan for each data point, e.g., 'day', 'hour', or 'minute'

    minutehourday
  • series_typestringenum

    Price type to use for calculation

    openhighlowclose
  • window_longinteger

    Lookback window for the long moving average

  • window_shortinteger

    Lookback window for the short moving average

  • window_signalinteger

    Lookback window for the signal line

  • expand_underlyingboolean

    Whether to include the underlying aggregates in the response

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Crypto RSI IndicatorPOLYGON_GET_CRYPTO_INDICATOR_RSIAcción

Tool 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

  • limitinteger

    Maximum number of results to return

  • orderstringenum

    Order of results

    ascdesc
  • tickerstringObligatorio

    Crypto ticker symbol to query, e.g., 'X:BTCUSD'

  • windowinteger

    Number of periods to calculate the RSI over (window size)

  • adjustedboolean

    Whether or not results are adjusted for splits

  • timeframestringObligatorioenum

    Aggregation time window for RSI, e.g., 'hour', 'day'

    minutehourday
  • timestampstring

    Timestamp to retrieve RSI up to (ISO8601 or Unix ms)

  • series_typestringenum

    Price series to use for calculation

    openhighlowclose

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Crypto Simple Moving Average (SMA)POLYGON_GET_CRYPTO_INDICATOR_SMAAcción

Tool 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

  • limitinteger

    Maximum number of results to return

  • orderstringenum

    Order of results

    ascdesc
  • windowintegerObligatorio

    Window size for the SMA calculation

  • adjustedboolean

    Whether to use adjusted data

  • timespanstringObligatorioenum

    Aggregate timespan for each data point

    minutehourday
  • series_typestringenum

    Series type to calculate SMA on

    openhighlowclosevolume
  • crypto_tickerstringObligatorio

    Crypto ticker symbol to query, e.g., 'X:BTCUSD'

  • expand_underlyingboolean

    Whether to include underlying aggregates

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Crypto Open/ClosePOLYGON_GET_CRYPTO_OPEN_CLOSEAcción

Tool 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

  • basestringObligatorio

    Ticker symbol of the base currency (e.g., 'BTC')

  • datestringObligatorio

    Date for which to retrieve open/close prices, in YYYY-MM-DD format

  • quotestringObligatorio

    Ticker symbol of the quote currency (e.g., 'USD')

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Crypto Previous ClosePOLYGON_GET_CRYPTO_PREV_CLOSEAcción

Tool 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

  • adjustedboolean

    Whether to return adjusted data

  • crypto_tickerstringObligatorio

    Cryptocurrency ticker symbol to query, e.g., 'X:BTCUSD'

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get DividendsPOLYGON_GET_DIVIDENDSAcción

Tool to retrieve dividend data for stocks. use when you need corporate dividend information for specific tickers.

Parámetros de entrada

  • skipinteger

    Number of records to skip (pagination)

  • sortstring

    Field to sort by (e.g., ex_dividend_date)

  • limitinteger

    Limit number of results (1-1000)

  • orderstringenum

    Sort order (ascending or descending)

    ascdesc
  • tickerstring

    Filter by ticker symbol

  • frequencystringenum

    Filter by dividend frequency

    annualquarterlymonthlysemiannual
  • cash_amountnumber

    Filter by cash amount

  • record_datestring

    Filter by record date (YYYY-MM-DD)

  • payment_datestring

    Filter by payment date (YYYY-MM-DD)

  • dividend_typestring

    Filter by dividend type code

  • declaration_datestring

    Filter by declaration date (YYYY-MM-DD)

  • ex_dividend_datestring

    Filter by ex-dividend date (YYYY-MM-DD)

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Upcoming Market HolidaysPOLYGON_GET_MARKET_HOLIDAYSAcción

Tool 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[]Obligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Market StatusPOLYGON_GET_MARKET_STATUSAcción

Tool 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

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get NewsPOLYGON_GET_NEWSAcción

Tool 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

  • sortstring

    Field to sort by (only 'published_utc' supported)

  • limitinteger

    Number of results to return (1–100)

  • orderstringenum

    Sort order of results

    ascdesc
  • cursorstring

    Pagination token for the next page of results

  • tickerstring

    Ticker symbol to filter news (e.g., 'AAPL')

  • published_utc.gtestring

    Return articles published on or after this ISO 8601 timestamp

  • published_utc.ltestring

    Return articles published on or before this ISO 8601 timestamp

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get reference conditionsPOLYGON_GET_REFERENCE_CONDITIONSAcción

Tool 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

  • idstring

    Specific condition code identifier to retrieve. If omitted, all codes are returned.

  • data_typestringenum

    Data type to filter condition codes. One of 'trades' or 'quotes'.

    tradesquotes
  • asset_classstringenum

    Asset class to filter condition codes. One of 'stocks' or 'options'.

    stocksoptions

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get reference exchangesPOLYGON_GET_REFERENCE_EXCHANGESAcción

Tool 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

  • localestring

    Filter by locale (e.g., 'us').

  • asset_classstringenum

    Filter by asset class. One of 'stocks', 'options', 'crypto', 'fx'.

    stocksoptionscryptofx

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Stock SplitsPOLYGON_GET_SPLITSAcción

Tool 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

  • sortstring

    Field to sort results by (default: 'execution_date')

  • limitinteger

    Maximum number of results to return (1-1000)

  • orderstringenum

    Sort order: 'asc' or 'desc' (default: 'desc')

    ascdesc
  • tickerstring

    Stock ticker symbol to query splits for, e.g., 'AAPL'

  • execution_date.gtestring

    Filter splits executed on or after this date (YYYY-MM-DD)

  • execution_date.ltestring

    Filter splits executed on or before this date (YYYY-MM-DD)

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Exponential Moving Average (EMA)POLYGON_GET_TECHNICAL_INDICATOR_EMAAcción

Tool 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

  • limitinteger

    Maximum number of results to return

  • orderstringenum

    Order of results

    ascdesc
  • tickerstringObligatorio

    Stock ticker symbol to query, e.g., 'AAPL'

  • windowintegerObligatorio

    Number of periods to calculate the EMA over (window size)

  • adjustedboolean

    Whether to use adjusted data for EMA calculation

  • timespanstringObligatorio

    Aggregate timespan for each data point, e.g., 'day' or 'minute'

  • series_typestringenum

    Series type to use for the calculation

    openhighlowclose
  • expand_underlyingboolean

    Whether to include underlying aggregates used to calculate EMA

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Simple Moving Average (SMA)POLYGON_GET_TECHNICAL_INDICATOR_SMAAcción

Tool 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

  • limitinteger

    Maximum number of results to return

  • orderstringenum

    Order of results

    ascdesc
  • tickerstringObligatorio

    Stock ticker symbol to query, e.g., 'AAPL'

  • windowintegerObligatorio

    Number of periods to calculate the SMA over (window size)

  • adjustedboolean

    Whether to use adjusted data

  • timespanstringObligatorio

    Aggregate timespan for each data point, e.g., 'day' or 'minute'

  • series_typestringenum

    Series type to use for the calculation

    openhighlowclose
  • expand_underlyingboolean

    Whether to include underlying aggregates

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Ticker DetailsPOLYGON_GET_TICKER_DETAILSAcción

Tool 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

  • dateanydate

    Point-in-time reference date in YYYY-MM-DD format. Defaults to most recent.

  • tickerstringObligatorio

    The ticker symbol to look up (e.g., 'AAPL')

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Ticker TypesPOLYGON_GET_TICKER_TYPESAcción

Tool to retrieve all ticker types supported by polygon.io. use after authenticating to explore ticker categories.

Parámetros de entrada

  • typestring

    Filter by the ticker type code (e.g., 'CS' for common stock).

  • limitinteger

    Maximum number of results to return (1–1000).

  • offsetinteger

    Number of items to skip for pagination (0-indexed).

  • asset_classstringenum

    Filter by asset class. One of 'stocks', 'options', 'crypto', 'fx'.

    stocksoptionscryptofx

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not