Request
https://api.zapi.ink/v1/finance:kontan/kepemilikan-sunSend 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 |
|---|---|---|---|---|
| search | string | query | No | Filter rows to those containing this text, case-insensitive Example: Bank |
Code examples
curl -X GET "https://api.zapi.ink/v1/finance:kontan/kepemilikan-sun?search=Bank" \ -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
const res = await fetch("https://api.zapi.ink/v1/finance:kontan/kepemilikan-sun?search=Bank", { 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:kontan/kepemilikan-sun", params={"search":"Bank"}, headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"}, ) print(res.json())
Example response
{ "project": "finance:kontan", "data": { "count": 3, "items": [ { "sun": "765.09", "date": "2026-06-30", "sbsn": "168.06", "total": "933.15", "sunPercent": "13.53", "institution": "Bank Konvensional", "sbsnPercent": "13.03", "totalPercent": "13.44" }, { "sun": "-", "date": "2026-06-30", "sbsn": "118.11", "total": "118.11", "sunPercent": "-", "institution": "Bank Syariah", "sbsnPercent": "9.16", "totalPercent": "1.70" }, { "sun": "1817.06", "date": "2026-06-30", "sbsn": "223.34", "total": "2040.41", "sunPercent": "32.13", "institution": "Bank Indonesia", "sbsnPercent": "17.32", "totalPercent": "29.38" } ], "search": "bank", "columns": [ { "field": "institution", "label": "Institusi" }, { "field": "sun", "label": "SUN" }, { "field": "sunPercent", "label": "SUN Persentase (%)" }, { "field": "sbsn", "label": "SBSN" }, { "field": "sbsnPercent", "label": "SBSN Persentase (%)" }, { "field": "total", "label": "Total" }, { "field": "totalPercent", "label": "Total Persentase (%)" }, { "field": "date", "label": "Tanggal" } ], "dataset": "kepemilikan-sun", "provider": "kontan" }, "timestamp": "2026-08-20T11:44:00Z" }
Frequently asked questions
How do I call the Kontan SUN Ownership API?
Send a GET request to https://api.zapi.ink/v1/finance:kontan/kepemilikan-sun with your Zapi key in the x-api-key header. Parameters — optional: search. The response is JSON in the { project, data, timestamp } envelope.
What does the Kontan SUN Ownership API return?
Government bond ownership split by institution type. The example response has the fields count, items, search, columns, dataset, provider. Each item in items has fields such as sun, date, sbsn, total, sunPercent, institution, sbsnPercent, totalPercent.
Is the Kontan SUN Ownership 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 Kontan SUN Ownership 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 "kontan" and endpoint "kepemilikan-sun".
What other Kontan API endpoints are there?
It has 24 endpoints. Besides SUN Ownership: Channel Feed, Article Search, Article Archive, Article Detail, Trading Recap, Global Indices, and 17 more.
