Request Quote
curl --request POST \
--url https://sandbox-api.axisfi.net/api/fx/quotes \
--header 'Api-Version: <api-version>' \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--header 'X-API-Secret: <api-key>' \
--data '
{
"source_currency": "USDT",
"target_currency": "USDT",
"source_network": "ETH",
"target_network": "ETH",
"source_amount": 99.99,
"target_amount": 99.99
}
'import requests
url = "https://sandbox-api.axisfi.net/api/fx/quotes"
payload = {
"source_currency": "USDT",
"target_currency": "USDT",
"source_network": "ETH",
"target_network": "ETH",
"source_amount": 99.99,
"target_amount": 99.99
}
headers = {
"Api-Version": "<api-version>",
"X-API-Key": "<api-key>",
"X-API-Secret": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'Api-Version': '<api-version>',
'X-API-Key': '<api-key>',
'X-API-Secret': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
source_currency: 'USDT',
target_currency: 'USDT',
source_network: 'ETH',
target_network: 'ETH',
source_amount: 99.99,
target_amount: 99.99
})
};
fetch('https://sandbox-api.axisfi.net/api/fx/quotes', 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://sandbox-api.axisfi.net/api/fx/quotes",
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([
'source_currency' => 'USDT',
'target_currency' => 'USDT',
'source_network' => 'ETH',
'target_network' => 'ETH',
'source_amount' => 99.99,
'target_amount' => 99.99
]),
CURLOPT_HTTPHEADER => [
"Api-Version: <api-version>",
"Content-Type: application/json",
"X-API-Key: <api-key>",
"X-API-Secret: <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://sandbox-api.axisfi.net/api/fx/quotes"
payload := strings.NewReader("{\n \"source_currency\": \"USDT\",\n \"target_currency\": \"USDT\",\n \"source_network\": \"ETH\",\n \"target_network\": \"ETH\",\n \"source_amount\": 99.99,\n \"target_amount\": 99.99\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Api-Version", "<api-version>")
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("X-API-Secret", "<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://sandbox-api.axisfi.net/api/fx/quotes")
.header("Api-Version", "<api-version>")
.header("X-API-Key", "<api-key>")
.header("X-API-Secret", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"source_currency\": \"USDT\",\n \"target_currency\": \"USDT\",\n \"source_network\": \"ETH\",\n \"target_network\": \"ETH\",\n \"source_amount\": 99.99,\n \"target_amount\": 99.99\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox-api.axisfi.net/api/fx/quotes")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Api-Version"] = '<api-version>'
request["X-API-Key"] = '<api-key>'
request["X-API-Secret"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"source_currency\": \"USDT\",\n \"target_currency\": \"USDT\",\n \"source_network\": \"ETH\",\n \"target_network\": \"ETH\",\n \"source_amount\": 99.99,\n \"target_amount\": 99.99\n}"
response = http.request(request)
puts response.read_body{
"quote_id": "quote_f91fafe4b4fb463c8d0b04a90fece464",
"exchange_rate": 1.005,
"valid_to": "2023-11-07T05:31:56Z",
"remaining_seconds": 180
}{
"errors": [
{
"detail": "<string>",
"code": "<string>"
}
]
}{
"errors": [
{
"detail": "<string>",
"code": "<string>"
}
]
}{
"errors": [
{
"detail": "<string>",
"code": "<string>"
}
]
}{
"errors": [
{
"detail": "<string>",
"code": "<string>"
}
]
}{
"errors": [
{
"detail": "Invalid organizationId",
"code": "ORG_ID_INVALID"
}
]
}{
"errors": [
{
"detail": "<string>",
"code": "<string>"
}
]
}Quotes
Request Quote
Retrieves a rate quote for a currency pair without binding amounts. Returns quote_id, exchange_rate, valid_to and remaining_seconds. Pass quote_id to create a transfer using the saved customer rate.
POST
/
api
/
fx
/
quotes
Request Quote
curl --request POST \
--url https://sandbox-api.axisfi.net/api/fx/quotes \
--header 'Api-Version: <api-version>' \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--header 'X-API-Secret: <api-key>' \
--data '
{
"source_currency": "USDT",
"target_currency": "USDT",
"source_network": "ETH",
"target_network": "ETH",
"source_amount": 99.99,
"target_amount": 99.99
}
'import requests
url = "https://sandbox-api.axisfi.net/api/fx/quotes"
payload = {
"source_currency": "USDT",
"target_currency": "USDT",
"source_network": "ETH",
"target_network": "ETH",
"source_amount": 99.99,
"target_amount": 99.99
}
headers = {
"Api-Version": "<api-version>",
"X-API-Key": "<api-key>",
"X-API-Secret": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'Api-Version': '<api-version>',
'X-API-Key': '<api-key>',
'X-API-Secret': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
source_currency: 'USDT',
target_currency: 'USDT',
source_network: 'ETH',
target_network: 'ETH',
source_amount: 99.99,
target_amount: 99.99
})
};
fetch('https://sandbox-api.axisfi.net/api/fx/quotes', 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://sandbox-api.axisfi.net/api/fx/quotes",
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([
'source_currency' => 'USDT',
'target_currency' => 'USDT',
'source_network' => 'ETH',
'target_network' => 'ETH',
'source_amount' => 99.99,
'target_amount' => 99.99
]),
CURLOPT_HTTPHEADER => [
"Api-Version: <api-version>",
"Content-Type: application/json",
"X-API-Key: <api-key>",
"X-API-Secret: <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://sandbox-api.axisfi.net/api/fx/quotes"
payload := strings.NewReader("{\n \"source_currency\": \"USDT\",\n \"target_currency\": \"USDT\",\n \"source_network\": \"ETH\",\n \"target_network\": \"ETH\",\n \"source_amount\": 99.99,\n \"target_amount\": 99.99\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Api-Version", "<api-version>")
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("X-API-Secret", "<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://sandbox-api.axisfi.net/api/fx/quotes")
.header("Api-Version", "<api-version>")
.header("X-API-Key", "<api-key>")
.header("X-API-Secret", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"source_currency\": \"USDT\",\n \"target_currency\": \"USDT\",\n \"source_network\": \"ETH\",\n \"target_network\": \"ETH\",\n \"source_amount\": 99.99,\n \"target_amount\": 99.99\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox-api.axisfi.net/api/fx/quotes")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Api-Version"] = '<api-version>'
request["X-API-Key"] = '<api-key>'
request["X-API-Secret"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"source_currency\": \"USDT\",\n \"target_currency\": \"USDT\",\n \"source_network\": \"ETH\",\n \"target_network\": \"ETH\",\n \"source_amount\": 99.99,\n \"target_amount\": 99.99\n}"
response = http.request(request)
puts response.read_body{
"quote_id": "quote_f91fafe4b4fb463c8d0b04a90fece464",
"exchange_rate": 1.005,
"valid_to": "2023-11-07T05:31:56Z",
"remaining_seconds": 180
}{
"errors": [
{
"detail": "<string>",
"code": "<string>"
}
]
}{
"errors": [
{
"detail": "<string>",
"code": "<string>"
}
]
}{
"errors": [
{
"detail": "<string>",
"code": "<string>"
}
]
}{
"errors": [
{
"detail": "<string>",
"code": "<string>"
}
]
}{
"errors": [
{
"detail": "Invalid organizationId",
"code": "ORG_ID_INVALID"
}
]
}{
"errors": [
{
"detail": "<string>",
"code": "<string>"
}
]
}Authorizations
Includes an API key in the HTTP headers to authenticate the client.
Includes an API secret in the HTTP headers to authenticate the client.
Headers
AxisFi API contract version
Available options:
2026-08-31 Body
application/json
Source Currency
Available options:
USDT, USDC, USD Pattern:
USDT|USDC|USDExample:
"USDT"
Target Currency
Available options:
USDT, USDC, USD Pattern:
USDT|USDC|USDExample:
"USDT"
Source Network
Available options:
ETH, TRX Pattern:
ETH|TRXExample:
"ETH"
Target Network
Available options:
ETH, TRX Pattern:
ETH|TRXExample:
"ETH"
Source Amount
Required range:
0.01 < x < 100000000Example:
99.99
Target Amount
Required range:
0.01 < x < 100000000Example:
99.99
Response
Operation Successful
Rate quote response with expiration details

