curl --request POST \
--url https://vibe-api.liquidramp.com/v1/orders/quote \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"from": {
"currency": "NGN",
"amount": 50000
},
"to": {
"currency": "USDT",
"network": "BSC"
}
}
'{
"status": true,
"message": "<string>",
"data": {
"quote_id": "<string>",
"type": "onramp",
"from": {
"currency": "<string>",
"network": "<string>",
"amount": 123
},
"to": {
"currency": "<string>",
"network": "<string>",
"amount": 123
},
"pricing": {
"base_currency": "<string>",
"quote_currency": "<string>",
"exchange_rate": 123
},
"fee": {
"currency": "<string>",
"network_fee": 123,
"protocol_fee": 123,
"partner_fee": 123,
"vat": 123,
"total": 123,
"fee_in_rate": true
},
"timestamp": "2023-11-07T05:31:56Z",
"ttl_in_seconds": 123,
"provider_id": 123
},
"meta": {
"total": 123,
"per_page": 123,
"current_page": 123,
"last_page": 123
}
}{
"status": false,
"code": "E_UNAUTHORIZED",
"message": "Invalid credentials"
}{
"status": false,
"message": "<string>",
"code": "E_BADREQUEST"
}{
"status": false,
"code": "E_VALIDATION_ERROR",
"message": "recipient: recipient is required"
}Orders
Create quote
Reserves a quote. Order type is inferred from the from/to legs:
| Type | from | to |
|---|---|---|
| onramp | { currency, amount? } | { currency, network, amount? } |
| offramp | { currency, network, amount? } | { currency, amount? } |
| swap | { currency, network, amount? } | { currency, network, amount? } (same network) |
Both legs use currency. Crypto legs require network; fiat legs must omit it. Set amount on exactly one leg.
Quotes expire — create the order before ttl_in_seconds elapses.
Auth: Secret key + HMAC. Account must be KYB-approved in the partner portal.
Related: Create order
POST
/
v1
/
orders
/
quote
curl --request POST \
--url https://vibe-api.liquidramp.com/v1/orders/quote \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"from": {
"currency": "NGN",
"amount": 50000
},
"to": {
"currency": "USDT",
"network": "BSC"
}
}
'{
"status": true,
"message": "<string>",
"data": {
"quote_id": "<string>",
"type": "onramp",
"from": {
"currency": "<string>",
"network": "<string>",
"amount": 123
},
"to": {
"currency": "<string>",
"network": "<string>",
"amount": 123
},
"pricing": {
"base_currency": "<string>",
"quote_currency": "<string>",
"exchange_rate": 123
},
"fee": {
"currency": "<string>",
"network_fee": 123,
"protocol_fee": 123,
"partner_fee": 123,
"vat": 123,
"total": 123,
"fee_in_rate": true
},
"timestamp": "2023-11-07T05:31:56Z",
"ttl_in_seconds": 123,
"provider_id": 123
},
"meta": {
"total": 123,
"per_page": 123,
"current_page": 123,
"last_page": 123
}
}{
"status": false,
"code": "E_UNAUTHORIZED",
"message": "Invalid credentials"
}{
"status": false,
"message": "<string>",
"code": "E_BADREQUEST"
}{
"status": false,
"code": "E_VALIDATION_ERROR",
"message": "recipient: recipient is required"
}Authorizations
Bearer sk_* plus required headers:
- liquidramp-client-id
- liquidramp-timestamp (unix ms)
- liquidramp-signature (sha256=...)
Body
application/json