Request
https://api.zapi.ink/v1/finance:pluang/quoteSend 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 30 seconds.
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/quote?code=BBCA&stockId=10020" \ -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
const res = await fetch("https://api.zapi.ink/v1/finance:pluang/quote?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/quote", params={"code":"BBCA","stockId":"10020"}, headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"}, ) print(res.json())
Example response
{ "project": "finance:pluang", "data": { "code": "BBCA", "source": "pluang", "stockId": 10020, "keyStats": { "avg": "6,328.83", "iep": "6,350", "iev": "158.78K", "lot": "569.54K", "val": "360.45B", "vol": "56.95M", "turnover": "360.45B", "market_cap": "778.02T" }, "highestIndicativePrice": 6350 }, "timestamp": "2026-08-15T16:14:34Z" }
Frequently asked questions
How do I call the Pluang Quote API?
Send a GET request to https://api.zapi.ink/v1/finance:pluang/quote 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 Quote API return?
Kutipan satu saham IDX berikut key stats yang Pluang tampilkan: kapitalisasi pasar, volume, lot, turnover, harga rata-rata, IEP/IEV. The example response has the fields code, source, stockId, keyStats, highestIndicativePrice.
Is the Pluang Quote 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 Quote 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 "quote".
What other Pluang API endpoints are there?
It has 31 endpoints. Besides Quote: Resolve Stock Code, Multi Quote, Reference Prices, Intraday Chart, Order Book, Running Trade, and 24 more.
