What can you do with it?
Access comprehensive financial market data through Polygon.io API, including real-time and historical stock prices, options contracts, market snapshots, and detailed company information for investment analysis and trading applications.How to use it?
Basic Command Structure
Parameters
Required:action
- The operation to perform (get-aggregates, get-options, get-snapshot, get-daily-price, get-ticker-details)
ticker
- Stock ticker symbol (e.g., AAPL, MSFT)from-date
- Start date in YYYY-MM-DD formatto-date
- End date in YYYY-MM-DD formattimespan
- Time interval (minute, hour, day, week, month, quarter, year)multiplier
- Time multiplier (default: 1)
Tools
Get Aggregates Data
Retrieve OHLCV (Open, High, Low, Close, Volume) data for stocks, options, indices, or forex Parameters:ticker
(required) - The stock ticker symbolmultiplier
(optional) - Time multiplier (default: 1)timespan
(optional) - Time interval (default: day)from-date
(required) - Start date in YYYY-MM-DD formatto-date
(required) - End date in YYYY-MM-DD format
Get Options Contracts
Retrieve detailed options contract data for a specific underlying ticker Parameters:ticker
(required) - The underlying stock ticker symbolexpiration-date
(required) - Options expiration date in YYYY-MM-DD format
Get Stock Snapshot
Get the most recent minute data, day’s aggregate, and last trade for a single ticker Parameters:ticker
(required) - The stock ticker symbol
Get Daily Open/Close Price
Retrieve the open, close, high, and low prices of a stock symbol on a certain date Parameters:ticker
(required) - The stock ticker symboldate
(required) - The date in YYYY-MM-DD format
Get Ticker Details
Get detailed information about a stock ticker including company information Parameters:ticker
(required) - The stock ticker symbol