Get Pairs
curl --request GET \
--url https://api.obiex.finance/v1/trades/pairsimport requests
url = "https://api.obiex.finance/v1/trades/pairs"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.obiex.finance/v1/trades/pairs', 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/trades/pairs",
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/trades/pairs"
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/trades/pairs")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.obiex.finance/v1/trades/pairs")
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": [
{
"id": "ecd2bcf6-d83a-405a-885d-f43cb45ff460",
"createdAt": "2021-11-22T10:16:51.064Z",
"updatedAt": "2021-11-22T10:16:51.064Z",
"active": true,
"sourceId": "0bd5c17e-9ef8-4a76-86f2-980ae472bb37",
"targetId": "55456608-8c9f-499d-99b4-15ceafef3212",
"isSellable": true,
"isBuyable": true,
"isLeverage": false,
"source": {
"id": "0bd5c17e-9ef8-4a76-86f2-980ae472bb37",
"createdAt": "2021-11-22T10:16:50.784Z",
"updatedAt": "2021-11-22T10:16:50.784Z",
"active": true,
"name": "Binance Coin",
"code": "BNB",
"exchangeCode": null,
"leverageBaseCurrencyCode": null,
"leverageMultipler": 0,
"receivable": true,
"withdrawable": true,
"transferrable": true,
"minimumWithdrawal": 0,
"minimumDeposit": 0,
"maximumDecimalPlaces": 8,
"withdrawalFee": 0,
"receiveFee": 0,
"type": "CRYPTO",
"leverageType": null,
"receiveFeeType": "PERCENTAGE",
"withdrawalFeeType": "PERCENTAGE",
"maximumWithdrawalFee": 0,
"allowUtilityPayments": false,
"allowUnconfirmedTrading": true,
"allowVirtualCardTransactions": false,
"enableWithdrawalApproval": false
},
"target": {
"id": "55456608-8c9f-499d-99b4-15ceafef3212",
"createdAt": "2021-11-22T10:16:50.727Z",
"updatedAt": "2024-03-03T08:16:24.743Z",
"active": true,
"name": "Tether",
"code": "USDT",
"exchangeCode": null,
"leverageBaseCurrencyCode": null,
"leverageMultipler": null,
"receivable": true,
"withdrawable": true,
"transferrable": true,
"minimumWithdrawal": 5,
"minimumDeposit": 3,
"maximumDecimalPlaces": 4,
"withdrawalFee": 0,
"receiveFee": 0,
"type": "STABLE",
"leverageType": null,
"receiveFeeType": "PERCENTAGE",
"withdrawalFeeType": "PERCENTAGE",
"maximumWithdrawalFee": 0,
"allowUtilityPayments": true,
"allowUnconfirmedTrading": true,
"allowVirtualCardTransactions": true,
"enableWithdrawalApproval": false
}
}
]
}Trades
Get Pairs
GET
/
trades
/
pairs
Get Pairs
curl --request GET \
--url https://api.obiex.finance/v1/trades/pairsimport requests
url = "https://api.obiex.finance/v1/trades/pairs"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.obiex.finance/v1/trades/pairs', 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/trades/pairs",
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/trades/pairs"
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/trades/pairs")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.obiex.finance/v1/trades/pairs")
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": [
{
"id": "ecd2bcf6-d83a-405a-885d-f43cb45ff460",
"createdAt": "2021-11-22T10:16:51.064Z",
"updatedAt": "2021-11-22T10:16:51.064Z",
"active": true,
"sourceId": "0bd5c17e-9ef8-4a76-86f2-980ae472bb37",
"targetId": "55456608-8c9f-499d-99b4-15ceafef3212",
"isSellable": true,
"isBuyable": true,
"isLeverage": false,
"source": {
"id": "0bd5c17e-9ef8-4a76-86f2-980ae472bb37",
"createdAt": "2021-11-22T10:16:50.784Z",
"updatedAt": "2021-11-22T10:16:50.784Z",
"active": true,
"name": "Binance Coin",
"code": "BNB",
"exchangeCode": null,
"leverageBaseCurrencyCode": null,
"leverageMultipler": 0,
"receivable": true,
"withdrawable": true,
"transferrable": true,
"minimumWithdrawal": 0,
"minimumDeposit": 0,
"maximumDecimalPlaces": 8,
"withdrawalFee": 0,
"receiveFee": 0,
"type": "CRYPTO",
"leverageType": null,
"receiveFeeType": "PERCENTAGE",
"withdrawalFeeType": "PERCENTAGE",
"maximumWithdrawalFee": 0,
"allowUtilityPayments": false,
"allowUnconfirmedTrading": true,
"allowVirtualCardTransactions": false,
"enableWithdrawalApproval": false
},
"target": {
"id": "55456608-8c9f-499d-99b4-15ceafef3212",
"createdAt": "2021-11-22T10:16:50.727Z",
"updatedAt": "2024-03-03T08:16:24.743Z",
"active": true,
"name": "Tether",
"code": "USDT",
"exchangeCode": null,
"leverageBaseCurrencyCode": null,
"leverageMultipler": null,
"receivable": true,
"withdrawable": true,
"transferrable": true,
"minimumWithdrawal": 5,
"minimumDeposit": 3,
"maximumDecimalPlaces": 4,
"withdrawalFee": 0,
"receiveFee": 0,
"type": "STABLE",
"leverageType": null,
"receiveFeeType": "PERCENTAGE",
"withdrawalFeeType": "PERCENTAGE",
"maximumWithdrawalFee": 0,
"allowUtilityPayments": true,
"allowUnconfirmedTrading": true,
"allowVirtualCardTransactions": true,
"enableWithdrawalApproval": false
}
}
]
}Response
200 - application/json
Get Trade Pairs
The response is of type object.
Was this page helpful?
⌘I