Sources › Finance › Yahoo Finance › Historical

Yahoo Finance Historical API
Candles from one minute to one month, up to max range.
Request
https://api.zapi.ink/v1/finance:yahoo-finance/historicalSend your key in the x-api-key header. The response is JSON in the { project, data, timestamp } envelope, and an identical request is served from cache for 5 minutes.
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
| symbol | string | query | Yes | Instrument symbol. Jakarta listings use the .JK suffix Example: BBCA.JK |
| range | enum: 1d | 5d | 1mo | 3mo | 6mo | 1y | 2y | 5y | 10y | ytd | max | query | No | Look-back window. Default 1mo Example: 1mo |
| interval | enum: 1m | 2m | 5m | 15m | 30m | 60m | 90m | 1h | 1d | 5d | 1wk | 1mo | 3mo | query | No | Candle size. Default 1d. Intraday sizes only cover recent ranges Example: 1d |
Code examples
curl -X GET "https://api.zapi.ink/v1/finance:yahoo-finance/historical?symbol=BBCA.JK&range=1mo&interval=1d" \ -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
const res = await fetch("https://api.zapi.ink/v1/finance:yahoo-finance/historical?symbol=BBCA.JK&range=1mo&interval=1d", { method: "GET", headers: { "x-api-key": "zpi_xxxxxxxxxxxxxxxxxxxxxxxx" }, }); const data = await res.json(); console.log(data);
import requests res = requests.get( "https://api.zapi.ink/v1/finance:yahoo-finance/historical", params={"symbol":"BBCA.JK","range":"1mo","interval":"1d"}, headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"}, ) print(res.json())
Example response
{ "project": "finance:yahoo-finance", "data": { "name": "PT Bank Central Asia Tbk", "count": 24, "range": "1mo", "symbol": "BBCA.JK", "candles": [ { "low": 5550, "date": "2026-06-30", "high": 5825, "open": 5775, "close": 5550, "volume": 440738300, "adjClose": 5550, "timestamp": 1782784800 }, { "low": 5550, "date": "2026-07-01", "high": 5750, "open": 5550, "close": 5600, "volume": 124123800, "adjClose": 5600, "timestamp": 1782871200 }, { "low": 5625, "date": "2026-07-02", "high": 5875, "open": 5650, "close": 5800, "volume": 145119400, "adjClose": 5800, "timestamp": 1782957600 }, { "low": 5900, "date": "2026-07-03", "high": 6150, "open": 5925, "close": 6050, "volume": 200465200, "adjClose": 6050, "timestamp": 1783044000 }, { "low": 5975, "date": "2026-07-06", "high": 6175, "open": 6050, "close": 6125, "volume": 148684900, "adjClose": 6125, "timestamp": 1783303200 }, { "low": 6150, "date": "2026-07-07", "high": 6300, "open": 6200, "close": 6300, "volume": 183472100, "adjClose": 6300, "timestamp": 1783389600 }, { "low": 6175, "date": "2026-07-08", "high": 6325, "open": 6300, "close": 6175, "volume": 181123400, "adjClose": 6175, "timestamp": 1783476000 }, { "low": 6050, "date": "2026-07-09", "high": 6200, "open": 6100, "close": 6200, "volume": 181155800, "adjClose": 6200, "timestamp": 1783562400 } ], "currency": "IDR", "exchange": "Jakarta", "interval": "1d", "provider": "yahoo", "timezone": "Asia/Jakarta" }, "timestamp": "2026-08-02T04:21:08Z" }
Frequently asked questions
How do I call the Yahoo Finance Historical API?
Send a GET request to https://api.zapi.ink/v1/finance:yahoo-finance/historical?symbol=BBCA.JK with your Zapi key in the x-api-key header. Parameters — required: symbol; optional: range, interval. The response is JSON in the { project, data, timestamp } envelope.
What does the Yahoo Finance Historical API return?
Candles from one minute to one month, up to max range. The example response has the fields name, count, range, symbol, candles, currency, exchange, interval. Each item in candles has fields such as low, date, high, open, close, volume, adjClose, timestamp.
Is the Yahoo Finance Historical API free?
Yes. It is on the Zapi free tier: 600 Zap a month with one API key and no credit card. Each call costs 1 Zap. Paid plans raise the limits.
Can an AI assistant call the Yahoo Finance Historical API?
Yes. Add the Zapi MCP server (https://mcp.zapi.ink/mcp) to Claude, Cursor or another MCP client and ask in plain words; it calls run_scraper with scraper "yahoo-finance" and endpoint "historical".
What other Yahoo Finance API endpoints are there?
It has 11 endpoints. Besides Historical: Quote, Summary, Search, Screener, News, Holders, and 4 more.