Sources › Finance › IDX Channel › Currency Rates

IDX Channel Currency Rates API

Foreign currency rates against the rupiah.

IDX ChannelGET /currenciesAll plans1 Zap

Request

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

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 5 minutes.

Parameters

NameTypeInRequiredDescription
currencystringqueryNoFilter to one currency, by its three-letter name Example: USD

Code examples

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

Example response

200 OK · application/json
{
  "project": "finance:idxchannel",
  "data": {
    "count": 1,
    "items": [
      {
        "code": "USDRP",
        "rate": 17746,
        "currency": "USD",
        "updatedAt": "2026-08-20T10:45:06.000Z"
      }
    ],
    "dataset": "currencies",
    "currency": "USD",
    "provider": "idxchannel"
  },
  "timestamp": "2026-08-20T11:44:00Z"
}

Frequently asked questions

How do I call the IDX Channel Currency Rates API?

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

What does the IDX Channel Currency Rates API return?

Foreign currency rates against the rupiah. The example response has the fields count, items, dataset, currency, provider. Each item in items has fields such as code, rate, currency, updatedAt.

Is the IDX Channel Currency Rates 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 Currency Rates 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 "currencies".

What other IDX Channel API endpoints are there?

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