For Agents
Access real-time and historical market data for stocks, forex, and cryptocurrencies including prices, trades, and corporate actions.
Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the Polygon, or any other public or private API you need. You set the rules, the agent never sees your credentials, and every call is logged.
# On the machine that will host your Jentic One instance:
curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | sh# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | sh
jentic register # connects your agent to your Jentic One instanceJentic One is in public beta. The setup above keeps your agent separate from the instance, which is what you want before using real credentials: an agent running as the same OS user as Jentic One can read its stored keys directly. Just evaluating? A single local install is fine to start. See the secure deployment guide for the tiers.
What an agent can do with Polygon API.
Retrieve historical aggregated price bars at minute, hour, day, or custom intervals
Access real-time last trade and quote snapshots for any ticker symbol
Query historical trade and quote time series for backtesting strategies
List available ticker symbols across stocks, forex, and crypto asset classes
GET STARTED
Use for: Get Apple stock price for the last 30 days, Retrieve historical forex rates for EUR/USD, Get real-time cryptocurrency prices for Bitcoin, Find all available stock ticker symbols
Not supported: Provides market data for pricing and analytics. Does not execute trades or manage brokerage accounts—use broker APIs like Alpaca or Interactive Brokers. Does not provide fundamental data like earnings or balance sheets—use financial data providers.
Polygon.io provides real-time and historical financial market data covering stocks, options, forex, and cryptocurrencies. The API delivers aggregated price bars, tick-level quotes, trade data, and corporate actions information used by quantitative traders, fintech applications, and investment research platforms. Traders use it to build backtesting systems, implement algorithmic trading strategies, and power real-time market dashboards. The API offers granular data including minute-by-minute price aggregates, last trade snapshots, and historical quote time series. It provides both REST endpoints for historical data retrieval and WebSocket streams for live market feeds. Polygon.io emphasizes data quality with normalized symbology across asset classes and extensive historical coverage for longitudinal analysis. Financial applications integrate it for portfolio valuation, risk analytics, and market surveillance workflows.
Retrieve company fundamental data and corporate actions information
Access forex currency pair prices and historical exchange rates
Query cryptocurrency market data across multiple exchanges
Patterns agents use Polygon API for, with concrete tasks.
★ Algorithmic Trading Strategy Development
Quantitative traders use Polygon.io to backtest trading strategies against years of historical market data. The API's aggregated bars endpoints provide OHLCV (Open, High, Low, Close, Volume) data at various timeframes from 1-minute to daily bars. Traders download historical data, calculate technical indicators like moving averages and RSI, simulate order execution, and measure strategy performance metrics. After validation, they deploy live strategies using real-time quote streams to generate entry/exit signals. The API's consistent data quality and symbology enable robust backtesting that accurately reflects live trading conditions.
Query Polygon.io for daily OHLCV data for S&P 500 stocks over past 5 years, load into backtesting framework, calculate technical indicators, simulate trading signals, measure returns and drawdowns, export performance metrics.
Real-Time Portfolio Valuation and Risk Monitoring
Investment platforms and robo-advisors use Polygon.io for real-time portfolio valuation and risk analytics. The last trade endpoints provide current market prices for all portfolio holdings, enabling mark-to-market calculations every minute. Risk systems subscribe to WebSocket price feeds to monitor portfolio volatility, calculate Value-at-Risk (VaR), and trigger alerts when positions exceed concentration limits. Portfolio performance dashboards display live P&L, sector exposures, and attribution analysis powered by Polygon's continuously updated price data.
Subscribe to Polygon WebSocket for real-time price updates on portfolio tickers, calculate portfolio market value as prices change, compute intraday P&L, monitor position concentration, trigger alert if single position exceeds 10% of portfolio value.
Fintech Application Market Data Integration
Consumer fintech apps like Robinhood, Acorns, and personal finance tools integrate Polygon.io to display stock prices, historical charts, and market statistics. The API powers stock quote pages showing last trade price, day's range, and volume, plus interactive charts with minute-level granularity. Apps query the companies endpoint to enrich ticker symbols with company names and descriptions. Polygon's normalized data format simplifies integration across stocks, forex, and crypto, enabling apps to offer multi-asset portfolios with consistent data schemas.
Query Polygon for last trade price and day statistics for user's watchlist tickers, render price cards in mobile UI, fetch 1-day minute bars for sparkline charts, enable tap-through to full chart with historical data.
Investment Research and Quantitative Analysis
Hedge funds and research analysts use Polygon.io to conduct large-scale quantitative studies identifying alpha factors and market inefficiencies. Researchers download years of tick data for liquidity analysis, study bid-ask spreads across market conditions, and analyze order flow patterns. The API's historical forex data enables currency risk studies and carry trade optimization. Analysts combine Polygon pricing data with alternative datasets (sentiment, fundamentals) to build predictive models for equity returns, testing hypotheses across thousands of securities.
Download historical quote data for Russell 3000 stocks, calculate bid-ask spreads at different volume levels, analyze liquidity patterns pre/post earnings, identify stocks with predictable spread compression, build trading signals exploiting liquidity cycles.
10 endpoints — polygon.
METHOD
PATH
DESCRIPTION
/v1/historic/agg/{size}/{symbol}/{date}
Get aggregated price bars for a symbol on a specific date
/v1/historic/quotes/{symbol}/{date}
Get historical quote data for a symbol
/v1/historic/forex/{from}/{to}/{date}
Get historical forex rates for a currency pair
/v1/companies
List available companies and tickers
/v1/currencies
List available currency pairs
/v1/historic/agg/{size}/{symbol}/{date}
Get aggregated price bars for a symbol on a specific date
/v1/historic/quotes/{symbol}/{date}
Get historical quote data for a symbol
/v1/historic/forex/{from}/{to}/{date}
Get historical forex rates for a currency pair
/v1/companies
List available companies and tickers
/v1/currencies
List available currency pairs
Three things that make agents converge on Jentic-routed access.
Credential isolation
Polygon.io API keys are encrypted in Jentic's vault. Agents execute market data queries without accessing raw keys, and all API calls are logged for audit and rate limit monitoring.
Intent-based discovery
Agents search by intent like 'get historical stock prices' and Jentic returns Polygon's aggregates operation with parameter schemas for symbol, date range, and timeframe, avoiding documentation of data formats.
Time to first call
Direct Polygon integration: 2-3 days to understand data schemas, handle pagination, and implement rate limiting. Through Jentic: 1 hour—search for operations, query market data with natural language parameters, handle responses.
Alternatives and complements available in the Jentic catalogue.
Quandl API
Quandl (now part of Nasdaq) provides alternative data and economic time series.
Combine Polygon pricing data with Quandl's alternative datasets (commodities, economics, sentiment) to build multi-factor quantitative models.
Specific to using Polygon API through Jentic.
What authentication does the Polygon.io API use?
The Polygon.io API uses API key authentication passed as a query parameter (apiKey) in REST requests or in the connection URL for WebSocket streams. You obtain an API key by creating an account on polygon.io.
What asset classes does Polygon.io cover?
Polygon.io provides market data for US stocks (including OTC), stock options, forex currency pairs, and cryptocurrencies. Coverage includes real-time and historical data with extensive lookback periods for backtesting and research.
How granular is the historical data available?
Polygon offers historical data at multiple granularities: tick-level trades and quotes (millisecond precision), 1-minute aggregated bars, hourly bars, and daily bars. Backtesting systems typically use 1-minute or daily bars depending on strategy timeframe.
Does Polygon.io offer real-time data streams?
Yes, Polygon provides WebSocket streams for real-time trades, quotes, and aggregated bars. Paid plans include real-time data, while free tiers have 15-minute delayed data. Check polygon.io pricing for real-time access.
How do AI agents use the Polygon.io API through Jentic?
Agents search Jentic for tasks like 'get historical stock prices for Apple' and receive Polygon operation schemas. Jentic vaults API keys, handles authentication, and allows agents to query market data, retrieve price histories, and analyze financial datasets with natural language parameters.