Developers
A free, no-key currency API and an embeddable converter widget. Use them in your apps, dashboards, blogs โ wherever live FX rates help.
Public API
REST + JSON. CORS open to all origins. Cached for ~60s, served straight from Redis.
- Base URL
- https://ratata.money/api/v1
- Rate limit
- 60 req / min ยท IP
- Auth
- None โ keyless
GET
/currencies?lang=enList all supported currencies (code, localized name, flag, decimals).
Example
curl https://ratata.money/api/v1/currencies?lang=enResponse
[
{ "code": "USD", "name": "US Dollar", "flag": "๐บ๐ธ", "decimals": 2 },
{ "code": "EUR", "name": "Euro", "flag": "๐ช๐บ", "decimals": 2 }
]GET
/rates/latest?base=USD&symbols=CNY,JPY,EURLatest rates for one base against any number of symbols.
Example
curl "https://ratata.money/api/v1/rates/latest?base=USD&symbols=CNY,JPY,EUR"Response
{
"base": "USD",
"timestamp": 1714464000,
"rates": { "CNY": 7.2456, "JPY": 156.43, "EUR": 0.9321 },
"source": "frankfurter"
}GET
/rates/convert?from=USD&to=CNY&amount=100Convert an amount from one currency to another.
Example
curl "https://ratata.money/api/v1/rates/convert?from=USD&to=CNY&amount=100"Response
{ "from": "USD", "to": "CNY", "amount": 100, "result": 724.56, "rate": 7.2456 }GET
/rates/history?base=USD&symbol=CNY&range=30dDaily rate history. Range: 7d / 30d / 90d / 1y.
Example
curl "https://ratata.money/api/v1/rates/history?base=USD&symbol=CNY&range=30d"Response
{
"base": "USD",
"symbol": "CNY",
"range": "30d",
"points": [
{ "date": "2026-04-01", "rate": 7.2310 },
{ "date": "2026-04-02", "rate": 7.2401 }
]
}Errors
All errors return a JSON body with a stable code and a human-readable message.
{ "error": { "code": "UNSUPPORTED_CURRENCY", "message": "..." } }Embed widget
Drop a tiny converter onto any site with a single iframe. Pick a pair, language, theme, and dimensions โ copy the snippet.
Preview
Embed code
<iframe src="https://ratata.money/embed?from=USD&to=CNY&amount=100&lang=en"
width="420" height="320"
style="border:0;max-width:100%;border-radius:16px;overflow:hidden"
loading="lazy"
title="Ratata currency converter"
referrerpolicy="no-referrer"
allow="clipboard-write"></iframe>