---
title: "Fetch the live exchange rate between two currencies"
method: GET
path: "/fx"
---

# Fetch the live exchange rate between two currencies

`GET /fx`

## Request

- Base URL: `https://api.gadgethumans.com`
- URL: `https://api.gadgethumans.com/fx`
- Auth: none declared

Currency exchange rate - Live FX rate between two currencies (?from=&to=) plus an inverse rate and the rate date.

## Query parameters

- `from` string, required: Source currency, e.g. EUR (required)
- `to` string: Target currency, e.g. USD (optional)

## Response `200`

Success

- object

## Other responses

- `402`: Payment Required: x402 exact scheme, USDC on Base

---

[API](https://skmtc.dev/gadgethumans/apis/gadgethumans-api-hub.md) · [All operations](https://skmtc.dev/gadgethumans/apis/gadgethumans-api-hub/llms.txt) · [OpenAPI document](https://skmtc.dev/gadgethumans/apis/gadgethumans-api-hub/revisions/7e0ce6386a0d?raw)
