List quotes
curl --request GET \
--url https://api.nxos.io/v1/service/transfer/quoteimport requests
url = "https://api.nxos.io/v1/service/transfer/quote"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.nxos.io/v1/service/transfer/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.nxos.io/v1/service/transfer/quote",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.nxos.io/v1/service/transfer/quote"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.nxos.io/v1/service/transfer/quote")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.nxos.io/v1/service/transfer/quote")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body[
{
"quote_id": "<string>",
"base_asset": "<string>",
"counter_asset": "<string>",
"base_asset_tier": {
"min_amount": "<string>",
"max_amount": "<string>"
},
"exchange_rate": "<string>",
"fee": {
"basis_points": "<string>",
"fixed": "<string>"
},
"targets": [
{
"target_code": "<string>",
"name": "<string>",
"type": "<string>",
"metadata": {}
}
],
"expires_at": "<string>",
"created_at": "<string>"
}
]Transfer
List Quotes
Retrieves a list of quotes based on specified criteria.
This endpoint allows querying for quotes with filters for base and counter assets, as well as the type of quote (BUY or SELL).
You can specify a provider (e.g., “coinsph”, “ebury”) to get quotes from a specific provider. If no provider is specified, “coinsph” is used as the default.
Some providers (like Ebury) require additional parameters:
- counter_amount: The amount of the counter currency that will be sold or bought
- target_country: ISO 3166-1 alpha-2 country code for the destination (determines KYC requirements)
GET
/
v1
/
service
/
transfer
/
quote
List quotes
curl --request GET \
--url https://api.nxos.io/v1/service/transfer/quoteimport requests
url = "https://api.nxos.io/v1/service/transfer/quote"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.nxos.io/v1/service/transfer/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.nxos.io/v1/service/transfer/quote",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.nxos.io/v1/service/transfer/quote"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.nxos.io/v1/service/transfer/quote")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.nxos.io/v1/service/transfer/quote")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body[
{
"quote_id": "<string>",
"base_asset": "<string>",
"counter_asset": "<string>",
"base_asset_tier": {
"min_amount": "<string>",
"max_amount": "<string>"
},
"exchange_rate": "<string>",
"fee": {
"basis_points": "<string>",
"fixed": "<string>"
},
"targets": [
{
"target_code": "<string>",
"name": "<string>",
"type": "<string>",
"metadata": {}
}
],
"expires_at": "<string>",
"created_at": "<string>"
}
]Query Parameters
Response
200 - application/json
An array of Quote objects matching the specified criteria.