Sources › Finance › IDX (Bursa Efek Indonesia) › Konstituen Indeks

IDX Konstituen Indeks API
Papan indeks langsung — 45 indeks IDX dengan nilai buka, tinggi, rendah, dan terakhir.
Request
https://api.zapi.ink/v1/finance:idx/index-constituentSend 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 5 minutes.
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
| code | string | query | No | Return only this index code. Omit for every index. Example: LQ45 |
| group | enum: all | main | sector | query | No | `all` (default) returns both boards. `main` is the 34 headline indices (COMPOSITE, LQ45, IDX30…). `sector` is the 11 IDX-IC sector indices (IDXENERGY, IDXFINANCE…). Example: all |
Code examples
curl -X GET "https://api.zapi.ink/v1/finance:idx/index-constituent?code=LQ45&group=all" \ -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
const res = await fetch("https://api.zapi.ink/v1/finance:idx/index-constituent?code=LQ45&group=all", { 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:idx/index-constituent", params={"code":"LQ45","group":"all"}, headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"}, ) print(res.json())
Example response
{ "project": "finance:idx", "data": { "code": "LQ45", "count": 1, "group": "all", "items": [ { "low": 624.297, "code": "LQ45", "date": "2026-08-14", "high": 633.127, "last": 632.283, "group": "main", "change": 5.12, "previous": 627.165, "changePercent": 0.82 } ], "dataset": "index-constituent", "provider": "idx" }, "timestamp": "2026-06-13T02:22:00Z" }
Frequently asked questions
How do I call the IDX Konstituen Indeks API?
Send a GET request to https://api.zapi.ink/v1/finance:idx/index-constituent with your Zapi key in the x-api-key header. Parameters — optional: code, group. The response is JSON in the { project, data, timestamp } envelope.
What does the IDX Konstituen Indeks API return?
Papan indeks langsung — 45 indeks IDX dengan nilai buka, tinggi, rendah, dan terakhir. The example response has the fields code, count, group, items, dataset, provider. Each item in items has fields such as low, code, date, high, last, group, change, previous.
Is the IDX Konstituen Indeks 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 5 Zap. Paid plans raise the limits.
Can an AI assistant call the IDX Konstituen Indeks 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 "idx" and endpoint "index-constituent".
What other IDX API endpoints are there?
It has 47 endpoints. Besides Konstituen Indeks: Ringkasan Saham, Ringkasan Indeks, Top Movers, Ringkasan Broker, Emiten Tercatat, Daftar Securities, and 40 more.