Polygon
Overview
SLUG: POLYGON
Description
Polygon.io provides real-time and historical market data APIs for stocks, options, forex, and cryptocurrencies.
Authentication Details
API Key
Connecting to Polygon
Create an auth config
Use the dashboard to create an auth config for the Polygon toolkit. This allows you to connect multiple Polygon accounts to Composio for agents to use.
Create and Get auth config ID
Click “Create Polygon 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 toolkit’s playground
OpenAI (Python)
Anthropic (TypeScript)
Google (Python)
Vercel (TypeScript)
Tool List
POLYGON_GET_ALL_TICKERS
Tool Name: Get All Tickers
Description
Action Parameters
Action Response
POLYGON_GET_CRYPTO_INDICATOR_EMA
Tool Name: Get Crypto Exponential Moving Average (EMA)
Description
Action Parameters
Action Response
POLYGON_GET_CRYPTO_INDICATOR_MACD
Tool Name: Get Crypto MACD Indicator
Description
Action Parameters
Action Response
POLYGON_GET_CRYPTO_INDICATOR_RSI
Tool Name: Get Crypto RSI Indicator
Description
Action Parameters
Action Response
POLYGON_GET_CRYPTO_INDICATOR_SMA
Tool Name: Get Crypto Simple Moving Average (SMA)
Description
Action Parameters
Action Response
POLYGON_GET_CRYPTO_OPEN_CLOSE
Tool Name: Get Crypto Open/Close
Description
Action Parameters
Action Response
POLYGON_GET_CRYPTO_PREV_CLOSE
Tool Name: Get Crypto Previous Close
Description
Action Parameters
Action Response
POLYGON_GET_DIVIDENDS
Tool Name: Get Dividends
Description
Action Parameters
Action Response
POLYGON_GET_MARKET_HOLIDAYS
Tool Name: Get Upcoming Market Holidays
Description
Action Parameters
Action Response
POLYGON_GET_MARKET_STATUS
Tool Name: Get Market Status
Description
Action Parameters
Action Response
POLYGON_GET_NEWS
Tool Name: Get News
Description
Action Parameters
Action Response
POLYGON_GET_REFERENCE_CONDITIONS
Tool Name: Get reference conditions
Description
Action Parameters
Action Response
POLYGON_GET_REFERENCE_EXCHANGES
Tool Name: Get reference exchanges
Description
Action Parameters
Action Response
POLYGON_GET_SPLITS
Tool Name: Get Stock Splits
Description
Action Parameters
Action Response
POLYGON_GET_TECHNICAL_INDICATOR_EMA
Tool Name: Get Exponential Moving Average (EMA)
Description
Action Parameters
Action Response
POLYGON_GET_TECHNICAL_INDICATOR_SMA
Tool Name: Get Simple Moving Average (SMA)
Description
Action Parameters
Action Response
POLYGON_GET_TICKER_DETAILS
Tool Name: Get Ticker Details
Description
Action Parameters
Action Response
POLYGON_GET_TICKER_TYPES
Tool Name: Get Ticker Types
Description
Action Parameters
Action Response