---
title: "Get FX quote"
method: POST
path: "/api/fma/v1/quote/fx"
tags: ["Managed Custody Mode"]
---

# Get FX quote

`POST /api/fma/v1/quote/fx`

Quote a conversion between two tokenized fiat balances held inside the user's UR account. Read the minimum and maximum FX amounts from the chain config at request time; do not hardcode them.

## Headers

- `X-Api-Signature` string, required
- `X-Api-Deadline` string, required
- `X-Api-PublicKey` string, required
- `X-Ur-Id` string
- `X-External-User-Id` string

## Request body

- McFxQuoteRequest
  - `fromCurrency` string, required — Input fiat currency symbol.
  - `toCurrency` string, required — Output fiat currency symbol.
  - `inputAmount` string, required — Input amount as a human-readable decimal string.

## Response `200`

Standard envelope. Business errors return HTTP 200 with a non-zero code.

- McFxQuoteResponse — Standard UR OpenAPI response envelope. code 0 means success; a non-zero code is a business error described by message.
  - `code` integer, required — 0 on success; non-zero business error code.
  - `message` string, required — Human-readable explanation. May be empty on success.
  - `data` McFxQuoteData
    - `inputAmount` string — Input amount echoed from the request.
    - `fromCurrency` string
    - `toCurrency` string
    - `outputAmount` string — Quoted output amount.
    - `exchangeRate` string — Quoted exchange rate.

---

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