Polygon io
Overview
SLUG: 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
API Key
Connecting to Polygon io
Create an auth config
Use the dashboard to create an auth config for the Polygon io toolkit. This allows you to connect multiple Polygon io accounts to Composio for agents to use.
Select App
Navigate to [Polygon io](https://platform.composio.dev?next_page=/marketplace/Polygon io).
Create and Get auth config ID
Click “Create Polygon io Auth Config”. After creation, copy the displayed ID starting with ac_. This is your auth config ID. This is not a sensitive ID — you can save it in environment variables or a database.
This ID will be used to create connections to the toolkit for a given user.
Connect Your Account
Using API Key
Tools
Executing tools
To prototype you can execute some tools to see the responses and working on the [Polygon io toolkit’s playground](https://app.composio.dev/app/Polygon io)
For code examples, see the Tool calling guide and Provider examples.
Tool List
POLYGON_IO_GET_ALL_TICKERS
Tool Name: Get All Tickers
Description
Action Parameters
Action Response
POLYGON_IO_GET_CONDITION_CODES
Tool Name: Get Condition Codes
Description
Action Parameters
Action Response
POLYGON_IO_GET_CRYPTO_AGGREGATES
Tool Name: Get Crypto Aggregates
Description
Action Parameters
Action Response
POLYGON_IO_GET_CRYPTO_EMA
Tool Name: Get Crypto EMA
Description
Action Parameters
Action Response
POLYGON_IO_GET_CRYPTO_MACD
Tool Name: Get Crypto MACD
Description
Action Parameters
Action Response
POLYGON_IO_GET_CRYPTO_RSI
Tool Name: Get Crypto RSI
Description
Action Parameters
Action Response
POLYGON_IO_GET_CRYPTO_SMA
Tool Name: Get Crypto SMA
Description
Action Parameters
Action Response
POLYGON_IO_GET_DAILY_TICKER_SUMMARY
Tool Name: Get Daily Ticker Summary
Description
Action Parameters
Action Response
POLYGON_IO_GET_DIVIDENDS
Tool Name: Get Dividends
Description
Action Parameters
Action Response
POLYGON_IO_GET_ECONOMY_INFLATION
Tool Name: Get Economy Inflation Indicators
Description
Action Parameters
Action Response
POLYGON_IO_GET_EMA
Tool Name: Get Exponential Moving Average
Description
Action Parameters
Action Response
POLYGON_IO_GET_FOREX_AGGREGATES
Tool Name: Get Forex Aggregates
Description
Action Parameters
Action Response
POLYGON_IO_GET_FOREX_EMA
Tool Name: Get Forex EMA
Description
Action Parameters
Action Response
POLYGON_IO_GET_FOREX_MACD
Tool Name: Get Forex MACD
Description
Action Parameters
Action Response
POLYGON_IO_GET_FOREX_REAL_TIME_CURRENCY_CONVERSION
Tool Name: Get Forex Real-Time Currency Conversion
Description
Action Parameters
Action Response
POLYGON_IO_GET_FOREX_RSI
Tool Name: Get Forex RSI
Description
Action Parameters
Action Response
POLYGON_IO_GET_FOREX_SMA
Tool Name: Get Forex SMA
Description
Action Parameters
Action Response
POLYGON_IO_GET_FUTURES_AGGREGATES
Tool Name: Get Futures Aggregates
Description
Action Parameters
Action Response
POLYGON_IO_GET_FUTURES_QUOTES
Tool Name: Get Futures Quotes
Description
Action Parameters
Action Response
POLYGON_IO_GET_HISTORIC_FOREX_TICKS
Tool Name: Get Historic Forex Ticks
Description
Action Parameters
Action Response
POLYGON_IO_GET_IPO_DATA
Tool Name: Get IPO Data
Description
Action Parameters
Action Response
POLYGON_IO_GET_MACD
Tool Name: Get MACD
Description
Action Parameters
Action Response
POLYGON_IO_GET_MARKET_HOLIDAYS
Tool Name: Get Market Holidays
Description
Action Parameters
Action Response
POLYGON_IO_GET_MARKET_STATUS
Tool Name: Get Market Status
Description
Action Parameters
Action Response
POLYGON_IO_GET_NEWS
Tool Name: Get News
Description
Action Parameters
Action Response
POLYGON_IO_GET_OPTIONS_CONTRACT_OVERVIEW
Tool Name: Get Options Contract Overview
Description
Action Parameters
Action Response
POLYGON_IO_GET_OPTIONS_CUSTOM_BARS
Tool Name: Get Options Custom Bars
Description
Action Parameters
Action Response
POLYGON_IO_GET_OPTIONS_EMA
Tool Name: Get Options EMA
Description
Action Parameters
Action Response
POLYGON_IO_GET_OPTIONS_MACD
Tool Name: Get Options MACD
Description
Action Parameters
Action Response
POLYGON_IO_GET_OPTIONS_RSI
Tool Name: Get Options RSI
Description
Action Parameters
Action Response
POLYGON_IO_GET_OPTIONS_SMA
Tool Name: Get Options SMA
Description
Action Parameters
Action Response
POLYGON_IO_GET_RSI
Tool Name: Get RSI
Description
Action Parameters
Action Response
POLYGON_IO_GET_SMA
Tool Name: Get Simple Moving Average
Description
Action Parameters
Action Response
POLYGON_IO_GET_SPLITS
Tool Name: Get Splits
Description
Action Parameters
Action Response
POLYGON_IO_GET_STOCKS_BALANCE_SHEETS
Tool Name: Get Stocks Balance Sheets
Description
Action Parameters
Action Response
POLYGON_IO_GET_STOCKS_CASH_FLOW_STATEMENTS
Tool Name: Get Stocks Cash Flow Statements
Description
Action Parameters
Action Response
POLYGON_IO_GET_STOCKS_CUSTOM_BARS
Tool Name: Get Stocks Custom Bars
Description
Action Parameters
Action Response
POLYGON_IO_GET_STOCKS_DAILY_MARKET_SUMMARY
Tool Name: Get Stocks Daily Market Summary
Description
Action Parameters
Action Response
POLYGON_IO_GET_STOCKS_FULL_MARKET_SNAPSHOT
Tool Name: Get Stocks Full Market Snapshot
Description
Action Parameters
Action Response
POLYGON_IO_GET_STOCKS_INCOME_STATEMENTS
Tool Name: Get Stocks Income Statements
Description
Action Parameters
Action Response
POLYGON_IO_GET_STOCKS_PREVIOUS_DAY_BAR
Tool Name: Get Stocks Previous Day Bar
Description
Action Parameters
Action Response
POLYGON_IO_GET_TICKER_EVENTS
Tool Name: Get Ticker Events
Description
Action Parameters
Action Response
POLYGON_IO_GET_TICKER_OVERVIEW
Tool Name: Get Ticker Overview
Description
Action Parameters
Action Response
POLYGON_IO_GET_TICKER_TYPES
Tool Name: Get Ticker Types
Description
Action Parameters
Action Response
POLYGON_IO_POLYGON_LAST_QUOTE_FOR_A_SYMBOL
Tool Name: Last Quote for a Symbol
Description
Action Parameters
Action Response
POLYGON_IO_POLYGON_LAST_TRADE_FOR_A_CURRENCY_PAIR
Tool Name: Last Trade for a Currency Pair
Description
Action Parameters
Action Response