Gen6

Polygon

US stocks, forex, and technical indicators from Polygon.io

po

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 ticker
  • polygon_snapshot_all - Snapshot for all US stock tickers, optionally filtered
  • polygon_last_trade - Most recent trade for a ticker
  • polygon_last_quote - Most recent NBBO quote for a ticker
  • polygon_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 date
  • polygon_grouped_daily - Daily OHLCV bars for the entire US stock market on a given date

Forex

  • polygon_fx_aggregates - OHLCV bars for a forex pair
  • polygon_fx_last_quote - Real-time last quote for a forex pair
  • polygon_fx_conversion - Convert an amount between two currencies
  • polygon_fx_snapshot_all - Snapshot for all forex pairs

Indicators

  • polygon_indicator_sma - Simple Moving Average
  • polygon_indicator_ema - Exponential Moving Average
  • polygon_indicator_rsi - Relative Strength Index
  • polygon_indicator_macd - Moving Average Convergence/Divergence

Reference

  • polygon_ticker_search - Search for tickers by name or symbol
  • polygon_ticker_details - Reference details (name, sector, market cap) for a ticker
  • polygon_market_status - Current open/closed status across markets
  • polygon_market_holidays - Upcoming market holidays and special hours
  • polygon_exchanges - List of supported exchanges

News

  • polygon_ticker_news - News articles for one or more tickers

Common Inputs

ParameterTypeRequiredDescription
apiKeystringYesYour Polygon.io API key
tickerstringOperation-specificStock ticker symbol such as AAPL
multipliernumberOperation-specificAggregate window multiplier
timespanstringOperation-specificAggregate window unit (minute, hour, day, week, month, quarter, year)
fromstringOperation-specificStart date or timestamp
tostringOperation-specificEnd date or timestamp
datestringOperation-specificDate in YYYY-MM-DD format
fromCurrencystringOperation-specificForex from-currency code such as EUR
toCurrencystringOperation-specificForex to-currency code such as USD
windownumberOperation-specificIndicator lookback window
seriesTypestringNoPrice series used for indicator (close, open, high, low)
limitnumberNoResult limit
searchstringOperation-specificSearch query for polygon_ticker_search

Output

ParameterTypeDescription
datajsonPolygon 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.