Skip to main content
POST
/
onramp
/
quote
Get on-ramp quote
curl --request POST \
  --url https://api.zet.money/v1/onramp/quote \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "amount": "50000",
  "tokenSymbol": "USDC",
  "chain": "base"
}
'
{
  "success": true,
  "data": {
    "quoteId": "qt_01H8X3...",
    "fiatAmount": "50000",
    "fiatCurrency": "NGN",
    "cryptoAmount": "32.45",
    "tokenSymbol": "USDC",
    "chain": "base",
    "rate": "1540.50",
    "fees": {
      "providerFee": "50",
      "flatFee": "50",
      "swapFee": "20",
      "totalFee": "120"
    },
    "expiresAt": "2023-11-07T05:31:56Z"
  }
}

Authorizations

x-api-key
string
header
required

Your Zet API key. Contact zetdotmoney@gmail.com to obtain your keys.

Body

application/json
amount
string
required

Amount of fiat (NGN) to spend.

Example:

"50000"

tokenSymbol
enum<string>
required

Target token to receive.

Available options:
CNGN,
USDC,
ETH,
cbBTC,
BNB,
USDT
Example:

"USDC"

chain
enum<string>
default:base

Primary chains where Zet-managed wallets operate

Available options:
base,
bsc

Response

Quote generated.

success
boolean
Example:

true

data
object