HM Revenue & Customs Exchange Rate API
Official HM Revenue & Customs (United Kingdom) monthly exchange rates as JSON: 150 currencies, history back to 2021. The published GBP rates required for tax, audits, and compliant invoicing.
About HM Revenue & Customs
HM Revenue & Customs is the United Kingdom's tax, payments, and customs authority. It publishes one official exchange rate table per calendar month — released ahead of the month it applies to — and that single rate is what UK customs declarations and VAT invoices must use for the whole month, regardless of how the market moves in between.
- Official website: www.gov.uk/government/organisations/hm-revenue-customs
- Official rate publication: Monthly exchange rates for customs and VAT
Quick start
One request for the pair you need — GBP to USD at the official HM Revenue & Customs rate:
curl "https://allratestoday.com/api/v1/central-bank/hmrc/latest?source=GBP&target=USD" \
-H "Authorization: Bearer art_live_your_key" Or the bank's full published table:
curl "https://allratestoday.com/api/v1/central-bank/hmrc/latest" \
-H "Authorization: Bearer art_live_your_key" On paid plans, any historical date or a time series:
curl "https://allratestoday.com/api/v1/central-bank/hmrc/history?source=GBP&target=USD&from=2025-01-01" \
-H "Authorization: Bearer art_live_your_key" Latest published rates (2026-08-01)
The most recent table as published by HM Revenue & Customs — exactly what the /latest endpoint returns right now. Values are GBP per 1 unit of each currency:
| Base | Quote | Type | Rate |
|---|---|---|---|
GBP | AED | monthly | 4.9091 |
GBP | ALL | monthly | 109.7955 |
GBP | AMD | monthly | 488.5373 |
GBP | AOA | monthly | 1224.3306 |
GBP | ARS | monthly | 1975.2991 |
GBP | AUD | monthly | 1.9112 |
GBP | AWG | monthly | 2.3927 |
GBP | AZN | monthly | 2.2724 |
GBP | BAM | monthly | 2.292 |
GBP | BBD | monthly | 2.6734 |
GBP | BDT | monthly | 164.9731 |
GBP | BHD | monthly | 0.5026 |
GBP | BIF | monthly | 3987.4698 |
GBP | BMD | monthly | 1.3367 |
GBP | BND | monthly | 1.7262 |
GBP | BOB | monthly | 14.4494 |
GBP | BRL | monthly | 6.7858 |
GBP | BSD | monthly | 1.3367 |
GBP | BTN | monthly | 129.0145 |
GBP | BWP | monthly | 18.2092 |
GBP | BYN | monthly | 3.8578 |
GBP | BZD | monthly | 2.6915 |
GBP | CAD | monthly | 1.8835 |
GBP | CDF | monthly | 3083.1421 |
GBP | CHF | monthly | 1.0863 |
GBP | CLP | monthly | 1250.6398 |
GBP | CNY | monthly | 9.0479 |
GBP | COP | monthly | 4314.3386 |
GBP | CRC | monthly | 606.4354 |
GBP | CUP | monthly | 32.0872 |
GBP | CVE | monthly | 129.226 |
GBP | CZK | monthly | 28.3253 |
GBP | DJF | monthly | 238.003 |
GBP | DKK | monthly | 8.7609 |
GBP | DOP | monthly | 77.7899 |
GBP | DZD | monthly | 177.9594 |
GBP | EGP | monthly | 68.6327 |
GBP | ERN | monthly | 20.0508 |
GBP | ETB | monthly | 215.7325 |
GBP | EUR | monthly | 1.1719 |
GBP | FJD | monthly | 2.9874 |
GBP | GEL | monthly | 3.5045 |
GBP | GHS | monthly | 15.5267 |
GBP | GMD | monthly | 98.7774 |
GBP | GNF | monthly | 11726.9754 |
GBP | GTQ | monthly | 10.1958 |
GBP | GYD | monthly | 279.6097 |
GBP | HKD | monthly | 10.4805 |
GBP | HNL | monthly | 35.7968 |
GBP | HTG | monthly | 174.7475 |
GBP | HUF | monthly | 426.6463 |
GBP | IDR | monthly | 23940.4179 |
GBP | ILS | monthly | 4.0939 |
GBP | INR | monthly | 129.0145 |
GBP | IQD | monthly | 1751.2405 |
GBP | ISK | monthly | 167.5923 |
GBP | JMD | monthly | 212.116 |
GBP | JOD | monthly | 0.9477 |
GBP | JPY | monthly | 217.9907 |
GBP | KES | monthly | 172.9979 |
GBP | KGS | monthly | 116.8827 |
GBP | KHR | monthly | 5399.6005 |
GBP | KMF | monthly | 576.5395 |
GBP | KRW | monthly | 1979.0292 |
GBP | KWD | monthly | 0.4145 |
GBP | KYD | monthly | 1.1117 |
GBP | KZT | monthly | 624.7684 |
GBP | LAK | monthly | 30210.7962 |
GBP | LBP | monthly | 119912.1356 |
GBP | LKR | monthly | 449.5212 |
GBP | LRD | monthly | 241.9123 |
GBP | LSL | monthly | 22.0219 |
GBP | LYD | monthly | 8.577 |
GBP | MAD | monthly | 12.5477 |
GBP | MDL | monthly | 23.5148 |
GBP | MGA | monthly | 5702.5645 |
GBP | MKD | monthly | 72.1754 |
GBP | MMK | monthly | 2806.6019 |
GBP | MNT | monthly | 4799.6502 |
GBP | MOP | monthly | 10.7949 |
GBP | MRU | monthly | 53.3836 |
GBP | MUR | monthly | 63.1965 |
GBP | MVR | monthly | 20.665 |
GBP | MWK | monthly | 2317.8777 |
GBP | MXN | monthly | 23.2925 |
GBP | MYR | monthly | 5.4633 |
GBP | MZN | monthly | 85.3111 |
GBP | NGN | monthly | 1838.2793 |
GBP | NIO | monthly | 49.1887 |
GBP | NOK | monthly | 12.8322 |
GBP | NPR | monthly | 206.5199 |
GBP | NZD | monthly | 2.2978 |
GBP | OMR | monthly | 0.5141 |
GBP | PAB | monthly | 1.3367 |
GBP | PEN | monthly | 4.5467 |
GBP | PGK | monthly | 5.98 |
GBP | PHP | monthly | 82.5755 |
GBP | PKR | monthly | 371.3406 |
GBP | PLN | monthly | 5.0757 |
GBP | PYG | monthly | 8093.9309 |
GBP | QAR | monthly | 4.8657 |
GBP | RON | monthly | 6.1387 |
GBP | RSD | monthly | 137.5785 |
GBP | RUB | monthly | 105.0552 |
GBP | RWF | monthly | 1966.3449 |
GBP | SAR | monthly | 5.0127 |
GBP | SBD | monthly | 10.7861 |
GBP | SCR | monthly | 18.7582 |
GBP | SDG | monthly | 802.2719 |
GBP | SEK | monthly | 12.9869 |
GBP | SGD | monthly | 1.7262 |
GBP | SLE | monthly | 30.6308 |
GBP | SOS | monthly | 763.0606 |
GBP | SRD | monthly | 50.4674 |
GBP | SVC | monthly | 11.6963 |
GBP | SZL | monthly | 22.0219 |
GBP | THB | monthly | 45.203 |
GBP | TMT | monthly | 4.6756 |
GBP | TND | monthly | 3.9407 |
GBP | TOP | monthly | 3.2194 |
GBP | TRY | monthly | 63.1095 |
GBP | TTD | monthly | 9.0721 |
GBP | TWD | monthly | 43.3972 |
GBP | TZS | monthly | 3528.7398 |
GBP | UAH | monthly | 59.9097 |
GBP | UGX | monthly | 4995.2411 |
GBP | USD | monthly | 1.3367 |
GBP | UYU | monthly | 53.6316 |
GBP | UZS | monthly | 16045.3862 |
GBP | VES | monthly | 984.1686 |
GBP | VND | monthly | 35216.6818 |
GBP | VUV | monthly | 159.1429 |
GBP | WST | monthly | 3.6653 |
GBP | XAF | monthly | 768.7193 |
GBP | XCD | monthly | 3.6196 |
GBP | XOF | monthly | 768.7193 |
GBP | XPF | monthly | 139.8455 |
GBP | YER | monthly | 318.1262 |
GBP | ZAR | monthly | 22.0219 |
GBP | ZMW | monthly | 24.5976 |
GBP | ZWG | monthly | 35.8198 |
Node.js / TypeScript client
A dedicated zero-dependency npm package wraps these endpoints — hmrc-exchange-rate:
npm install hmrc-exchange-rate import { getRate } from 'hmrc-exchange-rate';
const pair = await getRate('GBP', 'USD', { 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 HM Revenue & Customs rate?
Live market rates move continuously, but tax filings, customs declarations, audits, and statutory accounting in United Kingdom and beyond typically require the official rate published by HM Revenue & Customs 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 GBP) and explicitly flagged "derived": true — so what the bank printed and what was computed are never confused.
Endpoints
GET /api/v1/central-bank/hmrc/latest— latest table or single pair (all plans)GET /api/v1/central-bank/hmrc/{YYYY-MM-DD}— the table for any date (paid plans)GET /api/v1/central-bank/hmrc/history— time series, up to 5,000 rows (paid plans)GET /api/v1/central-bank/hmrc/availability— publication calendar: the dates the bank actually published (all plans)
Full parameter reference in the API documentation. Every request counts toward your plan's monthly quota — rates change once a month, so caching a published table locally makes a small quota go far.
Frequently asked questions
Is there an API for HM Revenue & Customs exchange rates?
Yes — this one. Official monthly GBP rates as clean JSON, latest table on every plan including free.
How often are the rates updated?
HM Revenue & Customs publishes monthly — one official table per calendar month, published ahead of the month it applies to; the API ingests each new table shortly after publication (latest: 2026-08-01).
Are these the official rates?
Yes — ingested from HM Revenue & Customs's own published data, served unmodified with the bank's publication date. Anything computed rather than published is flagged derived.
HM Revenue & Customs rates, one API key
Latest table on every plan. History back to 2021 on paid plans. No credit card to start.
Get Free API Key Read the Docs