Rate Zap

See USD, JPY and CNY all at once — enter an amount, get three currencies.

Rate Zap API Documentation

Free, no-auth currency conversion API for USD, JPY, and CNY.

Supported Currencies: USD JPY CNY

GET /api/convert

Convert an amount from one currency to another (or all three at once).

Omit the to parameter to get all three currencies at once.

Parameters

ParametersTypeDescription
fromstringRequiredSource currency: USD, JPY, or CNY
amountnumberRequiredAmount to convert (0 – 1 trillion)
tostringOptionalTarget currency. Omit to get all three.

Example — Omit the to

GET https://ratezap.fanshikun.com/api/convert?from=USD&amount=100

{
  "from": "USD",
  "amount": 100,
  "rates": {
    "CNY": 724.5,
    "JPY": 15520,
    "USD": 100
  },
  "lastUpdate": "..."
}

Example — single target

GET https://ratezap.fanshikun.com/api/convert?from=USD&amount=100&to=JPY

{
  "from": "USD",
  "to": "JPY",
  "amount": 100,
  "result": 15520,
  "rate": 155.2,
  "lastUpdate": "..."
}

GET /api/rates

Get current exchange rates for all supported currencies.

GET https://ratezap.fanshikun.com/api/rates

{
  "base": "USD",
  "currencies": [
    { "code": "CNY", "rate": 7.245 },
    { "code": "JPY", "rate": 155.2 },
    { "code": "USD", "rate": 1 }
  ],
  "lastUpdate": "...",
  "nextUpdate": "..."
}

Error Responses

StatusMeaning
400Missing or invalid parameters
503Rates unavailable (upstream API failure)

Rate Limits

No authentication required. Rates update daily, so caching on the client is recommended.