NAiOS IconNAiOS Logo
Volver al catálogo

Polygon.io

polygon_io

Polygon.io provides real-time and historical market data APIs for stocks, options, forex, and cryptocurrencies, enabling developers to build financial applications with ease.

Acciones
14
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 (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ón

Tool 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

  • cikstring

    Filter by CIK identifier.

  • datestring

    Filter tickers as of a specific date, format YYYY-MM-DD.

  • sortstring

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

  • typestring

    Filter by asset type (e.g., 'CS' for common stock, 'ETF', etc.).

  • cusipstring

    Filter by CUSIP identifier.

  • limitinteger

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

  • orderstringenum

    Sort order direction: 'asc' or 'desc'.

    ascdesc
  • activeboolean

    If true, only return symbols that are currently active.

  • cursorstring

    Pagination cursor to fetch next page of results. Pass the 'cursor' value from a previous response.

  • marketstring

    Filter by market (e.g., 'stocks', 'crypto', 'fx', 'options').

  • searchstring

    Partial text search on ticker symbol or company name.

  • tickerstring

    Exact match filter on a single ticker symbol.

  • exchangestring

    Filter by specific exchange code (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 Condition CodesPOLYGON_IO_GET_CONDITION_CODESAcción

Tool 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

  • idstring

    Filter by specific condition code ID, e.g., 'P'.

  • sortstringenum

    Sort order of results: 'asc' or 'desc'.

    ascdesc
  • limitinteger

    Maximum number of results to return (server default: 50).

  • data_typestringenum

    Filter by data type: 'trade' or 'quote'.

    tradequote
  • asset_classstring

    Filter by asset class, e.g., 'stocks', 'crypto', 'fx'.

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 Daily Ticker SummaryPOLYGON_IO_GET_DAILY_TICKER_SUMMARYAcción

Tool to retrieve daily aggregate summary for a specific stock ticker. uses previous day aggregates from v2 api.

Parámetros de entrada

  • datestringObligatorio

    Date in YYYY-MM-DD format (e.g., '2021-10-14')

  • adjustedboolean

    Whether to return adjusted data. Defaults to true.

  • stocks_tickerstringObligatorio

    Stock ticker symbol (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 DividendsPOLYGON_IO_GET_DIVIDENDSAcción

Tool 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

  • sortstring

    Field to sort by; only 'ex_dividend_date' is supported.

  • limitinteger

    Limit number of results (1-1000).

  • orderstringenum

    Order of sorting: 'asc' or 'desc'.

    ascdesc
  • tickerstring

    Case-sensitive ticker symbol, e.g., 'AAPL'.

  • pay_datestring

    Filter by payment date (YYYY-MM-DD).

  • frequencyintegerenum

    Number of dividend payments per year. 0=one-time, 1=annually, 2=bi-annually, 4=quarterly, 12=monthly, 24=bi-monthly, 52=weekly.

    0124122452
  • cash_amountnumber

    Filter by cash amount of the dividend per share.

  • record_datestring

    Filter by record date (YYYY-MM-DD).

  • dividend_typestringenum

    Type of dividend: 'CD' for consistent cash, 'SC' for special cash, 'LT' for long-term capital gain, 'ST' for short-term capital gain.

    CDSCLTST
  • 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 Exponential Moving AveragePOLYGON_IO_GET_EMAAcción

Tool 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

  • limitinteger

    Maximum number of results to return (1-5000). Defaults to 100.

  • orderstringenum

    Sort order for results. Defaults to 'desc'.

    ascdesc
  • windowintegerObligatorio

    Number of periods to calculate the EMA (must be ≥1).

  • adjustedboolean

    Whether to adjust results for splits/dividends. Defaults to True.

  • timespanstringObligatorio

    The timespan for each period (e.g., 'day', 'minute', 'hour').

  • series_typestringenum

    Price series to use. Defaults to 'close'.

    closeopenhighlow
  • stock_tickerstringObligatorio

    The stock ticker symbol.

  • expand_underlyingboolean

    Include underlying price data. Defaults to False.

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

Tool 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

  • limitinteger

    Maximum number of results to return (1-5000). Defaults to 10.

  • orderstringenum

    The order of results by timestamp. Defaults to 'desc'.

    ascdesc
  • adjustedboolean

    Whether to use split-adjusted aggregates. Defaults to True.

  • timespanstringObligatorio

    The size of the aggregate time window (e.g., 'day').

  • timestampstring

    Filter by timestamp (YYYY-MM-DD or millisecond timestamp).

  • long_windowintegerObligatorio

    The number of periods for the long EMA window (e.g., 26).

  • series_typestringenum

    The price field to use for calculations. Defaults to 'close'.

    closeopenhighlow
  • short_windowintegerObligatorio

    The number of periods for the short EMA window (e.g., 12).

  • stock_tickerstringObligatorio

    The case-sensitive ticker symbol for which to get MACD data (e.g., 'AAPL').

  • signal_windowintegerObligatorio

    The number of periods for the signal line EMA window (e.g., 9).

  • expand_underlyingboolean

    Whether to include the underlying aggregates data. Defaults to False.

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

Tool 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

  • 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 Market StatusPOLYGON_IO_GET_MARKET_STATUSAcción

Tool 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

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

Tool 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

  • sortstring

    Field to sort by; only 'published_utc' is supported

  • limitinteger

    Limit the number of results (1-1000). Defaults to 10 if not provided.

  • orderstringenum

    Order of results by published_utc: 'asc' or 'desc'

    ascdesc
  • cursorstring

    Cursor for pagination. Use the 'next_url' or cursor value from previous response.

  • tickerstring

    Only return news articles for this ticker symbol, e.g., 'AAPL'

  • published_utc.gtestring

    Return articles published on or after this UTC date/time (ISO-8601), e.g., '2022-01-01T00:00:00Z'

  • published_utc.ltestring

    Return articles published on or before this UTC date/time (ISO-8601), e.g., '2022-01-31T23:59:59Z'

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

Tool 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

  • limitinteger

    Maximum number of results to return (1-5000). Defaults to 5000.

  • orderstringenum

    Sort order of results. Defaults to 'desc'.

    ascdesc
  • windowinteger

    Lookback window for RSI calculation (must be 1). Defaults to 14.

  • adjustedboolean

    Whether to use adjusted values (splits/dividends). Defaults to True.

  • timespanstringObligatorio

    The size of the time window (e.g., 'day', 'minute', 'hour').

  • timestampinteger

    Return results before this timestamp (ms since epoch).

  • series_typestringenum

    Price field to use for calculation. Defaults to 'close'.

    closeopenhighlow
  • stock_tickerstringObligatorio

    The stock ticker symbol (e.g., 'AAPL').

  • timestampLimitinteger

    Return results after this timestamp (ms since epoch).

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

Tool 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

  • limitinteger

    Maximum number of results to return (1-1000). Defaults to 250.

  • orderstringenum

    Sort order for results. Defaults to 'desc'.

    ascdesc
  • windowintegerObligatorio

    Number of periods to calculate the SMA (must be ≥1).

  • adjustedboolean

    Whether to adjust results for splits/dividends. Defaults to True.

  • timespanstringObligatorio

    The timespan for each period (e.g., 'minute', 'hour', 'day').

  • fx_tickerstringObligatorio

    The forex ticker symbol (e.g., 'C:EURUSD').

  • timestampinteger

    Millisecond UNIX timestamp to anchor the indicator. Defaults to most recent.

  • series_typestringenum

    Price series to use. Defaults to 'close'.

    closeopenhighlow
  • expand_underlyingboolean

    Include underlying aggregate data. Defaults to False.

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

Tool 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

  • sortstring

    Field to sort by; only 'ex_date' is supported.

  • limitinteger

    Limit number of results (1-1000).

  • orderstringenum

    Sort order direction: 'asc' or 'desc'.

    ascdesc
  • cursorstring

    Pagination cursor to fetch next page of results. Pass a previous 'cursor' value.

  • tickerstring

    Case-sensitive ticker symbol, e.g., 'AAPL'.

  • ex_datestring

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

  • asset_classstring

    Filter by asset class, e.g., 'stocks', 'crypto'.

  • execution_typestring

    Filter by execution type (e.g., 'Market', 'Limit').

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

Tool 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

  • tickerstringObligatorio

    Ticker symbol to look up, e.g., 'AAPL'. Must be uppercase alphanumeric.

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

Tool 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

  • 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