Home Documentation Bank Rates Playground Pricing API Status Blog About FAQ Support

Bank of Japan Exchange Rate API

Official Bank of Japan (Japan) daily exchange rates as JSON: 1 currencies, history back to 1998. The published JPY rates required for tax, audits, and compliant invoicing.

Japan flagBank of Japan official daily exchange rates as JSON: 1 currencies against the JPY, history back to 1998. Latest table on every plan. Get your API key.

About Bank of Japan

The Bank of Japan publishes Tokyo-market USD/JPY reference rates each business day through its time-series statistics portal: the 17:00 JST spot rate and the central rate. These are the Bank's official record of the Tokyo interbank market, with history back to 1998.

Quick start

One request for the pair you need — USD to JPY at the official Bank of Japan rate:

curl "https://allratestoday.com/api/v1/central-bank/boj/latest?source=USD&target=JPY" \
  -H "Authorization: Bearer art_live_your_key"

Or the bank's full published table:

curl "https://allratestoday.com/api/v1/central-bank/boj/latest" \
  -H "Authorization: Bearer art_live_your_key"

On paid plans, any historical date or a daily time series:

curl "https://allratestoday.com/api/v1/central-bank/boj/history?source=USD&target=JPY&from=2025-01-01" \
  -H "Authorization: Bearer art_live_your_key"

Latest published rates (2026-08-03)

The most recent table as published by Bank of Japan — exactly what the /latest endpoint returns right now. Values are JPY per 1 unit of each currency:

BaseQuoteTypeRate
USD JPY middle 156.5
USD JPY spot 156.77

Node.js / TypeScript client

A dedicated zero-dependency npm package wraps these endpoints — boj-exchange-rate:

npm install boj-exchange-rate
import { getRate } from 'boj-exchange-rate';

const pair = await getRate('USD', 'JPY', { apiKey: 'art_live_...' });
console.log(pair.rate, pair.rate_date);

Zero dependencies, TypeScript types included, and it runs anywhere fetch exists — Node 18+, Bun, Deno, and edge runtimes.

Why use the official Bank of Japan rate?

Live market rates move continuously, but tax filings, customs declarations, audits, and statutory accounting in Japan and beyond typically require the official rate published by Bank of Japan for a given date — a fixed, citable number that never changes after publication. This API serves those published tables with the bank's own rate_date on every response; weekends and holidays return the most recent published date, which is the rate compliance rules require you to apply.

Pairs the bank doesn't print directly are resolved from its table (inverse or cross via JPY) and explicitly flagged "derived": true — so what the bank printed and what was computed are never confused.

Endpoints

Full parameter reference in the API documentation. Every request counts toward your plan's monthly quota — rates change once per business day, so caching a day's table locally makes a small quota go far.

Frequently asked questions

Is there an API for Bank of Japan exchange rates?

Yes — this one. Official daily JPY rates as clean JSON, latest table on every plan including free.

How often are the rates updated?

Bank of Japan publishes once per business day; the API ingests each new table shortly after publication (latest: 2026-08-03).

Are these the official rates?

Yes — ingested from Bank of Japan's own published data, served unmodified with the bank's publication date. Anything computed rather than published is flagged derived.

Bank of Japan rates, one API key

Latest table on every plan. History back to 1998 on paid plans. No credit card to start.

Get Free API Key Read the Docs