---
search:
  tags:
    - Currency
    - GET
seo:
  description: >-
    Admin only. Returns every filed rate for one ordered pair, oldest first.
    Both… Reference for the GET /api/v1/currency/rates endpoint in the
    PharmaFlow API.
sidebar:
  label: List exchange rates
  badge: GET
title: List exchange rates
type: openapi-operation
---
Admin only. Returns every filed rate for one ordered pair, oldest first. Both directions are stored separately, so USD to UGX is not returned for UGX to USD.

`GET /api/v1/currency/rates`

**Responses**

- `200` — The rates filed for this pair
- `400` — base or quote is missing
- `401` — Not authenticated
- `403` — Caller is not an admin

Response example, 200:

```json
{
  "items": [
    {
      "id": "string",
      "base_code": "string",
      "quote_code": "string",
      "rate": 0,
      "source": "string",
      "effective_at": "string",
      "created_at": "string"
    }
  ]
}
```
