Sources › Finance › IDX Channel › Market Snapshot

IDX Channel Market Snapshot API

Indices and currency rates in a single call.

IDX ChannelGET /market-snapshotAll plans1 Zap

Request

GET
https://api.zapi.ink/v1/finance:idxchannel/market-snapshot

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
xstringqueryNoUnused; this endpoint takes no input

Code examples

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

Example response

200 OK · application/json
{
  "project": "finance:idxchannel",
  "data": {
    "dataset": "market-snapshot",
    "indices": [
      {
        "code": "IHSG",
        "close": 6501.59,
        "change": 107.46,
        "updatedAt": "2026-08-20T10:57:12.000Z",
        "changePercent": 1.68
      },
      {
        "code": "LQ45",
        "close": 638.74,
        "change": 11.27,
        "updatedAt": "2026-08-20T10:57:12.000Z",
        "changePercent": 1.8
      },
      {
        "code": "IDX30",
        "close": 356.26,
        "change": 5.32,
        "updatedAt": "2026-08-20T10:57:12.000Z",
        "changePercent": 1.52
      },
      {
        "code": "MNC36",
        "close": 275.97,
        "change": 4.62,
        "updatedAt": "2026-08-20T10:57:12.000Z",
        "changePercent": 1.7
      },
      {
        "code": "JII",
        "close": 390.27,
        "change": 9.35,
        "updatedAt": "2026-08-20T10:57:12.000Z",
        "changePercent": 2.45
      },
      {
        "code": "IDX80",
        "close": 96.11,
        "change": 1.89,
        "updatedAt": "2026-08-20T10:57:12.000Z",
        "changePercent": 2
      },
      {
        "code": "IDXHIDIV20",
        "close": 432.62,
        "change": 5.05,
        "updatedAt": "2026-08-20T10:57:12.000Z",
        "changePercent": 1.18
      },
      {
        "code": "IDXG30",
        "close": 121.26,
        "change": 1.36,
        "updatedAt": "2026-08-20T10:57:12.000Z",
        "changePercent": 1.13
      }
    ],
    "provider": "idxchannel",
    "currencies": [
      {
        "rate": 17746,
        "currency": "USD"
      },
      {
        "rate": 2262,
        "currency": "HKD"
      },
      {
        "rate": 12648,
        "currency": "AUD"
      },
      {
        "rate": 2640,
        "currency": "CNY"
      }
    ],
    "indexCount": 10,
    "currencyCount": 4
  },
  "timestamp": "2026-08-20T11:44:00Z"
}

Frequently asked questions

How do I call the IDX Channel Market Snapshot API?

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

What does the IDX Channel Market Snapshot API return?

Indices and currency rates in a single call. The example response has the fields dataset, indices, provider, currencies, indexCount, currencyCount. Each item in indices has fields such as code, close, change, updatedAt, changePercent.

Is the IDX Channel Market Snapshot 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 Snapshot 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 "market-snapshot".

What other IDX Channel API endpoints are there?

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