---
title: "Get on-ramp quote"
method: POST
path: "/v1/onramp/quote"
tags: ["Delegated Contract Mode"]
---

# Get on-ramp quote

`POST /v1/onramp/quote`

Delegated Contract Mode will be deprecated soon; new partners should use Managed Custody Mode. On-ramp is not yet generally available; this endpoint is documented for preview only. Returns a real-time quote for fiat token to USDC (with optional swap or bridge) based on BufferPool and limit rules. If isSupport is false or needLivenessCheck is true, guide the user accordingly before submitting.

## Headers

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

## Request body

- object
  - `urId` integer, required — UR user ID.
  - `fromToken` string, required — Fiat token symbol from /v1/tokens.
  - `toToken` string, required — Destination token symbol from /v1/tokens.
  - `amount` string, required — Input amount in smallest units. After conversion, must be at least 5 USDC.
  - `slippageBps` integer — Slippage in basis points. Default 50.
  - `chainId` string — Chain ID (CAIP-2); currently Mantle only.

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