Skip to content

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/monetaryBaseJapan's monetary base and its components, monthly, newest first.
GET/boj/tableThe series of one Bank of Japan database at one frequency, selected by layer.
GET/boj/ratesThe Bank of Japan's policy and money-market rates: the basic loan rate and the call rate.
GET/boj/tablesThe Bank of Japan's statistical databases with their category.

monetaryBase

GET/v1/boj/monetaryBase

Japan's monetary base and its components, monthly, newest first.

scope social:read1 unitcached 6 h

Parameters

from
string
Earliest period, YYYY-MM.
to
string
Latest period, YYYY-MM.
length
integer
Observations per series, newest first. Default 60, max 20000.
default 60
tunnel
string
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.
proxy
string
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.
profileId
string
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
frequencystring
namestring
seriesSeries[]
codestring
namestring
observationsObservation[]
periodstring
valuenumber (double) | null
unitstring
tablestring
curl "https://api.hoshime.com/v1/boj/monetaryBase" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "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/table

The series of one Bank of Japan database at one frequency, selected by layer.

scope social:read1 unitcached 6 h

Parameters

table
string
required
Database name from the tables endpoint, such as IR01 or FM02.
IR01IR02IR03IR04FM01FM02FM03FM04FM05FM06FM07FM08FM09PS01PS02MD01MD02MD03MD04MD05MD06MD07MD08MD09MD10MD11MD12MD13MD14LA01LA02LA03LA04LA05BS01BS02FFOB01OB02COPR01PR02PR03PR04PF01PF02BP01BISDEROT
e.g. IR01
frequency
string
CY calendar year, FY fiscal year, CH calendar half-year, FH fiscal half-year, Q quarterly, M monthly, W weekly, D daily. Default M.
CYFYCHFHQMWD
default M
layer
string
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 *
from
string
Earliest period, YYYY, YYYY-MM or YYYY-MM-DD to match the frequency.
to
string
Latest period, YYYY, YYYY-MM or YYYY-MM-DD to match the frequency.
length
integer
Observations per series, newest first. Default 120, max 20000.
default 120
tunnel
string
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.
proxy
string
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.
profileId
string
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
frequencystring
namestring
seriesSeries[]
codestring
namestring
observationsObservation[]
periodstring
valuenumber (double) | null
unitstring
tablestring
curl "https://api.hoshime.com/v1/boj/table?table=IR01" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "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/rates

The Bank of Japan's policy and money-market rates: the basic loan rate and the call rate.

scope social:read1 unitcached 6 hpaginated

Parameters

frequency
string
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.
dailymonthly
default dailye.g. monthly
from
string
Earliest period, YYYY-MM-DD for daily or YYYY-MM for monthly.
to
string
Latest period, YYYY-MM-DD for daily or YYYY-MM for monthly.
length
integer
Observations per series, newest first. Default 60, max 20000.
default 60
tunnel
string
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.
proxy
string
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.
profileId
string
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
frequencystring
namestring
seriesSeries[]
codestring
namestring
observationsObservation[]
periodstring
valuenumber (double) | null
unitstring
tablestring
curl "https://api.hoshime.com/v1/boj/rates?frequency=monthly" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "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/tables

The Bank of Japan's statistical databases with their category.

scope social:read1 unitcached 24 hpaginated

Parameters

query
string
Case-insensitive filter over the database name, title and category.
tunnel
string
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.
proxy
string
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.
profileId
string
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
categorystring
namestring
tablestring
curl "https://api.hoshime.com/v1/boj/tables" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "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
  }
}
esc
↑↓ move↵ open