logo
GET/api/v1/list/currencies

Get Currencies List

Get the list of supported currencies.

Parameters

This endpoint does not require any parameters. It's a simple GET request that returns all available currencies.

Response

Returns a JSON array containing:

  • id: Currency ID (unique identifier)
  • name: Currency name

Common Use Cases

  • Currency Selection UI: Display available currencies in a dropdown or selection interface
  • Validation: Verify that a user-selected currency is supported before processing
  • Currency Conversion: Convert amounts between different currencies

Code Examples

Request
curl -X GET "{base_url}/api/v1/list/currencies" \
  -H "Content-Type: application/json"

Response Examples

200 - OK
Example Value
[
  {
    "code": "ETB",
    "name": "Ethiopian Birr",
  },
  {
    "code": "USD",
    "name": "United States Dollar",
  },
  {
    "code": "EUR",
    "name": "Euro",
  },
]

Best Practices

  • Cache the Results: Currencies list don't change frequently, so cache the response to reduce API calls
  • Refresh Periodically: Update your cached currencies list daily or weekly to stay current
  • Error Handling: Implement fallback behavior if the currencies list is temporarily unavailable