Get Exchange Info

Gets a list of all known currencies.
You can use exchangeinfo endpoint for all tradable pairs and their quantity or price scales.

1. Trade Information

pairId, numeratorScale, denominatorScale, maxLimitOrderPrice and minLimitOrderPrice information can be displayed with exhangeinfo endpoint.
For more information about numeratorScale and denominatorScale, you can check our Pair Scale article.
What is maxLimitOrderPrice and minLimitOrderPrice ?
  • The maxLimitOrderPrice and minLimitOrderPrice values will be updated dynamically.
  • The values will be arranged as follows
1/10 of the current price of the pair.
minLimitOrderPrice
*10 of the current price of the pair.
maxLimitOrderPrice
Example:
name
last
minLimitOrderPrice
maxLimitOrderPrice
XRPTRY
15.86 TRY
1.586 TRY
158.6 TRY

Response

{
"data": {
"timeZone": "UTC",
"serverTime": 1645091654418,
"symbols": [
{
"id": 1,
"name": "BTCTRY",
"nameNormalized": "BTC_TRY",
"status": "TRADING",
"numerator": "BTC",
"denominator": "TRY",
"numeratorScale": 8,
"denominatorScale": 2,
"hasFraction": false,
"filters": [
{
"filterType": "PRICE_FILTER",
"minPrice": "0.0000000000001",
"maxPrice": "10000000",
"tickSize": "10",
"minExchangeValue": "99.91",
"minAmount": null,
"maxAmount": null
}
],
"orderMethods": [
"MARKET",
"LIMIT",
"STOP_MARKET",
"STOP_LIMIT"
],
"displayFormat": "#,###",
"commissionFromNumerator": false,
"order": 1000,
"priceRounding": false,
"isNew": false,
"marketPriceWarningThresholdPercentage": 0.2500000000000000,
"maximumOrderAmount": null,
"maximumLimitOrderPrice": 5895000.0000000000000000,
"minimumLimitOrderPrice": 58950.0000000000000000
}
}

2. Currency Information

You can also view minWithdrawal, minDeposit, precision and address details with exchangeInfo endpoint.
{
"id": 2,
"symbol": "BTC",
"minWithdrawal": 0.0005000000000000,
"minDeposit": 0.0001000000000000,
"precision": 8,
"address": {
"minLen": 25,
"maxLen": 96
},
"currencyType": "CRYPTO",
"tag": {
"enable": false,
"name": null,
"minLen": null,
"maxLen": null
},
"color": "#d48222",
"name": "Bitcoin",
"isAddressRenewable": true,
"getAutoAddressDisabled": true,
"isPartialWithdrawalEnabled": true,
"isNew": false
}
You can check the current cryptocurrency deposit and withdrawal status with exchangeInfo endpoint.
currencySymbol, withdrawalDisabled, depositDisabled
Status changes to true when deposits or withdrawals are turned off.
{
"currencySymbol":"Btc",
"withdrawalDisabled":false,
"depositDisabled":false
}
get
https://api.btcturk.com
/api/v2/server/exchangeinfo
Exchange Info

Exchange Info

PHP
Python
GoLang
Node.js
Ruby
<?php
$base = "https://api.btcturk.com";
$method = "/api/v2/server/exchangeinfo";
$uri = $base.$method;
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $uri);
curl_setopt($ch, CURLOPT_HTTP_VERSION, "CURL_HTTP_VERSION_1_2");
curl_setopt($ch, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$result = curl_exec($ch);
if (curl_errno($ch)) {
print_r(curl_error($ch));
}
$answer = json_decode($result);
print_r($answer);
import time, base64, hmac, hashlib, requests, json
base = "https://api.btcturk.com"
method = "/api/v2/server/exchangeinfo"
uri = base+method
result = requests.get(url=uri)
result = result.json()
print(json.dumps(result, indent=2))
uri := "https://api.btcturk.com/api/v2/server/exchangeinfo"
request, _ := http.NewRequest("GET", uri , nil)
request.Header.Add("Content-type", "application/json")
response, _ := http.DefaultClient.Do(request)
defer response.Body.Close()
body, _ := ioutil.ReadAll(response.Body)
fmt.Println(response)
fmt.Println(string(body))
const base = 'https://api.btcturk.com'
const method = '/api/v2/server/exchangeinfo'
const uri = base+method;
const options = {method: 'GET', headers: {'Content-type': 'application/json'}};
fetch(uri, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error('error:' + err));
require 'uri'
require 'net/http'
require 'openssl'
url = URI("https://api.btcturk.com/api/v2/server/exchangeinfo")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Content-type"] = 'application/json'
response = http.request(request)
puts response.read_body