Skip to main content
POST
/
quote
/
offramp
Get quote
curl --request POST \
  --url https://processor-prod.up.railway.app/quote/offramp \
  --header 'Content-Type: application/json' \
  --header 'x-service-key: <api-key>' \
  --data '{
  "amount": 1000,
  "currency": "NGN",
  "asset": "base:usdc",
  "is_exact_output": false
}'
{
  "success": true,
  "status": 200,
  "message": "Offramp quote fetched successfully",
  "timestamp": "2025-09-09T22:58:05.691Z",
  "data": {
    "type": "offramp",
    "fee": 0,
    "expiry": "2025-09-09T23:00:05.691Z",
    "currency": "NGN",
    "rate": 1515,
    "input_amount": 1000,
    "output_amount": 1515000
  }
}

Authorizations

x-service-key
string
header
required

Body

application/json
amount
number
required

The amount of asset to offramp

Example:

1000

currency
enum<string>
required

The fiat currency to offramp to

Available options:
NGN
Example:

"NGN"

asset
enum<string>
required

The crypto asset to offramp from

Available options:
ethereum:usdc,
base:usdc,
arbitrum:usdc,
solana:usdc,
bsc:usdc,
polygon:usdc,
optimism:usdc,
avalanche:usdc,
ethereum:usdt,
arbitrum:usdt,
solana:usdt,
polygon:usdt,
bsc:usdt,
optimism:usdt,
avalanche:usdt,
base:cngn,
bsc:cngn
Example:

"base:usdc"

is_exact_output
boolean
default:false

Whether the amount specified is the exact output amount in fiat currency

Example:

false

Response

200 - application/json

Offramp quote fetched successfully

success
boolean
Example:

true

status
integer
Example:

200

message
string
Example:

"Offramp quote fetched successfully"

timestamp
string<date-time>
Example:

"2025-09-09T22:58:05.691Z"

data
object
I