金
Bank of Japan API
4 endpointsFinance & CryptoJPsocial:read4 real examples
Returns Bank of Japan monetary base, policy and money-market rates, and pre-built time-series tables.
View as Markdown| GET | /boj/monetaryBase | Japan's monetary base and its components, monthly, newest first. |
| GET | /boj/table | The series of one Bank of Japan database at one frequency, selected by layer. |
| GET | /boj/rates | The Bank of Japan's policy and money-market rates: the basic loan rate and the call rate. |
| GET | /boj/tables | The Bank of Japan's statistical databases with their category. |
monetaryBase
GET
/v1/boj/monetaryBaseJapan's monetary base and its components, monthly, newest first.
scope social:read1 unitcached 6 h
Parameters
fromstring | Earliest period, YYYY-MM. |
tostring | Latest period, YYYY-MM. |
lengthinteger | Observations per series, newest first. Default 60, max 20000. default 60 |
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
10 fields
frequency | string |
name | string |
series | Series[] |
code | string |
name | string |
observations | Observation[] |
period | string |
value | number (double) | null |
unit | string |
table | string |
curl "https://api.hoshime.com/v1/boj/monetaryBase" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/boj/monetaryBase", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/boj/monetaryBase", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "frequency": "monthly", "name": "Monetary Base/Average Amounts Outstanding", "series": [ { "code": "MD01'MABS1AN11@", "name": "Monetary Base/Average Amounts Outstanding/Year-on-year change", "observations": [ { "period": "2026-10", "value": -13.6 }, { "period": "2026-09", "value": -15.2 } ], "unit": "%" }, { "code": "MD01'MABS2AN116@", "name": "Monetary Base/Banknotes in Circulation/Average Amounts Outstanding/Year-on-year change", "observations": [ { "period": "2026-10", "value": -2.3 }, { "period": "2026-09", "value": -2 } ], "unit": "%" } ], "table": "md01_m_1" }, "meta": { "cached": false, "endpoint": "monetaryBase", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "boj", "requestId": "req_2Xb9kQ…", "units": 1 } }
table
GET
/v1/boj/tableThe series of one Bank of Japan database at one frequency, selected by layer.
scope social:read1 unitcached 6 h
Parameters
tablestring required | Database name from the tables endpoint, such as IR01 or FM02.IR01IR02IR03IR04FM01FM02FM03FM04FM05FM06FM07FM08FM09PS01PS02MD01MD02MD03MD04MD05MD06MD07MD08MD09MD10MD11MD12MD13MD14LA01LA02LA03LA04LA05BS01BS02FFOB01OB02COPR01PR02PR03PR04PF01PF02BP01BISDEROTe.g. IR01 |
frequencystring | CY calendar year, FY fiscal year, CH calendar half-year, FH fiscal half-year, Q quarterly, M monthly, W weekly, D daily. Default M.CYFYCHFHQMWDdefault M |
layerstring | Layer information that selects series within the database: up to five levels separated by commas, each a number or *, such as 1,2. A database of more than 1,250 series, such as PR01, CO, FF or BP01, needs a narrower layer than the default *. default * |
fromstring | Earliest period, YYYY, YYYY-MM or YYYY-MM-DD to match the frequency. |
tostring | Latest period, YYYY, YYYY-MM or YYYY-MM-DD to match the frequency. |
lengthinteger | Observations per series, newest first. Default 120, max 20000. default 120 |
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
10 fields
frequency | string |
name | string |
series | Series[] |
code | string |
name | string |
observations | Observation[] |
period | string |
value | number (double) | null |
unit | string |
table | string |
curl "https://api.hoshime.com/v1/boj/table?table=IR01" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/boj/table?table=IR01", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/boj/table?table=IR01", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "frequency": "monthly", "name": "Basic Loan Rate", "series": [ { "code": "IR01'MADR1M", "name": "The Basic Discount Rate and Basic Loan Rate", "observations": [ { "period": "2026-10", "value": 1.5 }, { "period": "2026-09", "value": 1.5 } ], "unit": "Percent per annum" } ], "table": "ir01_m_1" }, "meta": { "cached": false, "endpoint": "table", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "boj", "requestId": "req_2Xb9kQ…", "units": 1 } }
rates
GET
/v1/boj/ratesThe Bank of Japan's policy and money-market rates: the basic loan rate and the call rate.
scope social:read1 unitcached 6 hpaginated
Parameters
frequencystring | daily reads the basic loan rate and the average uncollateralized overnight call rate, monthly reads the basic loan rate and that call rate at month end and on average. Default daily.dailymonthlydefault dailye.g. monthly |
fromstring | Earliest period, YYYY-MM-DD for daily or YYYY-MM for monthly. |
tostring | Latest period, YYYY-MM-DD for daily or YYYY-MM for monthly. |
lengthinteger | Observations per series, newest first. Default 60, max 20000. default 60 |
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
10 fields
frequency | string |
name | string |
series | Series[] |
code | string |
name | string |
observations | Observation[] |
period | string |
value | number (double) | null |
unit | string |
table | string |
curl "https://api.hoshime.com/v1/boj/rates?frequency=monthly" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/boj/rates?frequency=monthly", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/boj/rates?frequency=monthly", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "frequency": "monthly", "name": "Basic Loan Rate", "series": [ { "code": "IR01'MADR1M", "name": "The Basic Discount Rate and Basic Loan Rate", "observations": [ { "period": "2026-10", "value": 1.5 }, { "period": "2026-09", "value": 1.5 } ], "unit": "Percent per annum" } ], "table": "ir01_m_1" }, { "frequency": "monthly", "name": "Call Rates", "series": [ { "code": "FM02'STRECLUCON", "name": "Call Rate, Uncollateralized Overnight/End of Month", "observations": [ { "period": "2026-10", "value": 1.227 }, { "period": "2026-09", "value": 1.226 } ], "unit": "percent per annum" }, { "code": "FM02'STRACLUCON", "name": "Call Rate, Uncollateralized Overnight/Average", "observations": [ { "period": "2026-10", "value": 1.227 }, { "period": "2026-09", "value": 1.043 } ], "unit": "percent per annum" } ], "table": "fm02_m_1" } ], "meta": { "cached": false, "endpoint": "rates", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "boj", "requestId": "req_2Xb9kQ…", "units": 1 } }
tables
GET
/v1/boj/tablesThe Bank of Japan's statistical databases with their category.
scope social:read1 unitcached 24 hpaginated
Parameters
querystring | Case-insensitive filter over the database name, title and category. |
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
3 fields
category | string |
name | string |
table | string |
curl "https://api.hoshime.com/v1/boj/tables" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/boj/tables", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/boj/tables", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "category": "Balance of Payments", "csvUrl": "https://www.stat-search.boj.or.jp/ssi/mtshtml/csv/bp01_m_1_en.csv", "frequency": "monthly", "name": "Balance of Payments", "pageUrl": "https://www.stat-search.boj.or.jp/ssi/mtshtml/bp01_m_1_en.html", "table": "bp01_m_1" }, { "category": "Balance Sheets of the Bank of Japan and Financial Institutions", "csvUrl": "https://www.stat-search.boj.or.jp/ssi/mtshtml/csv/bs02_m_1_en.csv", "frequency": "monthly", "name": "Principal Accounts/percentage changes from the previous year(Domestically Licensed Banks)", "pageUrl": "https://www.stat-search.boj.or.jp/ssi/mtshtml/bs02_m_1_en.html", "table": "bs02_m_1" } ], "meta": { "cached": false, "endpoint": "tables", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "boj", "requestId": "req_2Xb9kQ…", "units": 1 } }