# Exchange Rate Get Convert

> Converts an amount from one currency to another and returns the rate alongside the converted value.

- Skill: `gabrielmoreira/exchange-rate-get-convert` (Agent Skill)
- Install (CLI): `npx skillmds@latest add gabrielmoreira/exchange-rate-get-convert`
- Raw SKILL.md: https://api.skillmd.com/api/skills/gabrielmoreira/exchange-rate-get-convert/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Integrations & APIs
- Author: gabrielmoreira (https://skillmd.com/u/gabrielmoreira)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/gabrielmoreira/exchange-rate-get-convert

---


## Endpoint

**GET https://requiems.xyz/v1/finance/convert**

## Convert Currency

Converts an amount from one currency to another and returns the rate alongside the converted value.

## Parameters

| Name | Type | Required | Location | Description |
| ---- | ---- | -------- | -------- | ----------- |
| `from` | string | yes | query | ISO 4217 source currency code (3 letters, e.g. USD) |
| `to` | string | yes | query | ISO 4217 target currency code (3 letters, e.g. EUR) |
| `amount` | number | yes | query | Amount to convert. Must be greater than 0. |

## Response Example

```json
{
  "data": {
    "from": "USD",
    "to": "EUR",
    "rate": 0.92,
    "amount": 100,
    "converted": 92.00,
    "timestamp": "2024-12-15T00:00:00Z"
  },
  "metadata": {
    "timestamp": "2026-01-01T00:00:00Z"
  }
}
```

## Response Fields

| Field | Type | Description |
| ----- | ---- | ----------- |
| `from` | string | Source currency code (uppercased) |
| `to` | string | Target currency code (uppercased) |
| `rate` | number | Exchange rate used for the conversion |
| `amount` | number | The original amount passed in the request |
| `converted` | number | Result of amount × rate, rounded to 2 decimal places |
| `timestamp` | string | Date the rate was published by the ECB (ISO 8601) |

## Errors

- `400` **bad_request** — A required parameter is missing, the currency code is not 3 alphabetic characters, or the amount is 0 or negative.
- `422` **invalid_currency** — One or both currency codes are not recognised by the upstream data source.
- `503` **upstream_error** — The exchange rate data source is temporarily unavailable.

