---
title: "Get exchange rates"
method: GET
path: "/exchange-rate"
tags: ["Exchange Rate"]
---

# Get exchange rates

`GET /exchange-rate`

## Request

- Base URL: `https://www.ruddr.io/api/workspace`
- URL: `https://www.ruddr.io/api/workspace/exchange-rate`
- Auth: HTTP bearer

Get the list of exchange rates for a date and source currency.

## Query parameters

- `date` string, date
- `fromCurrency` string

## Response `200`

200

- ExchangeRate
  - `date` string, date: The date the exchange rates are for. Will be in the form YYYY-MM-DD.
  - `fromCurrency` string: The source currency code that rates are expressed relative to.
  - `rates` object[]: The list of exchange rates from the source currency to each workspace currency.
    - `currency` string: The target currency code.
    - `rate` number: The exchange rate from `fromCurrency` to this currency.

## Other responses

- `400`: 400

---

[API](https://skmtc.dev/ruddr/apis/ruddr-api.md) · [All operations](https://skmtc.dev/ruddr/apis/ruddr-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ruddr/apis/ruddr-api/revisions/01c3f2a969ba?raw)
