Polygon Io

Learn how to use Polygon Io with Composio

Overview

Enum

POLYGON_IO

Description

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

Authentication Details

generic_api_key
stringRequired
generic_api_key
stringRequired

Actions

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.

Action Parameters

active
boolean
cik
string
cursor
string
cusip
string
date
string
exchange
string
limit
integer
market
string
order
string
search
string
sort
string
ticker
string
type
string

Action Response

data
object
error
string
successful
boolean
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.

Action Parameters

asset_class
string
data_type
string
id
string
limit
integer
sort
string

Action Response

data
object
error
string
successful
boolean
Tool to retrieve daily aggregate summary for a specific stock ticker. uses previous day aggregates from v2 api.

Action Parameters

adjusted
booleanDefaults to True
date
stringRequired
stocks_ticker
stringRequired

Action Response

data
object
error
string
successful
boolean
Tool to retrieve a historical record of cash dividend distributions for a given ticker. use when analyzing dividend payments by date, amount, and frequency.

Action Parameters

cash_amount
number
declaration_date
string
dividend_type
string
ex_dividend_date
string
frequency
integer
limit
integer
order
string
pay_date
string
record_date
string
sort
string
ticker
string

Action Response

data
object
error
string
successful
boolean
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.

Action Parameters

adjusted
booleanDefaults to True
expand_underlying
boolean
limit
integerDefaults to 100
order
stringDefaults to desc
series_type
stringDefaults to close
stock_ticker
stringRequired
timespan
stringRequired
window
integerRequired

Action Response

data
object
error
string
successful
boolean
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.

Action Parameters

adjusted
booleanDefaults to True
expand_underlying
boolean
limit
integerDefaults to 10
long_window
integerRequired
order
stringDefaults to desc
series_type
stringDefaults to close
short_window
integerRequired
signal_window
integerRequired
stock_ticker
stringRequired
timespan
stringRequired
timestamp
string

Action Response

data
object
error
string
successful
boolean
Tool to retrieve upcoming market holidays and their corresponding open/close times. use when planning around market schedules before trading.

Action Parameters

Action Response

data
object
error
string
successful
boolean
Tool to retrieve the current trading status across major exchanges and currency markets. use for real-time monitoring, scheduling, or ui updates.

Action Parameters

Action Response

data
object
error
string
successful
boolean
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.

Action Parameters

cursor
string
limit
integer
order
string
published_utc.gte
string
published_utc.lte
string
sort
string
ticker
string

Action Response

data
object
error
string
successful
boolean
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.

Action Parameters

adjusted
booleanDefaults to True
limit
integerDefaults to 5000
order
stringDefaults to desc
series_type
stringDefaults to close
stock_ticker
stringRequired
timespan
stringRequired
timestamp
integer
timestampLimit
integer
window
integerDefaults to 14

Action Response

data
object
error
string
successful
boolean
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.

Action Parameters

adjusted
booleanDefaults to True
expand_underlying
boolean
fx_ticker
stringRequired
limit
integerDefaults to 250
order
stringDefaults to desc
series_type
stringDefaults to close
timespan
stringRequired
timestamp
integer
window
integerRequired

Action Response

data
object
error
string
successful
boolean
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.

Action Parameters

asset_class
string
cursor
string
ex_date
string
execution_type
string
limit
integer
order
string
sort
string
ticker
string

Action Response

data
object
error
string
successful
boolean
Tool to retrieve comprehensive details for a single ticker, including identifiers, industry, and branding assets. use after confirming the exact ticker symbol.

Action Parameters

ticker
stringRequired

Action Response

data
object
error
string
successful
boolean
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.

Action Parameters

Action Response

data
object
error
string
successful
boolean