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_AGGREGATES
Tool Name: Get Aggregates
Description
Action Parameters
Action Response
POLYGON_GET_ALL_TICKERS
Tool Name: Get All Tickers
Description
Action Parameters
Action Response
POLYGON_GET_CRYPTO_AGGREGATES
Tool Name: Get Crypto Aggregates
Description
Action Parameters
Action Response
POLYGON_GET_CRYPTO_ALL_TICKERS
Tool Name: Get Crypto All Tickers Snapshot
Description
Action Parameters
Action Response
POLYGON_GET_CRYPTO_EXCHANGES
Tool Name: Get Crypto Exchanges
Description
Action Parameters
Action Response
POLYGON_GET_CRYPTO_GROUPED_DAILY
Tool Name: Get Crypto Grouped Daily
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_LAST_TRADE
Tool Name: Get Crypto Last Trade
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_CRYPTO_TICKER_BOOK
Tool Name: Get Crypto Ticker Book
Description
Action Parameters
Action Response
POLYGON_GET_CRYPTO_TRADES
Tool Name: Get Crypto Trades
Description
Action Parameters
Action Response
POLYGON_GET_DIVIDENDS
Tool Name: Get Dividends
Description
Action Parameters
Action Response
POLYGON_GET_FOREX_AGGREGATES
Tool Name: Get Forex Aggregates
Description
Action Parameters
Action Response
POLYGON_GET_FOREX_GROUPED_DAILY
Tool Name: Get Forex Grouped Daily Bars
Description
Action Parameters
Action Response
POLYGON_GET_FOREX_HISTORICAL_QUOTES
Tool Name: Get Forex Historical Quotes
Description
Action Parameters
Action Response
POLYGON_GET_FOREX_LOCALES
Tool Name: Get Forex Locales
Description
Action Parameters
Action Response
POLYGON_GET_FOREX_MARKET_HOLIDAYS
Tool Name: Get Forex Market Holidays
Description
Action Parameters
Action Response
POLYGON_GET_FOREX_MARKETS
Tool Name: Get Forex Markets
Description
Action Parameters
Action Response
POLYGON_GET_FOREX_MARKET_STATUS
Tool Name: Get Forex Market Status
Description
Action Parameters
Action Response
POLYGON_GET_FOREX_PREV_CLOSE
Tool Name: Get Forex Previous Close
Description
Action Parameters
Action Response
POLYGON_GET_FOREX_SNAPSHOT_LOSERS
Tool Name: Get Forex Snapshot Losers
Description
Action Parameters
Action Response
POLYGON_GET_FOREX_TICKER_DETAILS
Tool Name: Get Forex Ticker Details
Description
Action Parameters
Action Response
POLYGON_GET_FUTURES_AGGREGATES
Tool Name: Get Futures Aggregates
Description
Action Parameters
Action Response
POLYGON_GET_FUTURES_PRODUCTS
Tool Name: Get Futures Products
Description
Action Parameters
Action Response
POLYGON_GET_FUTURES_PRODUCT_SCHEDULES
Tool Name: Get Futures Product Schedules
Description
Action Parameters
Action Response
POLYGON_GET_FUTURES_QUOTES
Tool Name: Get Futures Quotes
Description
Action Parameters
Action Response
POLYGON_GET_FUTURES_SCHEDULES
Tool Name: Get Futures Schedules
Description
Action Parameters
Action Response
POLYGON_GET_FUTURES_TRADES
Tool Name: Get Futures Trades
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_OPEN_CLOSE
Tool Name: Get Stock Open/Close
Description
Action Parameters
Action Response
POLYGON_GET_OPTION_AGGREGATES
Tool Name: Get Option Aggregates
Description
Action Parameters
Action Response
POLYGON_GET_OPTION_CHAIN_SNAPSHOT
Tool Name: Get Option Chain Snapshot
Description
Action Parameters
Action Response
POLYGON_GET_OPTION_CONTRACT_DETAILS
Tool Name: Get Option Contract Details
Description
Action Parameters
Action Response
POLYGON_GET_OPTION_CONTRACTS
Tool Name: Get Option Contracts
Description
Action Parameters
Action Response
POLYGON_GET_OPTION_SNAPSHOT
Tool Name: Get Option Snapshot
Description
Action Parameters
Action Response
POLYGON_GET_PREVIOUS_CLOSE
Tool Name: Get Previous Close
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_SNAPSHOT_ALL_TICKERS
Tool Name: Get All Stock Tickers Snapshot
Description
Action Parameters
Action Response
POLYGON_GET_SNAPSHOT_LOSERS
Tool Name: Get Stock Snapshot Losers
Description
Action Parameters
Action Response
POLYGON_GET_SNAPSHOT_SINGLE_TICKER
Tool Name: Get Stock Snapshot Ticker
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_EVENTS
Tool Name: Get Ticker Events
Description
Action Parameters
Action Response
POLYGON_GET_TICKER_TYPES
Tool Name: Get Ticker Types
Description
Action Parameters
Action Response