Request
https://api.zapi.ink/v1/finance:pluang/chartSend 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 1 minute.
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
| code | string | query | No | Stock code. Either this or `stockId` is required. Example: BBCA |
| stockId | number | query | No | Numeric Pluang asset id, 10000 or greater. Alternative to `code`. Example: 10020 |
Code examples
curl -X GET "https://api.zapi.ink/v1/finance:pluang/chart?code=BBCA&stockId=10020" \ -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
const res = await fetch("https://api.zapi.ink/v1/finance:pluang/chart?code=BBCA&stockId=10020", { 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:pluang/chart", params={"code":"BBCA","stockId":"10020"}, headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"}, ) print(res.json())
Example response
{ "project": "finance:pluang", "data": { "code": "BBCA", "count": 85, "items": [ { "low": 6300, "high": 6300, "open": 6300, "close": 6300, "volume": 1428700, "endTime": "2026-08-14T02:00:00Z", "startTime": "2026-08-14T01:55:00Z" }, { "low": 6300, "high": 6350, "open": 6300, "close": 6325, "volume": 1049800, "endTime": "2026-08-14T02:05:00Z", "startTime": "2026-08-14T02:00:00Z" }, { "low": 6325, "high": 6350, "open": 6325, "close": 6350, "volume": 106600, "endTime": "2026-08-14T02:10:00Z", "startTime": "2026-08-14T02:05:00Z" }, { "low": 6325, "high": 6350, "open": 6350, "close": 6325, "volume": 1256000, "endTime": "2026-08-14T02:15:00Z", "startTime": "2026-08-14T02:10:00Z" }, { "low": 6325, "high": 6350, "open": 6325, "close": 6325, "volume": 287800, "endTime": "2026-08-14T02:20:00Z", "startTime": "2026-08-14T02:15:00Z" }, { "low": 6325, "high": 6350, "open": 6325, "close": 6325, "volume": 532800, "endTime": "2026-08-14T02:25:00Z", "startTime": "2026-08-14T02:20:00Z" } ], "source": "pluang", "stockId": 10020, "timeFrame": "1d", "intervalSeconds": 300 }, "timestamp": "2026-08-15T16:14:34Z" }
Frequently asked questions
How do I call the Pluang Intraday Chart API?
Send a GET request to https://api.zapi.ink/v1/finance:pluang/chart with your Zapi key in the x-api-key header. Parameters — optional: code, stockId. The response is JSON in the { project, data, timestamp } envelope.
What does the Pluang Intraday Chart API return?
Candle intraday satu sesi, berjarak 5 menit. The example response has the fields code, count, items, source, stockId, timeFrame, intervalSeconds. Each item in items has fields such as low, high, open, close, volume, endTime, startTime.
Is the Pluang Intraday Chart 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 2 Zap. Paid plans raise the limits.
Can an AI assistant call the Pluang Intraday Chart 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 "pluang" and endpoint "chart".
What other Pluang API endpoints are there?
It has 31 endpoints. Besides Intraday Chart: Resolve Stock Code, Quote, Multi Quote, Reference Prices, Order Book, Running Trade, and 24 more.
