---
title: "Get OTC Off-ramp Quote"
method: POST
path: "/withdraw/open/otc/api/v1/quote"
---

# Get OTC Off-ramp Quote

`POST /withdraw/open/otc/api/v1/quote`

Get a fiat-to-crypto quote for the OTC off-ramp flow.

## Headers

- `X-GatePay-Certificate-ClientId` string, required
- `X-GatePay-Signature` string, required
- `X-GatePay-Timestamp` string, required
- `X-GatePay-Nonce` string, required
- `X-GatePay-On-Behalf-Of` string

## Request body

- QuoteRequest
  - `cryptoCurrency` string, required — Cryptocurrency code used in the quote request. On-ramp supports: USDT, USDC. Off-ramp supports: USDT, USDC.
  - `fiatCurrency` string, required — Fiat currency code used in the quote request. Currently supported: USD.
  - `cryptoAmount` string — Cryptocurrency amount used when quoting by crypto amount.
  - `fiatAmount` string — Fiat amount used when quoting by fiat amount.
  - `side` string, required — Quote direction. Use CRYPTO to quote by crypto amount or FIAT to quote by fiat amount.
  - `promotionCode` string — Optional promotion code if supported by the OTC business flow.
  - `type` string, required — OTC business type. Use BUY for on-ramp and SELL for off-ramp.

## Response `200`

Success

- QuoteResponse
  - `code` string — Business response code.
  - `status` string — Top-level request status.
  - `errorMessage` string — Error message when the request fails.
  - `data` object — Quote payload returned by the API.
    - `quoteToken` string — Quote token used when creating the OTC order.
    - `validPeriod` integer — Quote validity period in seconds.
    - `cryptoAmount` string — Quoted cryptocurrency amount.
    - `fiatAmount` string — Quoted fiat amount.
    - `fiatRate` string — Fiat rate expressed as fiat per crypto.
    - `cryptoRate` string — Crypto rate expressed as crypto per fiat.

---

[API](https://skmtc.net/gate/apis/gatepay-otc-fiat-api.md) · [All operations](https://skmtc.net/gate/apis/gatepay-otc-fiat-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gate/gatepay-otc-fiat-api/revisions/07cd4870de6a/schema)
