CoinDCX API

Cryptocurrency / API Key Intermediate HTTPS
70 B
Measured Score 0 50 100 Speed 22/30 Consistency 20/20 Security 20/20 Browser access 0/15 Transparency 8/15 TESTED 2026-09-28

Overview

CoinDCX is an Indian cryptocurrency exchange offering REST APIs for market data, trading, and account management. Public endpoints expose order books, recent trades, and ticker data for all listed pairs without authentication. Authenticated endpoints enable order placement, balance queries, and trade history retrieval for CoinDCX accounts.

Beginner Tip

Start with the public ticker endpoint which needs no key: curl https://api.coindcx.com/exchange/ticker — it returns an array of all market pairs including current price and volume.

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.coindcx.com/exchange/ticker
Result
HTTP 200 · application/json · 200,719 bytes · compressed
Response time
64 ms (median of 3) · fastest 62 ms
Transport
TLSv1.3 · TLS_AES_256_GCM_SHA384 · certificate issued by Let's Encrypt
Browser CORS
No Access-Control-Allow-Origin header — call it from a server, not the browser
Served by
cloudflare
Answered
9 of 9 weekly checks (100%, since 2026-07-31)
Recorded
2026-09-28

Fields Returned

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

Field Type Value received
market string 0GUSDT
change_24_hour string -3.838
high string 0.26860000
low string 0.23830000
volume string 3118421.56760000
last_price string 0.25810000
bid string 0.25820000
ask string 0.25840000
timestamp integer 1790623919

Captured Response

Captured from a real request to https://api.coindcx.com/exchange/ticker on 2026-09-28. Long arrays and nested objects are truncated to keep the shape readable.

JSON Response · Captured
[
  {
    "market": "0GUSDT",
    "change_24_hour": "-3.838",
    "high": "0.26860000",
    "low": "0.23830000",
    "volume": "3118421.56760000",
    "last_price": "0.25810000",
    "bid": "0.25820000",
    "ask": "0.25840000",
    "timestamp": 1790623919
  }
]

Field Reference

market Trading pair identifier (e.g., BTCUSDT).
last_price Most recent trade price for the pair.
bid Highest buy order price currently in the order book.
ask Lowest sell order price currently in the order book.
volume 24-hour trading volume in the base currency.

Implementation Example

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

Request
const url = "https://api.coindcx.com/exchange/ticker";
// 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-09-28. 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 application/json
{
  "status": "error",
  "message": "not_found",
  "code": 404
}

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.

401 Unauthorized on private endpoints HMAC signature computed incorrectly
✓ Generate the signature by HMAC-SHA256 hashing the JSON body string with your secret key, then pass it in the X-AUTH-SIGNATURE header alongside X-AUTH-APIKEY.
Market pair not found Using wrong pair format (e.g., BTC/USDT instead of BTCUSDT)
✓ CoinDCX uses concatenated pair symbols without separators — check /exchange/v1/markets for valid market names.
Timestamp mismatch error The timestamp in the request body is too old
✓ Use the current Unix timestamp in milliseconds and send the request within 5 seconds of generating it.

Measured Score Breakdown

Live HTTP request to the API endpoint

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

Fully tested on Sep 28, 2026

Technical Specifications

Auth API Key
HTTPS REQUIRED
CORS UNKNOWN
Category Cryptocurrency
Difficulty Intermediate
Endpoint last called: 2026-09-28

Similar APIs

View All →