Sources › Finance › IDX Channel › Market Indices

IDX Channel Market Indices API

Indonesian indices with last value, change and change percent.

IDX ChannelGET /indicesAll plans1 Zap

Request

GET
https://api.zapi.ink/v1/finance:idxchannel/indices

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 1 minute.

Parameters

NameTypeInRequiredDescription
codestringqueryNoFilter to one index code Example: IHSG

Code examples

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

Example response

200 OK · application/json
{
  "project": "finance:idxchannel",
  "data": {
    "code": "IHSG",
    "count": 1,
    "items": [
      {
        "code": "IHSG",
        "close": 6501.59,
        "change": 107.46,
        "updatedAt": "2026-08-20T10:57:12.000Z",
        "changePercent": 1.68
      }
    ],
    "dataset": "indices",
    "provider": "idxchannel"
  },
  "timestamp": "2026-08-20T11:44:00Z"
}

Frequently asked questions

How do I call the IDX Channel Market Indices API?

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

What does the IDX Channel Market Indices API return?

Indonesian indices with last value, change and change percent. The example response has the fields code, count, items, dataset, provider. Each item in items has fields such as code, close, change, updatedAt, changePercent.

Is the IDX Channel Market Indices 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 IDX Channel Market Indices 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 "idxchannel" and endpoint "indices".

What other IDX Channel API endpoints are there?

It has 13 endpoints. Besides Market Indices: Stock Table, All Stocks, Stock Quote, Currency Rates, Market Snapshot, Latest Articles, and 6 more.