---
title: "Get FX rates"
method: GET
path: "/api/v1/utils/rates/{currency}"
tags: ["Utils"]
---

# Get FX rates

`GET /api/v1/utils/rates/{currency}`

Public endpoint. Returns FX rates from the given currency to USD: `bankTransfer` (Swipelux), `card` (Wirex), and `usdRate` (exchangerate-api.com). `usdRate` is populated for every currency in the invoice Currency enum (G10 + AED/HKD).

## Path parameters

- `currency` string, required

## Response `200`

Successful Response

- RateResponse — Combined FX rate response.
  - `bankTransfer` string, nullable
  - `card` string, nullable
  - `usdRate` string, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/hevn-inc/apis/hevn-api.md) · [All operations](https://skmtc.net/hevn-inc/apis/hevn-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hevn-inc/hevn-api/revisions/e6301d6796bf/schema)
