Sources › Finance › IDX (Bursa Efek Indonesia) › Bond Index (INDOBeX)

IDX Bond Index (INDOBeX) API

Indeks obligasi Indonesia. Tiap kelompok membawa beberapa sub-indeks sekaligus — ICBI, INDOBeX-CP/GP/EY/GY — beserta perubahan nilai dan persennya.

IDX (Bursa Efek Indonesia)GET /bond-indexAll plans5 Zap

Request

GET
https://api.zapi.ink/v1/finance:idx/bond-index

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 30 minutes.

Parameters

NameTypeInRequiredDescription
typeenum: composite | government | corporatequeryNoKelompok indeks. Default composite. Example: composite

Code examples

cURL
curl -X GET "https://api.zapi.ink/v1/finance:idx/bond-index?type=composite" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
JavaScript
const res = await fetch("https://api.zapi.ink/v1/finance:idx/bond-index?type=composite", {
  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:idx/bond-index",
    params={"type":"composite"},
    headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"},
)
print(res.json())

Example response

200 OK · application/json
{
  "project": "finance:idx",
  "data": {
    "type": "composite",
    "count": 5,
    "items": [
      {
        "code": "ICBI (Indonesia Composite Bond Index)",
        "date": "2025-01-20",
        "value": 392.7881,
        "change": 0.0443,
        "changePercent": 0.0113
      },
      {
        "code": "INDOBeX-CP",
        "date": "2025-01-20",
        "value": 114.8109,
        "change": -0.0093,
        "changePercent": -0.0081
      },
      {
        "code": "INDOBeX-GP",
        "date": "2025-01-20",
        "value": 116.6675,
        "change": 0.0124,
        "changePercent": 0.0106
      },
      {
        "code": "INDOBeX-EY",
        "date": "2025-01-20",
        "value": 7.062,
        "change": -0.0031,
        "changePercent": -0.0439
      },
      {
        "code": "INDOBeX-GY",
        "date": "2025-01-20",
        "value": 7.1079,
        "change": 0.0014,
        "changePercent": 0.0195
      }
    ],
    "dataset": "bond-index",
    "provider": "idx"
  },
  "timestamp": "2026-06-13T02:22:00Z"
}

Frequently asked questions

How do I call the IDX Bond Index (INDOBeX) API?

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

What does the IDX Bond Index (INDOBeX) API return?

Indeks obligasi Indonesia. The example response has the fields type, count, items, dataset, provider. Each item in items has fields such as code, date, value, change, changePercent.

Is the IDX Bond Index (INDOBeX) 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 Bond Index (INDOBeX) 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 "bond-index".

What other IDX API endpoints are there?

It has 47 endpoints. Besides Bond Index (INDOBeX): Ringkasan Saham, Ringkasan Indeks, Top Movers, Ringkasan Broker, Emiten Tercatat, Daftar Securities, and 40 more.