Thai exchange rate API
What 181 named money changers across 23 Thai cities are paying today, in 42 currencies. No key, no signup, CORS open to any origin.
Endpoints
Base URL https://api.thairate.com. Everything is GET and returns JSON.
| Endpoint | Returns | Parameters |
|---|---|---|
/v1/best.json | The highest buying rates for one currency, ranked. The endpoint most people want. | cur (required, ISO 4217) · city (optional) · side=buy|sell · limit=1–50 |
/v1/rates.json | Everything: every shop, every currency, every tier, plus the interbank reference rate. | — |
/v1/shops.json | The shop list alone — names, addresses, coordinates, opening hours. | — |
/v1/history.json | Daily best buying rate per currency per city, back to the first day of collection. | — |
/health | Per-source freshness. Use it to decide whether the data is worth showing. | — |
Try it
curl "https://api.thairate.com/v1/best.json?cur=JPY&city=bangkok&limit=3"
What the numbers mean
rateis THB for one unit of the foreign currency, as the shop publishes it.side=buyis what the shop pays you for your cash;side=sellis what it charges you. They are never the same number.denomis the banknote band the rate applies to. A 10,000 yen note and a 1,000 yen note get different rates at the same counter.midis the interbank reference for the same moment. It is a benchmark, not something anyone will trade at.- Rates refresh about every 15 minutes.
generatedAttells you when;/healthtells you whether a source failed.
Fair use
- Cache for at least 60 seconds. The data does not change faster than that.
- Roughly one request a minute per application is plenty. There is no key and no hard limit; there is also no promise, and abuse gets blocked by IP.
- Do not re-publish it as your own dataset. Linking back is the whole payment.
Licence and attribution
The data is published under CC BY 4.0. Use it commercially if you like. Credit it visibly where the numbers appear:
Exchange rates: <a href="https://thairate.com/">thairate.com</a> (CC BY 4.0)The rates are collected from each shop's own published board. They are reported as found and are not an offer — confirm at the counter before you hand over money. See the terms.
Higher volume, or a guarantee
There is no paid tier today, and saying otherwise would be inventing one. If you need a rate limit raised, an uptime commitment, a historical extract, or a field that is not in the response, write tocontact@thairate.com and say what you are building.
Other ways in
The embeddable widget if you want the rate on a page rather than in code, andthe CSV archive if you want the history in a spreadsheet.