Bank Indonesia API
Returns JISDOR USD/IDR reference rates, foreign currency transaction rates and history, and BI-Rate policy decisions.
View as Markdown| GET | /bankindonesia/jisdor | JISDOR, the official USD/IDR reference rate, for the days the Bank Indonesia page lists (about a month). |
| GET | /bankindonesia/jisdorHistory | The JISDOR reference rate (USD/IDR) for every day of a date range, newest day first. |
| GET | /bankindonesia/transactionRates | Bank Indonesia's transaction rates today: the buy and sell rate in rupiah for each foreign currency. |
| GET | /bankindonesia/transactionRateHistory | Bank Indonesia's daily transaction rates of one currency over a date range (buy, sell and middle rate), newest day first. |
| GET | /bankindonesia/currencies | The foreign currencies Bank Indonesia publishes transaction rates for, with their names. |
| GET | /bankindonesia/policyRate | The latest Bank Indonesia policy rate (BI-Rate) decisions, newest first. |
| GET | /bankindonesia/inflation | The latest monthly inflation figures Bank Indonesia publishes, newest first. |
jisdor
/v1/bankindonesia/jisdorJISDOR, the official USD/IDR reference rate, for the days the Bank Indonesia page lists (about a month).
Parameters
datestring | One day, YYYY-MM-DD. Omit for every day the page lists. |
startDatestring | Keep days on or after this date, YYYY-MM-DD. Days the page lists only. |
endDatestring | Keep days on or before this date, YYYY-MM-DD. Days the page lists only. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
2 fields
date | string |
rate | number (double) |
curl "https://api.hoshime.com/v1/bankindonesia/jisdor" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/bankindonesia/jisdor", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/bankindonesia/jisdor", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "date": "2026-11-06", "rate": 18130 }, { "date": "2026-11-05", "rate": 18094 } ], "meta": { "cached": false, "endpoint": "jisdor", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "bankindonesia", "requestId": "req_2Xb9kQ…", "units": 1 } }
jisdorHistory
/v1/bankindonesia/jisdorHistoryThe JISDOR reference rate (USD/IDR) for every day of a date range, newest day first.
Parameters
startDatestring required | First day of the range, YYYY-MM-DD. e.g. 2025-01-02 |
endDatestring required | Last day of the range, YYYY-MM-DD. The range can span at most one year. e.g. 2025-01-10 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
2 fields
date | string |
rate | number (double) |
curl "https://api.hoshime.com/v1/bankindonesia/jisdorHistory?startDate=2025-01-02&endDate=2025-01-10" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/bankindonesia/jisdorHistory?startDate=2025-01-02&endDate=2025-01-10", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/bankindonesia/jisdorHistory?startDate=2025-01-02&endDate=2025-01-10", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "date": "2025-01-10", "rate": 16194 }, { "date": "2025-01-09", "rate": 16238 } ], "meta": { "cached": false, "endpoint": "jisdorHistory", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "bankindonesia", "requestId": "req_2Xb9kQ…", "units": 1 } }
transactionRates
/v1/bankindonesia/transactionRatesBank Indonesia's transaction rates today: the buy and sell rate in rupiah for each foreign currency.
Parameters
querystring | Currency code to keep, such as USD. Case-insensitive; omit for every currency. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
4 fields
buyRate | number (double) |
currency | string |
quantity | number (double) |
sellRate | number (double) |
curl "https://api.hoshime.com/v1/bankindonesia/transactionRates" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/bankindonesia/transactionRates", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/bankindonesia/transactionRates", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "buyRate": 4901.32, "currency": "AED", "quantity": 1, "sellRate": 4950.98 }, { "buyRate": 12629.48, "currency": "AUD", "quantity": 1, "sellRate": 12758.22 } ], "meta": { "cached": false, "endpoint": "transactionRates", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "bankindonesia", "requestId": "req_2Xb9kQ…", "units": 1 } }
transactionRateHistory
/v1/bankindonesia/transactionRateHistoryBank Indonesia's daily transaction rates of one currency over a date range (buy, sell and middle rate), newest day first.
Parameters
currencystring required | Currency code, such as USD. e.g. USD |
startDatestring required | First day of the range, YYYY-MM-DD. e.g. 2025-01-02 |
endDatestring required | Last day of the range, YYYY-MM-DD. The range can span at most one year. e.g. 2025-01-10 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
6 fields
buyRate | number (double) |
currency | string |
date | string |
middleRate | number (double) |
quantity | number (double) |
sellRate | number (double) |
curl "https://api.hoshime.com/v1/bankindonesia/transactionRateHistory?currency=USD&startDate=2025-01-02&endDate=2025-01-10" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/bankindonesia/transactionRateHistory?currency=USD&startDate=2025-01-02&endDate=2025-01-10", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/bankindonesia/transactionRateHistory?currency=USD&startDate=2025-01-02&endDate=2025-01-10", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "buyRate": 16156.81, "currency": "USD", "date": "2025-01-10", "middleRate": 16238, "quantity": 1, "sellRate": 16319.19 }, { "buyRate": 16120, "currency": "USD", "date": "2025-01-09", "middleRate": 16201, "quantity": 1, "sellRate": 16282 } ], "meta": { "cached": false, "endpoint": "transactionRateHistory", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "bankindonesia", "requestId": "req_2Xb9kQ…", "units": 1 } }
currencies
/v1/bankindonesia/currenciesThe foreign currencies Bank Indonesia publishes transaction rates for, with their names.
Parameters
querystring | Currency code to keep, such as USD. Case-insensitive; omit for every currency. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
2 fields
code | string |
name | string |
curl "https://api.hoshime.com/v1/bankindonesia/currencies" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/bankindonesia/currencies", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/bankindonesia/currencies", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "code": "AED", "name": "UNITED ARAB EMIRATES DIRHAM" }, { "code": "AUD", "name": "AUSTRALIAN DOLLAR" } ], "meta": { "cached": false, "endpoint": "currencies", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "bankindonesia", "requestId": "req_2Xb9kQ…", "units": 1 } }
policyRate
/v1/bankindonesia/policyRateThe latest Bank Indonesia policy rate (BI-Rate) decisions, newest first.
Parameters
limitinteger | Items per page, 1 to 10. default 10 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
2 fields
date | string |
rate | number (double) |
curl "https://api.hoshime.com/v1/bankindonesia/policyRate" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/bankindonesia/policyRate", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/bankindonesia/policyRate", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "date": "2026-10-21", "rate": 5.75 }, { "date": "2026-09-23", "rate": 5.75 } ], "meta": { "cached": false, "endpoint": "policyRate", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "bankindonesia", "requestId": "req_2Xb9kQ…", "units": 1 } }
inflation
/v1/bankindonesia/inflationThe latest monthly inflation figures Bank Indonesia publishes, newest first.
Parameters
limitinteger | Items per page, 1 to 10. default 10 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
2 fields
period | string |
rate | number (double) |
curl "https://api.hoshime.com/v1/bankindonesia/inflation" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/bankindonesia/inflation", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/bankindonesia/inflation", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "period": "2026-09", "rate": 3.28 }, { "period": "2026-08", "rate": 3.19 } ], "meta": { "cached": false, "endpoint": "inflation", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "bankindonesia", "requestId": "req_2Xb9kQ…", "units": 1 } }