Polygon
US stocks, forex, and technical indicators from Polygon.io
Polygon.io provides US equities, forex, and options market data — including real-time quotes, historical OHLCV bars, technical indicators, ticker reference data, and financial news.
In Agent Forge, the Polygon integration lets workflows pull live and historical market data for stocks and forex into agents. Use it for trading research agents, market monitoring, price-alert pipelines, ticker analysis, news-driven workflows, and indicator-based signal generation.
This is a bring-your-own-key (BYOK) integration. Each user supplies their own Polygon API key. Commercial use requires a Polygon Business plan — the Individuals tiers (Basic, Starter, Developer, Advanced) are non-commercial only.
Usage Instructions
Choose the Polygon operation you need and provide a ticker (or forex pair, depending on the operation) along with your API key. Aggregates and indicator operations also require a timespan, window size, or date range. Free Polygon keys can be used for development and testing; commercial deployments require a Business plan.
Tools
Snapshots and Quotes
polygon_snapshot_ticker- Latest snapshot quote and trade for a single US stock tickerpolygon_snapshot_all- Snapshot for all US stock tickers, optionally filteredpolygon_last_trade- Most recent trade for a tickerpolygon_last_quote- Most recent NBBO quote for a tickerpolygon_previous_close- Previous trading day OHLCV bar
Candles
polygon_aggregates- Custom-resolution OHLCV bars (minute / hour / day / week / month / quarter / year)polygon_daily_open_close- Open, high, low, close for a ticker on a specific datepolygon_grouped_daily- Daily OHLCV bars for the entire US stock market on a given date
Forex
polygon_fx_aggregates- OHLCV bars for a forex pairpolygon_fx_last_quote- Real-time last quote for a forex pairpolygon_fx_conversion- Convert an amount between two currenciespolygon_fx_snapshot_all- Snapshot for all forex pairs
Indicators
polygon_indicator_sma- Simple Moving Averagepolygon_indicator_ema- Exponential Moving Averagepolygon_indicator_rsi- Relative Strength Indexpolygon_indicator_macd- Moving Average Convergence/Divergence
Reference
polygon_ticker_search- Search for tickers by name or symbolpolygon_ticker_details- Reference details (name, sector, market cap) for a tickerpolygon_market_status- Current open/closed status across marketspolygon_market_holidays- Upcoming market holidays and special hourspolygon_exchanges- List of supported exchanges
News
polygon_ticker_news- News articles for one or more tickers
Common Inputs
| Parameter | Type | Required | Description |
|---|---|---|---|
apiKey | string | Yes | Your Polygon.io API key |
ticker | string | Operation-specific | Stock ticker symbol such as AAPL |
multiplier | number | Operation-specific | Aggregate window multiplier |
timespan | string | Operation-specific | Aggregate window unit (minute, hour, day, week, month, quarter, year) |
from | string | Operation-specific | Start date or timestamp |
to | string | Operation-specific | End date or timestamp |
date | string | Operation-specific | Date in YYYY-MM-DD format |
fromCurrency | string | Operation-specific | Forex from-currency code such as EUR |
toCurrency | string | Operation-specific | Forex to-currency code such as USD |
window | number | Operation-specific | Indicator lookback window |
seriesType | string | No | Price series used for indicator (close, open, high, low) |
limit | number | No | Result limit |
search | string | Operation-specific | Search query for polygon_ticker_search |
Output
| Parameter | Type | Description |
|---|---|---|
data | json | Polygon response data |
Notes
- Category:
tools - Type:
polygon - BYOK only. The platform does not hold a Polygon API key.
- Commercial use of Polygon data requires a Polygon Business plan. Individuals tiers (Basic, Starter, Developer, Advanced) are non-commercial only.
- Do not share keys across users. Workflows that forward Polygon data to people who are not Authorized Users on your Polygon account may violate Polygon's Market Data Terms.