Quotation
curl --request POST \
--url https://api-bluvo.com/v0/wallet/withdraw/quote \
--header 'Content-Type: application/json' \
--header 'x-bluvo-api-key: <api-key>' \
--header 'x-bluvo-org-id: <api-key>' \
--header 'x-bluvo-project-id: <api-key>' \
--header 'x-bluvo-wallet-id: <api-key>' \
--data '
{
"asset": "<string>",
"amount": "<string>",
"address": "<string>",
"includeFee": true,
"network": "<string>",
"tag": "<string>"
}
'import requests
url = "https://api-bluvo.com/v0/wallet/withdraw/quote"
payload = {
"asset": "<string>",
"amount": "<string>",
"address": "<string>",
"includeFee": True,
"network": "<string>",
"tag": "<string>"
}
headers = {
"x-bluvo-api-key": "<api-key>",
"x-bluvo-org-id": "<api-key>",
"x-bluvo-project-id": "<api-key>",
"x-bluvo-wallet-id": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'x-bluvo-api-key': '<api-key>',
'x-bluvo-org-id': '<api-key>',
'x-bluvo-project-id': '<api-key>',
'x-bluvo-wallet-id': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
asset: '<string>',
amount: '<string>',
address: '<string>',
includeFee: true,
network: '<string>',
tag: '<string>'
})
};
fetch('https://api-bluvo.com/v0/wallet/withdraw/quote', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-bluvo.com/v0/wallet/withdraw/quote",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'asset' => '<string>',
'amount' => '<string>',
'address' => '<string>',
'includeFee' => true,
'network' => '<string>',
'tag' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-bluvo-api-key: <api-key>",
"x-bluvo-org-id: <api-key>",
"x-bluvo-project-id: <api-key>",
"x-bluvo-wallet-id: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api-bluvo.com/v0/wallet/withdraw/quote"
payload := strings.NewReader("{\n \"asset\": \"<string>\",\n \"amount\": \"<string>\",\n \"address\": \"<string>\",\n \"includeFee\": true,\n \"network\": \"<string>\",\n \"tag\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-bluvo-api-key", "<api-key>")
req.Header.Add("x-bluvo-org-id", "<api-key>")
req.Header.Add("x-bluvo-project-id", "<api-key>")
req.Header.Add("x-bluvo-wallet-id", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api-bluvo.com/v0/wallet/withdraw/quote")
.header("x-bluvo-api-key", "<api-key>")
.header("x-bluvo-org-id", "<api-key>")
.header("x-bluvo-project-id", "<api-key>")
.header("x-bluvo-wallet-id", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"asset\": \"<string>\",\n \"amount\": \"<string>\",\n \"address\": \"<string>\",\n \"includeFee\": true,\n \"network\": \"<string>\",\n \"tag\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-bluvo.com/v0/wallet/withdraw/quote")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-bluvo-api-key"] = '<api-key>'
request["x-bluvo-org-id"] = '<api-key>'
request["x-bluvo-project-id"] = '<api-key>'
request["x-bluvo-wallet-id"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"asset\": \"<string>\",\n \"amount\": \"<string>\",\n \"address\": \"<string>\",\n \"includeFee\": true,\n \"network\": \"<string>\",\n \"tag\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"id": "quote_01H9X3Z7N5V2KJ4G8P6QR5T3Y2",
"asset": "BTC",
"amountWithFee": 0.0012,
"amountNoFee": 0.001,
"destinationAddress": "bc1qar0srrr7xfkvy5l643lydnw9re59gtzzwf5mdq",
"network": "bitcoin",
"tag": null,
"estimatedFee": 0.0002,
"estimatedTotal": 0.0012,
"expiresAt": 1713984000,
"feeDetails": [
{
"category": "exchange_withdrawal_fee",
"currency": "BTC",
"amount": 0.000025,
"amountInFiat": 1,
"fiatCurrency": "USD"
},
{
"category": "network_fee",
"currency": "BTC",
"amount": 0.0001,
"amountInFiat": 3.65,
"fiatCurrency": "USD"
}
]
}{
"error": "The specified amount is below the minimum withdrawal limit.",
"type": "WITHDRAWAL_AMOUNT_BELOW_MINIMUM"
}{
"error": "Insufficient permissions",
"type": "APIKEY_INSUFFICIENT_PERMISSIONS",
"missing": [
"read",
"quote"
]
}{
"error": "Wallet not found",
"type": "WALLET_NOT_FOUND"
}Withdrawals
Quotation
Get withdrawal quote with fees and estimates.
Required API Key Scopes: read, quote
POST
/
v0
/
wallet
/
withdraw
/
quote
Quotation
curl --request POST \
--url https://api-bluvo.com/v0/wallet/withdraw/quote \
--header 'Content-Type: application/json' \
--header 'x-bluvo-api-key: <api-key>' \
--header 'x-bluvo-org-id: <api-key>' \
--header 'x-bluvo-project-id: <api-key>' \
--header 'x-bluvo-wallet-id: <api-key>' \
--data '
{
"asset": "<string>",
"amount": "<string>",
"address": "<string>",
"includeFee": true,
"network": "<string>",
"tag": "<string>"
}
'import requests
url = "https://api-bluvo.com/v0/wallet/withdraw/quote"
payload = {
"asset": "<string>",
"amount": "<string>",
"address": "<string>",
"includeFee": True,
"network": "<string>",
"tag": "<string>"
}
headers = {
"x-bluvo-api-key": "<api-key>",
"x-bluvo-org-id": "<api-key>",
"x-bluvo-project-id": "<api-key>",
"x-bluvo-wallet-id": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'x-bluvo-api-key': '<api-key>',
'x-bluvo-org-id': '<api-key>',
'x-bluvo-project-id': '<api-key>',
'x-bluvo-wallet-id': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
asset: '<string>',
amount: '<string>',
address: '<string>',
includeFee: true,
network: '<string>',
tag: '<string>'
})
};
fetch('https://api-bluvo.com/v0/wallet/withdraw/quote', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-bluvo.com/v0/wallet/withdraw/quote",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'asset' => '<string>',
'amount' => '<string>',
'address' => '<string>',
'includeFee' => true,
'network' => '<string>',
'tag' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-bluvo-api-key: <api-key>",
"x-bluvo-org-id: <api-key>",
"x-bluvo-project-id: <api-key>",
"x-bluvo-wallet-id: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api-bluvo.com/v0/wallet/withdraw/quote"
payload := strings.NewReader("{\n \"asset\": \"<string>\",\n \"amount\": \"<string>\",\n \"address\": \"<string>\",\n \"includeFee\": true,\n \"network\": \"<string>\",\n \"tag\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-bluvo-api-key", "<api-key>")
req.Header.Add("x-bluvo-org-id", "<api-key>")
req.Header.Add("x-bluvo-project-id", "<api-key>")
req.Header.Add("x-bluvo-wallet-id", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api-bluvo.com/v0/wallet/withdraw/quote")
.header("x-bluvo-api-key", "<api-key>")
.header("x-bluvo-org-id", "<api-key>")
.header("x-bluvo-project-id", "<api-key>")
.header("x-bluvo-wallet-id", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"asset\": \"<string>\",\n \"amount\": \"<string>\",\n \"address\": \"<string>\",\n \"includeFee\": true,\n \"network\": \"<string>\",\n \"tag\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-bluvo.com/v0/wallet/withdraw/quote")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-bluvo-api-key"] = '<api-key>'
request["x-bluvo-org-id"] = '<api-key>'
request["x-bluvo-project-id"] = '<api-key>'
request["x-bluvo-wallet-id"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"asset\": \"<string>\",\n \"amount\": \"<string>\",\n \"address\": \"<string>\",\n \"includeFee\": true,\n \"network\": \"<string>\",\n \"tag\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"id": "quote_01H9X3Z7N5V2KJ4G8P6QR5T3Y2",
"asset": "BTC",
"amountWithFee": 0.0012,
"amountNoFee": 0.001,
"destinationAddress": "bc1qar0srrr7xfkvy5l643lydnw9re59gtzzwf5mdq",
"network": "bitcoin",
"tag": null,
"estimatedFee": 0.0002,
"estimatedTotal": 0.0012,
"expiresAt": 1713984000,
"feeDetails": [
{
"category": "exchange_withdrawal_fee",
"currency": "BTC",
"amount": 0.000025,
"amountInFiat": 1,
"fiatCurrency": "USD"
},
{
"category": "network_fee",
"currency": "BTC",
"amount": 0.0001,
"amountInFiat": 3.65,
"fiatCurrency": "USD"
}
]
}{
"error": "The specified amount is below the minimum withdrawal limit.",
"type": "WITHDRAWAL_AMOUNT_BELOW_MINIMUM"
}{
"error": "Insufficient permissions",
"type": "APIKEY_INSUFFICIENT_PERMISSIONS",
"missing": [
"read",
"quote"
]
}{
"error": "Wallet not found",
"type": "WALLET_NOT_FOUND"
}Authorizations
Bluvo API Key
Bluvo Organization ID
Bluvo Project ID
Bluvo Wallet ID
Body
application/json
Response
Successful response
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Was this page helpful?
⌘I