Sources › Finance › IDX Channel › All Stocks

IDX Channel All Stocks API

Every listed stock in one call, with last price, change and timestamp.

IDX ChannelGET /stocks-allAll plans1 Zap

Request

GET
https://api.zapi.ink/v1/finance:idxchannel/stocks-all

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
searchstringqueryNoFilter by ticker code, case-insensitive substring Example: BBC

Code examples

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

Example response

200 OK · application/json
{
  "project": "finance:idxchannel",
  "data": {
    "count": 12,
    "items": [
      {
        "code": "BBCA",
        "close": 6400,
        "change": 100,
        "updatedAt": "2026-08-20T10:50:08.000Z",
        "changePercent": 1.59
      },
      {
        "code": "BBHI",
        "close": 905,
        "change": 0,
        "updatedAt": "2026-08-20T10:50:08.000Z",
        "changePercent": 0
      },
      {
        "code": "BBKP",
        "close": 56,
        "change": 1,
        "updatedAt": "2026-08-20T10:50:08.000Z",
        "changePercent": 1.82
      },
      {
        "code": "BBLD",
        "close": 685,
        "change": 5,
        "updatedAt": "2026-08-20T10:50:08.000Z",
        "changePercent": 0.72
      },
      {
        "code": "BBMD",
        "close": 1950,
        "change": 5,
        "updatedAt": "2026-08-20T10:50:08.000Z",
        "changePercent": 0.26
      },
      {
        "code": "BBNI",
        "close": 3590,
        "change": 30,
        "updatedAt": "2026-08-20T10:50:08.000Z",
        "changePercent": 0.84
      },
      {
        "code": "BBRI",
        "close": 3140,
        "change": 60,
        "updatedAt": "2026-08-20T10:50:08.000Z",
        "changePercent": 1.95
      },
      {
        "code": "BBRM",
        "close": 115,
        "change": 0,
        "updatedAt": "2026-08-20T10:50:08.000Z",
        "changePercent": 0
      }
    ],
    "search": "BB",
    "dataset": "stocks-all",
    "provider": "idxchannel"
  },
  "timestamp": "2026-08-20T11:44:00Z"
}

Frequently asked questions

How do I call the IDX Channel All Stocks API?

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

What does the IDX Channel All Stocks API return?

Every listed stock in one call, with last price, change and timestamp. The example response has the fields count, items, search, dataset, provider. Each item in items has fields such as code, close, change, updatedAt, changePercent.

Is the IDX Channel All Stocks 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 All Stocks 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 "stocks-all".

What other IDX Channel API endpoints are there?

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