Request
https://api.zapi.ink/v1/finance:pluang/running-tradesSend 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 15 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 |
| action | enum: BUY | SELL | query | No | Keep one aggressor side. Filtered here — the upstream ignores its own tab parameter. Example: BUY |
| minLot | number | query | No | Keep prints of at least this many lots (big-print filter). Example: 500 |
| cursor | string | query | No | Continue from a previous response's `nextCursor`. Example: MTA3MTY= |
Code examples
curl -X GET "https://api.zapi.ink/v1/finance:pluang/running-trades?code=BBCA&stockId=10020&action=BUY&minLot=500&cursor=MTA3MTY%3D" \ -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
const res = await fetch("https://api.zapi.ink/v1/finance:pluang/running-trades?code=BBCA&stockId=10020&action=BUY&minLot=500&cursor=MTA3MTY%3D", { 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/running-trades", params={"code":"BBCA","stockId":"10020","action":"BUY","minLot":"500","cursor":"MTA3MTY="}, headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"}, ) print(res.json())
Example response
{ "project": "finance:pluang", "data": { "code": "BBCA", "count": 19, "items": [ { "lots": 200, "time": "15:49:51", "price": 6350, "action": "BUY", "sequence": 10989 }, { "lots": 155, "time": "15:49:51", "price": 6350, "action": "BUY", "sequence": 10977 }, { "lots": 104, "time": "15:49:51", "price": 6350, "action": "BUY", "sequence": 10958 }, { "lots": 1355, "time": "15:49:51", "price": 6350, "action": "BUY", "sequence": 10955 }, { "lots": 137, "time": "15:49:48", "price": 6325, "action": "SELL", "sequence": 10942 }, { "lots": 130, "time": "15:49:45", "price": 6350, "action": "BUY", "sequence": 10927 } ], "minLot": 100, "source": "pluang", "fetched": 332, "stockId": 10020, "nextCursor": "MTA3MTY=" }, "timestamp": "2026-08-15T16:14:34Z" }
Frequently asked questions
How do I call the Pluang Running Trade API?
Send a GET request to https://api.zapi.ink/v1/finance:pluang/running-trades with your Zapi key in the x-api-key header. Parameters — optional: code, stockId, action, minLot, cursor. The response is JSON in the { project, data, timestamp } envelope.
What does the Pluang Running Trade API return?
Tiap cetakan transaksi satu saham, terbaru dulu, dengan kursor untuk menarik lebih dalam. The example response has the fields code, count, items, minLot, source, fetched, stockId, nextCursor. Each item in items has fields such as lots, time, price, action, sequence.
Is the Pluang Running Trade 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 Running Trade 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 "running-trades".
What other Pluang API endpoints are there?
It has 31 endpoints. Besides Running Trade: Resolve Stock Code, Quote, Multi Quote, Reference Prices, Intraday Chart, Order Book, and 24 more.
