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

Request
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.

Metadata Score Breakdown

Estimated from metadata — endpoint not independently tested

This score is estimated from observable metadata — HTTPS support, authentication model, declared CORS, and documentation reachability — because the API requires authentication or exposes no publicly testable endpoint. The five-signal breakdown is only shown for live-tested APIs.

Metadata estimate · endpoint not independently tested

Technical Specifications

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

Similar APIs

View All →