Sources › Finance › IDX Channel › Stock Table

IDX Channel Stock Table API

Paged table of every listed stock, sortable by volume or change percent.

IDX ChannelGET /stocksAll plans1 Zap

Request

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

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
pagenumberqueryNoPage number, 10 rows per page. Default 1 Example: 1
sortByenum: volume | changePercentqueryNoSort column. Omit for the upstream's default order Example: volume
sortenum: asc | descqueryNoSort direction. Only applied together with sortBy Example: desc

Code examples

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

Example response

200 OK · application/json
{
  "project": "finance:idxchannel",
  "data": {
    "page": 1,
    "sort": null,
    "count": 10,
    "items": [
      {
        "code": "AADI",
        "open": 9725,
        "close": 9900,
        "change": 175,
        "volume": 10192200,
        "updatedAt": "2026-08-20T10:55:10.000Z",
        "changePercent": 1.8
      },
      {
        "code": "AALI",
        "open": 7750,
        "close": 8000,
        "change": 250,
        "volume": 2770700,
        "updatedAt": "2026-08-20T10:55:10.000Z",
        "changePercent": 3.23
      },
      {
        "code": "ABDA",
        "open": 3810,
        "close": 3810,
        "change": 0,
        "volume": 1000,
        "updatedAt": "2026-08-20T10:55:10.000Z",
        "changePercent": 0
      },
      {
        "code": "ABMM",
        "open": 2700,
        "close": 2720,
        "change": 30,
        "volume": 803300,
        "updatedAt": "2026-08-20T10:55:10.000Z",
        "changePercent": 1.12
      },
      {
        "code": "ACES",
        "open": 364,
        "close": 362,
        "change": 0,
        "volume": 18881500,
        "updatedAt": "2026-08-20T10:55:10.000Z",
        "changePercent": 0
      },
      {
        "code": "ACRO",
        "open": 62,
        "close": 63,
        "change": 1,
        "volume": 3282200,
        "updatedAt": "2026-08-20T10:55:10.000Z",
        "changePercent": 1.61
      },
      {
        "code": "ACST",
        "open": 85,
        "close": 85,
        "change": 0,
        "volume": 370600,
        "updatedAt": "2026-08-20T10:55:10.000Z",
        "changePercent": 0
      },
      {
        "code": "ADES",
        "open": 33000,
        "close": 33000,
        "change": 175,
        "volume": 3900,
        "updatedAt": "2026-08-20T10:55:10.000Z",
        "changePercent": 0.53
      }
    ],
    "total": 861,
    "sortBy": null,
    "dataset": "stocks",
    "hasMore": true,
    "nextPage": 2,
    "provider": "idxchannel"
  },
  "timestamp": "2026-08-20T11:44:00Z"
}

Frequently asked questions

How do I call the IDX Channel Stock Table API?

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

What does the IDX Channel Stock Table API return?

Paged table of every listed stock, sortable by volume or change percent. The example response has the fields page, sort, count, items, total, sortBy, dataset, hasMore. Each item in items has fields such as code, open, close, change, volume, updatedAt, changePercent.

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

What other IDX Channel API endpoints are there?

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