---
title: "Get currency exchange rate"
method: POST
path: "/v1/exchangeRate"
tags: ["Delegated Contract Mode"]
---

# Get currency exchange rate

`POST /v1/exchangeRate`

Delegated Contract Mode will be deprecated soon; new partners should use Managed Custody Mode. Returns the exchange rate and spread for the given asset pair.

## Headers

- `X-Api-Signature` string, required
- `X-Api-Deadline` string, required
- `X-Api-PublicKey` string

## Request body

- object
  - `inSymbol` string, required — Input token symbol.
  - `outSymbol` string, required — Output token symbol.

## Response `200`

Response envelope. For the user API, retCode 0 means success; for the partner API, code 0 means success. Business rejections return HTTP 200 with a non-zero code.

- DcEnvelope — Standard response envelope for the partner API (openapi.ur.app).
  - `code` integer, required — 0 on success; non-zero indicates a business rejection.
  - `message` string, required — Human-readable diagnostic; empty on success.
  - `data` unknown

---

[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)
