Get Active Networks
curl --request GET \
--url https://api.obiex.finance/v1/currencies/networks/activeimport requests
url = "https://api.obiex.finance/v1/currencies/networks/active"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.obiex.finance/v1/currencies/networks/active', 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.obiex.finance/v1/currencies/networks/active",
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.obiex.finance/v1/currencies/networks/active"
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.obiex.finance/v1/currencies/networks/active")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.obiex.finance/v1/currencies/networks/active")
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{
"message": "Ok",
"data": {
"BTC": {
"currencyName": "Bitcoin",
"networks": [
{
"networkName": "Bitcoin",
"networkCode": "BTC",
"minimumDeposit": 0.00002,
"depositFee": 0,
"minimumWithdrawal": 1e-7,
"withdrawalFee": 0.0001,
"maximumDecimalPlaces": 7,
"receiveFeeType": "FLAT",
"withdrawalFeeType": "PERCENTAGE",
"isReceivable": true,
"isWithdrawable": true
}
]
},
"USDT": {
"currencyName": "Tether",
"networks": [
{
"networkName": "Ethereum (ERC20)",
"networkCode": "ETH",
"minimumDeposit": 0,
"depositFee": 0,
"minimumWithdrawal": 15,
"withdrawalFee": 4,
"maximumDecimalPlaces": 4,
"receiveFeeType": "PERCENTAGE",
"withdrawalFeeType": "FLAT",
"isReceivable": true,
"isWithdrawable": true
},
{
"networkName": "Polygon (MATIC)",
"networkCode": "MATIC",
"minimumDeposit": 0,
"depositFee": 0,
"minimumWithdrawal": 10,
"withdrawalFee": 1,
"maximumDecimalPlaces": 4,
"receiveFeeType": "PERCENTAGE",
"withdrawalFeeType": "FLAT",
"isReceivable": false,
"isWithdrawable": true
},
{
"networkName": "Tron (TRC20)",
"networkCode": "TRX",
"minimumDeposit": 0,
"depositFee": 0,
"minimumWithdrawal": 10,
"withdrawalFee": 1,
"maximumDecimalPlaces": 4,
"receiveFeeType": "PERCENTAGE",
"withdrawalFeeType": "FLAT",
"isReceivable": true,
"isWithdrawable": true
},
{
"networkName": "Solana",
"networkCode": "SOL",
"minimumDeposit": 0,
"depositFee": 0,
"minimumWithdrawal": 10,
"withdrawalFee": 1,
"maximumDecimalPlaces": 4,
"receiveFeeType": "PERCENTAGE",
"withdrawalFeeType": "FLAT",
"isReceivable": true,
"isWithdrawable": true
},
{
"networkName": "BSC (BEP20)",
"networkCode": "BSC",
"minimumDeposit": 0,
"depositFee": 0,
"minimumWithdrawal": 10,
"withdrawalFee": 0.5,
"maximumDecimalPlaces": 4,
"receiveFeeType": "PERCENTAGE",
"withdrawalFeeType": "FLAT",
"isReceivable": true,
"isWithdrawable": true
}
]
}
}
}Currencies
Get Active Networks
Returns every supported currency, keyed by currency code, with the networks it can be sent or received on.
Each network includes two flags you should check before acting on a currency/network pair:
isReceivable: whentrue, you can generate a deposit address for the pair. Whenfalse, Create Deposit Address returns an error for that pair.isWithdrawable: whentrue, you can withdraw the currency on that network. Whenfalse, don’t offer that network for withdrawals.
Use the object key (for example USDT) as the currency code and networkCode (for example TRX) as the network code in other requests. Don’t use currencyName or networkName — they’re display labels only.
GET
/
currencies
/
networks
/
active
Get Active Networks
curl --request GET \
--url https://api.obiex.finance/v1/currencies/networks/activeimport requests
url = "https://api.obiex.finance/v1/currencies/networks/active"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.obiex.finance/v1/currencies/networks/active', 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.obiex.finance/v1/currencies/networks/active",
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.obiex.finance/v1/currencies/networks/active"
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.obiex.finance/v1/currencies/networks/active")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.obiex.finance/v1/currencies/networks/active")
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{
"message": "Ok",
"data": {
"BTC": {
"currencyName": "Bitcoin",
"networks": [
{
"networkName": "Bitcoin",
"networkCode": "BTC",
"minimumDeposit": 0.00002,
"depositFee": 0,
"minimumWithdrawal": 1e-7,
"withdrawalFee": 0.0001,
"maximumDecimalPlaces": 7,
"receiveFeeType": "FLAT",
"withdrawalFeeType": "PERCENTAGE",
"isReceivable": true,
"isWithdrawable": true
}
]
},
"USDT": {
"currencyName": "Tether",
"networks": [
{
"networkName": "Ethereum (ERC20)",
"networkCode": "ETH",
"minimumDeposit": 0,
"depositFee": 0,
"minimumWithdrawal": 15,
"withdrawalFee": 4,
"maximumDecimalPlaces": 4,
"receiveFeeType": "PERCENTAGE",
"withdrawalFeeType": "FLAT",
"isReceivable": true,
"isWithdrawable": true
},
{
"networkName": "Polygon (MATIC)",
"networkCode": "MATIC",
"minimumDeposit": 0,
"depositFee": 0,
"minimumWithdrawal": 10,
"withdrawalFee": 1,
"maximumDecimalPlaces": 4,
"receiveFeeType": "PERCENTAGE",
"withdrawalFeeType": "FLAT",
"isReceivable": false,
"isWithdrawable": true
},
{
"networkName": "Tron (TRC20)",
"networkCode": "TRX",
"minimumDeposit": 0,
"depositFee": 0,
"minimumWithdrawal": 10,
"withdrawalFee": 1,
"maximumDecimalPlaces": 4,
"receiveFeeType": "PERCENTAGE",
"withdrawalFeeType": "FLAT",
"isReceivable": true,
"isWithdrawable": true
},
{
"networkName": "Solana",
"networkCode": "SOL",
"minimumDeposit": 0,
"depositFee": 0,
"minimumWithdrawal": 10,
"withdrawalFee": 1,
"maximumDecimalPlaces": 4,
"receiveFeeType": "PERCENTAGE",
"withdrawalFeeType": "FLAT",
"isReceivable": true,
"isWithdrawable": true
},
{
"networkName": "BSC (BEP20)",
"networkCode": "BSC",
"minimumDeposit": 0,
"depositFee": 0,
"minimumWithdrawal": 10,
"withdrawalFee": 0.5,
"maximumDecimalPlaces": 4,
"receiveFeeType": "PERCENTAGE",
"withdrawalFeeType": "FLAT",
"isReceivable": true,
"isWithdrawable": true
}
]
}
}
}Was this page helpful?