CoinDCX API

Cryptocurrency / API Key Intermediate HTTPS
Varies by plan (check documentation)

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.

Available Data

coin price in USD/EUR
market capitalization
24h price change
trading volume
circulating supply
stock price and symbol

Example Response

JSON Response
{
  "id": "bitcoin",
  "symbol": "btc",
  "current_price": 65432.1,
  "market_cap": 1280000000000,
  "price_change_24h": 1250.5,
  "price_change_percentage_24h": 1.95,
  "total_volume": 28500000000
}

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

const url = "https://docs.coindcx.com/";
// 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.

Common Errors & Troubleshooting

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.

Matrix Score Breakdown

🌐 Reachability 30/30
⚡ Speed 5/20
🔒 Security 15/15
🛠 Developer XP 12/20
✓ Reliability 10/15

Partially tested on Apr 5, 2026

Technical Specifications

Auth API Key
HTTPS REQUIRED
CORS UNKNOWN
Category Cryptocurrency
Difficulty Intermediate
Verified: 2026-04-04

Similar APIs

View All →