Get Tradable Currencies
curl --request GET \
--url https://api.obiex.finance/v1/currencies/tradeable \
--header 'x-api-key: <api-key>'import requests
url = "https://api.obiex.finance/v1/currencies/tradeable"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.obiex.finance/v1/currencies/tradeable', 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/tradeable",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <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"
"net/http"
"io"
)
func main() {
url := "https://api.obiex.finance/v1/currencies/tradeable"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
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/tradeable")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.obiex.finance/v1/currencies/tradeable")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"message": "Ok",
"data": [
{
"id": "994487d0-b233-4334-92e7-845c0c70b612",
"active": true,
"name": "ApeCoin",
"code": "APE",
"receivable": false,
"withdrawable": false,
"transferrable": true,
"minimumWithdrawal": 0,
"maximumWithdrawal": 10000,
"maximumDecimalPlaces": 8,
"minimumLiquidity": 0,
"withdrawalFee": 0,
"receiveFee": 0,
"type": "CRYPTO",
"leverageType": null,
"receiveFeeType": "PERCENTAGE",
"withdrawalFeeType": "PERCENTAGE",
"sourcePairs": [
{
"id": "a0c9af09-5a33-4356-b052-31da190a9059",
"active": true,
"sourceId": "994487d0-b233-4334-92e7-845c0c70b612",
"targetId": "527cbb88-9ea5-4bf7-b542-25be4a3d04cf",
"isSellable": true,
"isBuyable": true,
"isLeverage": false,
"target": {
"id": "527cbb88-9ea5-4bf7-b542-25be4a3d04cf",
"createdAt": "2021-06-07T21:58:40.572Z",
"updatedAt": "2022-05-13T15:36:02.819Z",
"active": true,
"name": "Tether",
"code": "USDT",
"exchangeCode": null,
"leverageBaseCurrencyCode": null,
"leverageMultipler": null,
"cardWithdrawalMultiplier": 1,
"cardFundingMultiplier": 1,
"receivable": true,
"withdrawable": true,
"transferrable": true,
"minimumWithdrawal": 0,
"maximumWithdrawal": 1000000,
"maximumDecimalPlaces": 4,
"minimumLiquidity": 100000,
"withdrawalFee": 0,
"receiveFee": 0,
"type": "STABLE",
"leverageType": null,
"receiveFeeType": "PERCENTAGE",
"withdrawalFeeType": "PERCENTAGE"
}
},
{
"id": "003707ed-bc93-474f-b1c5-1b0c88f40156",
"createdAt": "2022-03-20T09:16:08.734Z",
"updatedAt": "2022-03-20T12:40:04.858Z",
"active": true,
"sourceId": "994487d0-b233-4334-92e7-845c0c70b612",
"targetId": "5746dfdf-6432-44e2-954d-b778b979e53b",
"isSellable": true,
"isBuyable": true,
"isLeverage": false,
"target": {
"id": "5746dfdf-6432-44e2-954d-b778b979e53b",
"createdAt": "2021-06-07T21:58:40.609Z",
"updatedAt": "2021-11-01T15:05:37.701Z",
"active": true,
"name": "USD Coin",
"code": "USDC",
"exchangeCode": null,
"leverageBaseCurrencyCode": null,
"leverageMultipler": null,
"cardWithdrawalMultiplier": 1,
"cardFundingMultiplier": 1,
"receivable": true,
"withdrawable": true,
"transferrable": true,
"minimumWithdrawal": 0,
"maximumWithdrawal": 5000000,
"maximumDecimalPlaces": 4,
"minimumLiquidity": 50000,
"withdrawalFee": 0,
"receiveFee": 0,
"type": "STABLE",
"leverageType": null,
"receiveFeeType": "PERCENTAGE",
"withdrawalFeeType": "PERCENTAGE"
}
}
]
}
]
}Currencies
Get Tradable Currencies
GET
/
currencies
/
tradeable
Get Tradable Currencies
curl --request GET \
--url https://api.obiex.finance/v1/currencies/tradeable \
--header 'x-api-key: <api-key>'import requests
url = "https://api.obiex.finance/v1/currencies/tradeable"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.obiex.finance/v1/currencies/tradeable', 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/tradeable",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <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"
"net/http"
"io"
)
func main() {
url := "https://api.obiex.finance/v1/currencies/tradeable"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
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/tradeable")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.obiex.finance/v1/currencies/tradeable")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"message": "Ok",
"data": [
{
"id": "994487d0-b233-4334-92e7-845c0c70b612",
"active": true,
"name": "ApeCoin",
"code": "APE",
"receivable": false,
"withdrawable": false,
"transferrable": true,
"minimumWithdrawal": 0,
"maximumWithdrawal": 10000,
"maximumDecimalPlaces": 8,
"minimumLiquidity": 0,
"withdrawalFee": 0,
"receiveFee": 0,
"type": "CRYPTO",
"leverageType": null,
"receiveFeeType": "PERCENTAGE",
"withdrawalFeeType": "PERCENTAGE",
"sourcePairs": [
{
"id": "a0c9af09-5a33-4356-b052-31da190a9059",
"active": true,
"sourceId": "994487d0-b233-4334-92e7-845c0c70b612",
"targetId": "527cbb88-9ea5-4bf7-b542-25be4a3d04cf",
"isSellable": true,
"isBuyable": true,
"isLeverage": false,
"target": {
"id": "527cbb88-9ea5-4bf7-b542-25be4a3d04cf",
"createdAt": "2021-06-07T21:58:40.572Z",
"updatedAt": "2022-05-13T15:36:02.819Z",
"active": true,
"name": "Tether",
"code": "USDT",
"exchangeCode": null,
"leverageBaseCurrencyCode": null,
"leverageMultipler": null,
"cardWithdrawalMultiplier": 1,
"cardFundingMultiplier": 1,
"receivable": true,
"withdrawable": true,
"transferrable": true,
"minimumWithdrawal": 0,
"maximumWithdrawal": 1000000,
"maximumDecimalPlaces": 4,
"minimumLiquidity": 100000,
"withdrawalFee": 0,
"receiveFee": 0,
"type": "STABLE",
"leverageType": null,
"receiveFeeType": "PERCENTAGE",
"withdrawalFeeType": "PERCENTAGE"
}
},
{
"id": "003707ed-bc93-474f-b1c5-1b0c88f40156",
"createdAt": "2022-03-20T09:16:08.734Z",
"updatedAt": "2022-03-20T12:40:04.858Z",
"active": true,
"sourceId": "994487d0-b233-4334-92e7-845c0c70b612",
"targetId": "5746dfdf-6432-44e2-954d-b778b979e53b",
"isSellable": true,
"isBuyable": true,
"isLeverage": false,
"target": {
"id": "5746dfdf-6432-44e2-954d-b778b979e53b",
"createdAt": "2021-06-07T21:58:40.609Z",
"updatedAt": "2021-11-01T15:05:37.701Z",
"active": true,
"name": "USD Coin",
"code": "USDC",
"exchangeCode": null,
"leverageBaseCurrencyCode": null,
"leverageMultipler": null,
"cardWithdrawalMultiplier": 1,
"cardFundingMultiplier": 1,
"receivable": true,
"withdrawable": true,
"transferrable": true,
"minimumWithdrawal": 0,
"maximumWithdrawal": 5000000,
"maximumDecimalPlaces": 4,
"minimumLiquidity": 50000,
"withdrawalFee": 0,
"receiveFee": 0,
"type": "STABLE",
"leverageType": null,
"receiveFeeType": "PERCENTAGE",
"withdrawalFeeType": "PERCENTAGE"
}
}
]
}
]
}Was this page helpful?
⌘I