Connect Polygon to Definable AI

Polygon.io provides real-time and historical market data APIs for stocks, options, forex, and cryptocurrencies.

About Polygon

Polygon is a productivity tool. Connect it to Definable AI with one-click OAuth2 — no API keys or custom code required.

What you can automate with Polygon

Use Definable AI's agent platform to trigger workflows from Polygon, process results with 50+ AI models, and sync data across 900+ connected apps.

Tools & Actions (108 available)

  • Get 10-K Filing Sections: Tool to retrieve 10-K filing sections from the SEC. Use when you need to access specific sections of 10-K filings such as business descriptions, risk factors, or financial statements.
  • Get Aggregates: Tool to fetch custom aggregate OHLCV bars for a stock. Use when you need historical price and volume data aggregated by custom intervals over a date range.
  • Get All Stock Tickers Snapshot: Tool to retrieve the current market snapshot for all stock tickers. Use when you need real-time OHLCV, trades, and quotes across the entire US stock market in one call.
  • Get All Tickers: Tool to retrieve all ticker symbols across asset classes. Use when you need to filter by market or exchange and paginate through results.
  • Get Condition Codes: 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.
  • Get Crypto Aggregates: Tool to retrieve aggregate bars for a cryptocurrency over a time range. Use when you need to fetch historical bars aggregated by specific time intervals.
  • Get Crypto All Tickers Snapshot: Tool to retrieve snapshots for all cryptocurrency tickers. Use when you need a full-market crypto snapshot of the latest values.
  • Get Crypto EMA: Tool to calculate Exponential Moving Average (EMA) technical indicator for a crypto ticker. Use when you need trend analysis or moving average calculations for cryptocurrency pairs.
  • Get Crypto Exchanges: Tool to retrieve a list of cryptocurrency exchanges supported by Polygon. Use after setting locale if needed.
  • Get Crypto Exponential Moving Average (EMA): Tool to retrieve Exponential Moving Average (EMA) for a cryptocurrency ticker. Use when you need crypto EMA data for analysis after selecting the time window.
  • Get Crypto Grouped Daily: Tool to retrieve daily grouped bars for all cryptocurrencies on a specified date. Use when you need a comprehensive end-of-day summary across all crypto tickers.
  • Get Crypto Last Trade: Tool to retrieve the last trade for a specified cryptocurrency pair. Use when you need the most recent trade details after specifying both symbols.
  • Get Crypto MACD: Tool to calculate Moving Average Convergence/Divergence (MACD) technical indicator for a crypto ticker. Use when you need momentum analysis, trend identification, or trading signal generation for cryptocurrency pairs.
  • Get Crypto MACD Indicator: Tool to retrieve the MACD (Moving Average Convergence/Divergence) for a crypto ticker. Use when you need momentum analysis for a specific cryptocurrency after confirming ticker and parameters.
  • Get Crypto Open/Close: Tool to fetch daily open and close prices for a given crypto pair on a specified date. Use after specifying both currency symbols and the date.
  • Get Crypto Previous Close: Tool to retrieve previous day’s close for a crypto ticker. Use when you need the last closing price of a cryptocurrency before analysis or trading.
  • Get Crypto RSI: Tool to calculate the Relative Strength Index (RSI) for a cryptocurrency ticker. Use when you need to analyze momentum or identify overbought/oversold conditions for crypto assets.
  • Get Crypto RSI Indicator: Tool to retrieve the Relative Strength Index (RSI) for a crypto ticker. Use when you need momentum analysis for crypto assets after specifying ticker, timeframe, and optional parameters.
  • Get Crypto SMA: Tool to calculate Simple Moving Average (SMA) technical indicator for a cryptocurrency ticker. Use when you need trend analysis, support/resistance levels, or trading signal generation for crypto pairs.
  • Get Crypto Simple Moving Average (SMA): Tool to retrieve the Simple Moving Average (SMA) for a given crypto ticker. Use when you need SMA values for a crypto asset after confirming ticker, timespan, and window size.
  • Get Crypto Ticker Book: Tool to retrieve the full L2 order book for a crypto ticker. Use when you need a snapshot of combined bids and asks for market depth analysis.
  • Get Crypto Trades: Tool to fetch historical trade data for a cryptocurrency ticker. Use when you need tick-level trades within a time range.
  • Get Daily Ticker Summary: Tool to retrieve daily aggregate summary for a specific stock ticker. Uses previous day aggregates from v2 API.
  • Get Dividends: Tool to retrieve dividend data for stocks. Use when you need corporate dividend information for specific tickers.
  • Get Economy Inflation Indicators: Tool to retrieve key indicators of realized inflation including CPI and PCE price indexes. Use when analyzing inflation trends, economic conditions, or historical price changes in the U.S. economy.
  • Get Exponential Moving Average: 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.
  • Get Exponential Moving Average (EMA): Tool to fetch Exponential Moving Average (EMA) for a given stock ticker. Use when you need historical EMA data after confirming ticker, timespan, and window size.
  • Get Forex Aggregates: Tool to retrieve aggregate bars for a forex pair over a date range. Use when you need custom OHLC bars for forex currency pairs within specified time span.
  • Get Forex EMA: Tool to calculate Exponential Moving Average (EMA) technical indicator for a forex pair. Use when you need trend analysis or moving average calculations for currency pairs.
  • Get Forex Grouped Daily Bars: Tool to retrieve daily grouped OHLC bars for all forex currency pairs on a specified date. Use when you need aggregated forex data after confirming the date parameter.
  • Get Forex Historical Quotes: Tool to retrieve historical forex quotes for a currency pair over a time range. Use when you need bid/ask quotes for an FX ticker between timestamps or dates. Use after confirming the forex ticker symbol.
  • Get Forex Locales: Tool to list locales supported by Polygon's forex asset class. Use when you need available locale codes for regional filtering in FX endpoints.
  • Get Forex MACD: Tool to calculate Moving Average Convergence/Divergence (MACD) technical indicator for a forex pair. Use when you need momentum analysis, trend identification, or trading signal generation for currency pairs.
  • Get Forex Market Holidays: Tool to retrieve upcoming forex market holidays. Use when you need a forecast of future FX market closures and hours before scheduling trades.
  • Get Forex Market Status: Tool to retrieve current forex market status. Use when you need to know if the forex market is open or closed.
  • Get Forex Markets: Tool to retrieve a list of exchanges available for the forex (FX) asset class. Uses the Polygon v3 reference exchanges endpoint.
  • Get Forex Previous Close: Tool to retrieve previous day's close for a forex ticker. Use when you need the last closing price of a forex currency pair before analysis or trading.
  • Get Forex RSI: Tool to calculate the Relative Strength Index (RSI) technical indicator for a forex pair. Use when you need momentum analysis or want to identify overbought/oversold conditions for currency pairs.
  • Get Forex Real-Time Currency Conversion: Tool to convert amounts between currency pairs using real-time forex rates. Use when you need to perform currency conversions with the latest market rates.
  • Get Forex SMA: Tool to calculate Simple Moving Average (SMA) technical indicator for a forex pair. Use when you need trend analysis or moving average calculations for currency pairs.
  • Get Forex Snapshot Losers: Tool to retrieve the current snapshot of the top losers in the forex market. Use when you need up-to-date information on the worst-performing forex pairs.
  • Get Forex Ticker Details: Tool to retrieve detailed information for a forex ticker. Use when you need an overview of a currency pair including market and asset data.
  • Get Futures Aggregates: Tool to retrieve historical OHLCV aggregates for a futures contract. Use when you need aggregated price and volume data for a futures contract over specified time windows.
  • Get Futures Product Schedules: Tool to retrieve trading schedules for a futures product. Use when you need daily trading session schedules for a given product code.
  • Get Futures Products: Tool to retrieve a comprehensive list of futures products with advanced filtering. Use when you need to filter futures listings by date, sector, exchange, or type.
  • Get Futures Quotes: Tool to retrieve real-time quote data for a specified futures contract ticker. Use after confirming the exact futures ticker identifier (e.g., 'GCJ5').
  • Get Futures Schedules: Tool to retrieve futures trading schedules. Use when you need trading schedules for all futures contracts on a specific date.
  • Get Futures Trades: Tool to retrieve tick-level trade data for a specified futures contract. Use when you need detailed trade data over a time range.
  • Get Historic Forex Ticks: Tool to get historic ticks for a currency pair on a specific date. Use when you need historical forex tick-level data (ask/bid prices with timestamps) for a given day.
  • Get IPO Data: Tool to retrieve comprehensive information on Initial Public Offerings (IPOs), including upcoming and historical events. Use when analyzing IPO listing data by date range, ticker, or identifier.
  • Get Inflation Expectations: Tool to retrieve inflation expectations data from the Federal Reserve based on Treasury yields and Cleveland Fed models. Use when analyzing expected future inflation rates across multiple time horizons (1-year, 5-year, 10-year, 30-year).
  • Get MACD: 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.
  • Get Market Status: Tool to retrieve current market status. Use when you need to know if U.S. exchanges are open, closed, or on holiday.
  • Get Meta Conditions By Ticktype: Tool to retrieve condition code mappings for a specific tick type (trades or quotes). Use when you need to decode numeric condition codes into human-readable labels for market data interpretation.
  • Get News: Tool to retrieve recent news articles related to a ticker. Use when you need to fetch financial news after identifying a ticker symbol.
  • Get Option Aggregates: Tool to fetch custom OHLCV bars for an options contract over a time range. Use when you need to analyze option price movements at regular intervals.
  • Get Option Chain Snapshot: Tool to fetch a real-time snapshot of all option contracts for an underlying asset. Use after selecting the underlying ticker to retrieve live option chain data.
  • Get Option Contract Details: Tool to retrieve detailed information about a specific options contract. Use when you need a comprehensive overview of contract specifications by ticker, optionally as of a specific date.
  • Get Option Contracts: Tool to list option contracts with filters. Use when you need to discover or page through option contracts by ticker, expiration, strike, or point-in-time.
  • Get Option Snapshot: Tool to retrieve a real-time snapshot for a single option contract. Use when you need up-to-the-minute quotes, trades, greeks, and metrics for a specified option contract.
  • Get Options Contract Overview: Tool to retrieve comprehensive details about a specific options contract including contract type, exercise style, expiration date, strike price, and underlying ticker. Use when you need specifications for options contract analysis or strategy development.
  • Get Options Custom Bars: Tool to retrieve historical OHLC and volume data for options contracts over custom date ranges with configurable time windows. Use when you need aggregate bars for options price analysis or strategy development.
  • Get Options EMA: Tool to calculate Exponential Moving Average (EMA) technical indicator for an options ticker. Use when you need trend analysis or moving average calculations for options contracts.
  • Get Options MACD: Tool to calculate Moving Average Convergence/Divergence (MACD) technical indicator for an options ticker. Use when you need momentum analysis, trend identification, or trading signal generation for options contracts.
  • Get Options RSI: Tool to calculate Relative Strength Index (RSI) technical indicator for an options ticker. Use when you need momentum analysis or want to identify overbought/oversold conditions for options contracts.
  • Get Options SMA: Tool to calculate Simple Moving Average (SMA) technical indicator for an options ticker. Use when you need trend analysis or smoothed price data for options contracts.
  • Get Previous Close: Tool to get previous trading day’s OHLC and volume for a stock. Use when you need the last day’s open, high, low, close, and volume for a given ticker.
  • Get RSI: 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.
  • Get Reference Ticker Types: Tool to retrieve all ticker types supported by Polygon. Use when you need to understand the different ticker classifications available across asset classes and markets.
  • Get Related Companies: Tool to get a list of related companies for a ticker symbol based on various similarity metrics. Use when you need to find companies related to a specific ticker.
  • Get Risk Categories: Tool to retrieve risk factor taxonomy categories from SEC 10-K filings. Use when you need to explore or filter risk classifications by taxonomy version or category level.
  • Get SEC Filing: Tool to retrieve SEC filing details by filing ID. Use when you need detailed information about a specific SEC filing.
  • Get SEC Filing File: Tool to retrieve information about a specific SEC filing file. Use when you need to get metadata and download URL for a particular file within an SEC filing.
  • Get Short Interest: Tool to retrieve bi-monthly aggregated short interest data for stocks reported to FINRA. Use when analyzing sentiment, identifying potential short squeezes, or researching short positions.
  • Get Short Volume: Tool to retrieve short volume data for stocks. Use when analyzing short selling activity, market sentiment, or detecting abnormal short-selling patterns.
  • Get Simple Moving Average: Tool to retrieve the Simple Moving Average (SMA) for any ticker (stocks, forex, crypto). Use when you need SMA values over a specified timespan with optional underlying data.
  • Get Simple Moving Average (SMA): Tool to fetch Simple Moving Average (SMA) for a given stock ticker. Use when you need historical SMA data after confirming ticker, timespan, and window size.
  • Get Stock Financials: Tool to retrieve historical financial data for a stock ticker from SEC filings. Use when analyzing company financials, comparing quarters, or examining financial trends.
  • Get Stock Float: Tool to retrieve stock float data showing the number and percentage of publicly tradable shares. Use when you need information about the free float of stocks.
  • Get Stock Open/Close: Tool to fetch daily open and close prices for a stock on a specific date. Use when you need daily OHLC with pre/post-market prices.
  • Get Stock Snapshot Losers: Tool to retrieve the current snapshot of the top losers in the U.S. stock market. Use when you need up-to-date information on the worst-performing stocks.
  • Get Stock Snapshot Ticker: Tool to retrieve the current snapshot of a specific stock ticker. Use when you need the most recent market snapshot after specifying the ticker symbol.
  • Get Stock Splits: Tool to retrieve stock split events. Use when you need corporate stock split data filtered by ticker or date range. Example: "Get splits for AAPL between 2021-01-01 and 2021-12-31".
  • Get Stock Splits by Ticker: Tool to retrieve historical stock splits for a specific ticker symbol. Use when you need split history including ex-dates, payment dates, and split ratios for a particular stock.
  • Get Stocks Balance Sheets: Tool to retrieve point-in-time balance sheet data including assets, liabilities, and equity from company SEC filings. Use when analyzing financial position with quarterly and annual history.
  • Get Stocks Cash Flow Statements: Tool to retrieve historical cash flow statement data from company SEC filings across quarterly, annual, and TTM frequencies. Use when analyzing cash generation, operating activities, investing activities, or financing activities.
  • Get Stocks Custom Bars: Tool to retrieve aggregated historical OHLC and volume data for a stock over custom date ranges with configurable time windows. Use when you need aggregate bars for stock price analysis, backtesting, or charting.
  • Get Stocks Daily Market Summary: Tool to retrieve daily OHLC, volume, and VWAP data for all U.S. stocks on a specified trading date. Use when you need to get grouped daily aggregate bars for all US stocks for a specific date.
  • Get Stocks Full Market Snapshot: Tool to retrieve a comprehensive snapshot of the entire U.S. stock market covering 10,000+ actively traded tickers. Use when you need current market-wide data including pricing, volume, and trade activity. Data is cleared daily at 3:30 AM EST and repopulates as exchanges report new data starting around 4:00 AM EST.
  • Get Stocks Income Statements: Tool to retrieve comprehensive income statement data including revenue, expenses, and net income from company SEC filings. Use when analyzing profitability, revenue trends, or operational performance.
  • Get Stocks Previous Day Bar: Tool to retrieve the previous trading day's open, high, low, close (OHLC), and volume data for a stock ticker. Use when you need the most recent completed trading day's aggregate data.
  • Get Ticker Company Details: Tool to retrieve detailed company information for a stock ticker. Use when you need company fundamentals like CEO, industry, sector, market cap, and headquarters information.
  • Get Ticker Details: Tool to retrieve detailed information for a ticker. Use when you need an overview of a ticker including company info, market data, and identifiers.
  • Get Ticker Details (vX): Tool to retrieve comprehensive details for a specific ticker symbol using Polygon's vX API. Use when you need detailed information about a company including identifiers, market data, and corporate details.
  • Get Ticker Events: Tool to retrieve corporate events for a specific ticker. Use when you need the timeline of corporate actions for a given ticker.
  • Get Ticker Overview: Tool to retrieve comprehensive details for a single ticker, including identifiers, industry, and branding assets. Use after confirming the exact ticker symbol.
  • Get Ticker Types: Tool to retrieve all ticker types supported by Polygon.io. Use after authenticating to explore ticker categories.
  • Get Treasury Yields: Tool to retrieve historical U.S. Treasury yield data for standard timeframes from 1-month to 30-year maturities. Use when analyzing interest rates, yield curves, or economic indicators. Data available daily back to 1962.
  • Get Upcoming Market Holidays: Tool to retrieve upcoming market holidays and half-day closures. Use when you need to look up upcoming exchange holidays and early closures.
  • Get V1 Meta Crypto Exchanges: Tool to retrieve a list of cryptocurrency exchanges using the legacy v1 API. Use when you need the complete list of crypto exchanges supported.
  • Get reference conditions: Tool to retrieve market condition code mappings. Use when you need definitions of trade or quote condition codes after confirming asset class and data type.
  • Get reference exchanges: Tool to retrieve supported exchanges and their details. Use when you need a list of exchanges filtered by asset class or locale.
  • Get reference markets: Tool to retrieve all supported markets from Polygon.io. Use when you need a list of available market types.
  • Last Quote for a Symbol: Tool to retrieve the last quote tick for a given stock symbol. Use when you need the most recent bid/ask prices, sizes, and exchange information for a stock.
  • Last Trade for a Currency Pair: Tool to retrieve the last trade tick for a currency pair in the forex market. Use when you need the most recent trade price, exchange, and timestamp for a specific currency pair.
  • List Options Contracts: Tool to list and filter options contracts by underlying ticker, type, expiration, strike, and more. Use when you need to enumerate an options chain or find specific contracts matching criteria.
  • List SEC Filing Files: Tool to retrieve files associated with an SEC filing. Use when you need to list all files (documents, exhibits, etc.) attached to a specific SEC filing by its filing ID.
  • List SEC Filings: Tool to retrieve SEC filings from Polygon. Use when you need to query 10-K or 10-Q filings by company, date range, or other criteria.

How to connect Polygon

  1. Sign in to Definable AI and go to Apps
  2. Search for Polygon and click Connect
  3. Authorize via OAuth2 — takes under 30 seconds
  4. Use Polygon actions in your AI agents and workflows