Sources › Finance › KSEI › Investor Demographics

KSEI Investor Demographics API

Demografi investor individu per bulan — jenis kelamin, usia, pendidikan, pekerjaan, atau penghasilan. Aset dilaporkan dalam triliun rupiah.

KSEIGET /demographicsAll plans1 Zap

Request

GET
https://api.zapi.ink/v1/finance:ksei/demographics

Send 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

NameTypeInRequiredDescription
byenum: gender | age | education | occupation | incomequeryNoBreakdown to return. Default gender. Example: age
monthstringqueryNoKeep only this month (YYYY-MM). Omit for the whole published series. Example: 2026-04

Code examples

cURL
curl -X GET "https://api.zapi.ink/v1/finance:ksei/demographics?by=age&month=2026-04" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
JavaScript
const res = await fetch("https://api.zapi.ink/v1/finance:ksei/demographics?by=age&month=2026-04", {
  method: "GET",
  headers: {
    "x-api-key": "zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
  },
});
const data = await res.json();
console.log(data);
Python
import requests

res = requests.get(
    "https://api.zapi.ink/v1/finance:ksei/demographics",
    params={"by":"age","month":"2026-04"},
    headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"},
)
print(res.json())

Example response

200 OK · application/json
{
  "project": "finance:ksei",
  "data": {
    "count": 22,
    "items": [
      {
        "group": "< 30 Years Old",
        "month": "2026-06",
        "investors": 15643100,
        "totalAsset": 64.88
      },
      {
        "group": "> 60 Years Old",
        "month": "2026-06",
        "investors": 798396,
        "totalAsset": 862.25
      },
      {
        "group": "31 - 40 Years Old",
        "month": "2026-06",
        "investors": 7140574,
        "totalAsset": 238.45
      },
      {
        "group": "41 - 50 Years Old",
        "month": "2026-06",
        "investors": 3691232,
        "totalAsset": 230.68
      },
      {
        "group": "51 - 60 Years Old",
        "month": "2026-06",
        "investors": 1629234,
        "totalAsset": 313
      },
      {
        "group": "< 30 Years Old",
        "month": "2026-05",
        "investors": 15057862,
        "totalAsset": 69.99
      },
      {
        "group": "> 60 Years Old",
        "month": "2026-05",
        "investors": 761503,
        "totalAsset": 921.57
      },
      {
        "group": "31 - 40 Years Old",
        "month": "2026-05",
        "investors": 6826882,
        "totalAsset": 233.5
      }
    ],
    "source": "ksei",
    "assetUnit": "IDR trillion",
    "breakdown": "age",
    "latestMonth": "2026-06"
  },
  "timestamp": "2026-08-08T10:10:23Z"
}

Frequently asked questions

How do I call the KSEI Investor Demographics API?

Send a GET request to https://api.zapi.ink/v1/finance:ksei/demographics with your Zapi key in the x-api-key header. Parameters — optional: by, month. The response is JSON in the { project, data, timestamp } envelope.

What does the KSEI Investor Demographics API return?

Demografi investor individu per bulan — jenis kelamin, usia, pendidikan, pekerjaan, atau penghasilan. The example response has the fields count, items, source, assetUnit, breakdown, latestMonth. Each item in items has fields such as group, month, investors, totalAsset.

Is the KSEI Investor Demographics 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 KSEI Investor Demographics 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 "ksei" and endpoint "demographics".

What other KSEI API endpoints are there?

It has 3 endpoints. Besides Investor Demographics: Domestic Distribution, Securities Ownership.