Free stock prices.
No account or API key required.
JSON API
- Method
- GET
- Endpoint
- /api/quotes/:symbol
- Limit
The JSON API permits 60 requests for each network address each minute.
- Source
- Yahoo Finance supplies the price data.
Request
GET /api/quotes/AAPL
Response
{
"symbol": "AAPL",
"price": 231.59,
"currency": "USD",
"exchange": "NMS",
"exchange_name": "NasdaqGS",
"market_time": "2026-08-29T12:00:00Z",
"fetched_at": "2026-08-29T12:00:30Z",
"source": "Yahoo Finance"
}
Prices on a past date
Get a symbol's open, high, low, and close on any past date from /api/quotes/:symbol/prices/:date, with the date in YYYY-MM-DD form.
If the market was closed that day, such as on a weekend or holiday, the response has the last trading day before it: date is the trading day and requested_date is the date you asked for. The date must be before today in the exchange's time zone. Prices are adjusted for later splits, and adjusted_close for dividends too. These requests share the 60-per-minute limit.
Request
GET /api/quotes/AAPL/prices/2025-03-14
Response
{
"symbol": "AAPL",
"date": "2025-03-14",
"requested_date": "2025-03-14",
"open": 211.25,
"high": 213.95,
"low": 209.58,
"close": 213.49,
"adjusted_close": 212.69,
"currency": "USD",
"exchange": "NMS",
"exchange_name": "NasdaqGS",
"fetched_at": "2026-11-23T21:00:00Z",
"source": "Yahoo Finance"
}
MCP for AI agents
Connect your AI agent to stock prices with the Model Context Protocol (MCP). No authentication, no API key, and no rate limit.
- Server URL
- https://freefinanceapi.com/mcp
- Transport
- Streamable HTTP
Claude Code
Run this command in your terminal:
claude mcp add --transport http freefinanceapi https://freefinanceapi.com/mcp
Cursor
Add this server to .cursor/mcp.json in your project:
{
"mcpServers": {
"freefinanceapi": {
"url": "https://freefinanceapi.com/mcp"
}
}
}
Get a stock price
Ask your agent: “Use FreeFinanceAPI to get the stock price for AAPL.” The get_stock_price tool takes one required symbol, such as AAPL, MSFT, or BRK-B.
{ "name": "get_stock_price", "arguments": { "symbol": "AAPL" } }
The tool returns the JSON API quote fields as structured data and JSON text. Prices are cached for one minute; older quotes refresh before the response. Check market_time and fetched_at; market data may be delayed.
Get a price on a past date
Ask your agent: “Use FreeFinanceAPI to get AAPL's closing price on March 14, 2025.” The get_historical_stock_price tool takes a symbol and a past date in YYYY-MM-DD form, and returns the same fields as the past price endpoint.
{ "name": "get_historical_stock_price", "arguments": { "symbol": "AAPL", "date": "2025-03-14" } }