Request
https://api.zapi.ink/v1/finance:pluang/corporate-actionSend 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 6 hours.
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 |
| when | enum: past | upcoming | both | query | No | Which set to return. Default both. Example: upcoming |
| type | string | query | No | Keep one action type, e.g. DIVIDEND. Example: DIVIDEND |
| length | number | query | No | Rows per set (default 50, max 200) Example: 20 |
Code examples
curl -X GET "https://api.zapi.ink/v1/finance:pluang/corporate-action?code=BBCA&stockId=10020&when=upcoming&type=DIVIDEND&length=20" \ -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
const res = await fetch("https://api.zapi.ink/v1/finance:pluang/corporate-action?code=BBCA&stockId=10020&when=upcoming&type=DIVIDEND&length=20", { 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/corporate-action", params={"code":"BBCA","stockId":"10020","when":"upcoming","type":"DIVIDEND","length":"20"}, headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"}, ) print(res.json())
Example response
{ "project": "finance:pluang", "data": { "code": "BBCA", "past": [ { "id": "6a26c4508a75a80d34feef70", "type": "DIVIDEND", "title": "Dividend", "value": "Rp20", "fields": { "Ex Date": "17 Jun '26", "Cum Date": "15 Jun '26", "Pay Date": "26 Jun '26", "Rec Date": "18 Jun '26" } }, { "id": "69b806348cf6342e72f91bc8", "type": "DIVIDEND", "title": "Dividend", "value": "Rp281", "fields": { "Ex Date": "30 Mar '26", "Cum Date": "27 Mar '26", "Pay Date": "08 Apr '26", "Rec Date": "31 Mar '26" } }, { "id": "6925af95dcb9d0863b0f1890", "type": "DIVIDEND", "title": "Dividend", "value": "Rp55", "fields": { "Ex Date": "03 Dec '25", "Cum Date": "02 Dec '25", "Pay Date": "22 Dec '25", "Rec Date": "04 Dec '25" } }, { "id": "68beb46f3040ab65c8e21d21", "type": "DIVIDEND", "title": "Dividend", "value": "Rp250", "fields": { "Ex Date": "21 Mar '25", "Cum Date": "20 Mar '25", "Pay Date": "11 Apr '25", "Rec Date": "24 Mar '25" } }, { "id": "68beb46f3040ab65c8e21d18", "type": "DIVIDEND", "title": "Dividend", "value": "Rp50", "fields": { "Ex Date": "21 Nov '24", "Cum Date": "20 Nov '24", "Pay Date": "11 Dec '24", "Rec Date": "22 Nov '24" } }, { "id": "68beb46c4c4e4258101b1d10", "type": "DIVIDEND", "title": "Dividend", "value": "Rp228", "fields": { "Ex Date": "25 Mar '24", "Cum Date": "22 Mar '24", "Pay Date": "04 Apr '24", "Rec Date": "26 Mar '24" } } ], "type": "DIVIDEND", "when": "both", "count": 10, "source": "pluang", "stockId": 10020, "upcoming": [] }, "timestamp": "2026-08-15T16:14:34Z" }
Frequently asked questions
How do I call the Pluang Corporate Actions API?
Send a GET request to https://api.zapi.ink/v1/finance:pluang/corporate-action with your Zapi key in the x-api-key header. Parameters — optional: code, stockId, when, type, length. The response is JSON in the { project, data, timestamp } envelope.
What does the Pluang Corporate Actions API return?
Aksi korporasi yang lalu dan yang akan datang — dividen, split, RUPS — beserta tanggal cum, ex, dan pembayarannya. The example response has the fields code, past, type, when, count, source, stockId, upcoming. Each item in past has fields such as id, type, title, value, fields.
Is the Pluang Corporate Actions 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 Corporate Actions 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 "corporate-action".
What other Pluang API endpoints are there?
It has 31 endpoints. Besides Corporate Actions: Resolve Stock Code, Quote, Multi Quote, Reference Prices, Intraday Chart, Order Book, and 24 more.
