Sources › Finance › IDX Channel › Stock Quote

IDX Channel Stock Quote API

One stock's session: open, high, low, close, previous and change.

IDX ChannelGET /quoteAll plans1 Zap

Request

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

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
codestringqueryYesTicker code, with or without case Example: BBCA

Code examples

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

Example response

200 OK · application/json
{
  "project": "finance:idxchannel",
  "data": {
    "low": 3090,
    "code": "BBRI",
    "high": 3140,
    "open": 3100,
    "close": 3140,
    "change": 60,
    "dataset": "quote",
    "previous": 3080,
    "provider": "idxchannel",
    "updatedAt": "2026-08-20T10:50:08.000Z",
    "changePercent": 1.95
  },
  "timestamp": "2026-08-20T11:44:00Z"
}

Frequently asked questions

How do I call the IDX Channel Stock Quote API?

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

What does the IDX Channel Stock Quote API return?

One stock's session: open, high, low, close, previous and change. The example response has the fields low, code, high, open, close, change, dataset, previous.

Is the IDX Channel Stock Quote 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 Stock Quote 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 "quote".

What other IDX Channel API endpoints are there?

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