BtcTurk API

Beginner's Pick Cryptocurrency / API Key Intermediate HTTPS CORS
63 C
Measured Score 0 50 100 Speed 15/30 Consistency 20/20 Security 20/20 Browser access 0/15 Transparency 8/15 TESTED 2026-08-10

Overview

BtcTurk is one of Turkey largest cryptocurrency exchanges, offering a public and authenticated REST API for accessing real-time price data and placing trades. The public endpoints return current orderbook data and ticker prices for TRY, USDT, and BTC trading pairs without authentication. The authenticated endpoints support order management and account balance queries using HMAC-signed requests.

Beginner Tip

Start with the free public ticker endpoint to get live prices without any setup — the CORS header is enabled so you can call it directly from a browser or frontend app. Use the pair list endpoint first to get valid pairSymbol values like BTCTRY or ETHTRY.

Measurement Record

What actually happened when we called this API from our own infrastructure. Every value below was recorded by the request, not copied from the provider's documentation.

Request
GET https://api.btcturk.com/api/v2/ticker?pairSymbol=BTCTRY
Result
HTTP 200 · application/json · 345 bytes · compressed
Response time
261 ms (median of 3) · fastest 253 ms
Transport
TLSv1.3 · TLS_AES_256_GCM_SHA384 · certificate issued by Google Trust Services
Browser CORS
No Access-Control-Allow-Origin header — call it from a server, not the browser
Served by
cloudflare
Recorded
2026-08-10

Fields Returned

Top-level fields present in the response we captured, with the type and value we actually received.

Field Type Value received
data array [1 item]
success boolean true
message null null
code integer 0

Captured Response

Captured from a real request to https://api.btcturk.com/api/v2/ticker?pairSymbol=BTCTRY on 2026-08-10. Long arrays and nested objects are truncated to keep the shape readable.

JSON Response · Captured
{
  "data": [
    {
      "pair": "BTCTRY",
      "pairNormalized": "BTC_TRY",
      "timestamp": 1786391371300,
      "last": 3052286,
      "high": 3112775,
      "low": 3041664,
      "bid": 3050770,
      "ask": 3051303,
      "open": 3101421,
      "volume": 26.19430217,
      "average": 3072867,
      "daily": -50118,
      "dailyPercent": -1.58,
      "denominatorSymbol": "TRY",
      "…": "(2 more fields)"
    }
  ],
  "success": true,
  "message": null,
  "code": 0
}

Implementation Example

Calls a real endpoint of this API. Replace any placeholder credentials with your own key.

Request
const url = "https://api.btcturk.com/api/v2/ticker?pairSymbol=BTCTRY";
// Replace headers or query params with the values required by this API.
const response = await fetch(url, {
  headers: {
  "X-API-Key": "YOUR_API_KEY"
  }
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data);

What Can You Build?

Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.

How This API Fails

We deliberately sent this API a broken request and recorded exactly what came back on 2026-08-10. Knowing the shape of an error before you hit it makes error handling much easier to write.

HTTP 404 Requesting a path that does not exist unknown

Returned an HTML error page rather than JSON — worth knowing if your client assumes every response can be parsed as JSON.

Common Errors & Troubleshooting

Generated guidance based on this API's documentation, not observed by us. Treat it as a starting point and check against the provider's own error reference.

Invalid pairSymbol parameter BtcTurk uses concatenated uppercase symbols like BTCTRY, not BTC/TRY or BTC-TRY.
Call https://api.btcturk.com/api/v2/server/exchangeinfo to retrieve the full list of valid pairSymbol values.
401 on authenticated endpoints HMAC authentication requires signing the nonce and api key together with your secret key.
Follow the HMAC-SHA256 signing guide in the BtcTurk docs carefully; a small formatting error will invalidate the signature.
Empty bids or asks in orderbook Some pairs may have thin liquidity and return empty sides of the order book.
Check market activity via the ticker endpoint first; if 24h volume is very low, the order book may be sparse.

Measured Score Breakdown

Live HTTP request to the API endpoint

Speed 15/30
Consistency 20/20
Security 20/20
Browser access 0/15
Transparency 8/15
Endpoint Response Time 261ms

Fully tested on Aug 10, 2026

Technical Specifications

Auth API Key
HTTPS REQUIRED
CORS YES
Category Cryptocurrency
Difficulty Intermediate
Endpoint last called: 2026-08-10

Similar APIs

View All →