Documentation

API URL


POST /exchange, POST /bulk-exchange

Headers
Code
Content-Type: application/json
Body Parameters


Example Request

Code
{
  "base": "USD",
  "target": "EUR",
  "amount": 100
}

Successful Response

Status
HTML
200 OK
Body
Code
{
  "base": "USD",
  "target": "EUR",
  "amount": 100,
  "exchangeRate": 0.92,
  "convertedAmount": "92.00",
  "lastUpdated": 1712345678
}

Error Response

Example
Code
400 INVALID_INPUT – If required parameters are missing or malformed
400 UNSUPPORTED_CURRENCY – If a currency code is not in the supported mock list

Last Updated:  May 4, 2026