Indodax API

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

Overview

Indodax is Indonesia's largest cryptocurrency exchange API, allowing you to trade Bitcoin and dozens of altcoins against the Indonesian Rupiah (IDR). The public API provides real-time ticker prices, order books, and trade history for all IDR-denominated pairs without authentication. Private endpoints for placing orders and checking balances require an API key and HMAC signature.

💡

Beginner Tip

If you are new to Indodax, begin with the public ticker endpoint at https://indodax.com/api/ticker_all — it returns prices for all pairs in a single unauthenticated request, so you can explore the data structure risk-free.

Available Data

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

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

ticker.last The price of the most recently completed trade in IDR.
ticker.buy Current best bid (buy) price in IDR.
ticker.sell Current best ask (sell) price in IDR.
ticker.high Highest trade price recorded in the last 24 hours.
ticker.low Lowest trade price recorded in the last 24 hours.
ticker.vol_btc Total trading volume in BTC over the past 24 hours.

Implementation Example

const url = "https://github.com/btcid/indodax-official-api-docs";
// 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

error: invalid pair The trading pair format is wrong; Indodax uses lowercase with underscore before idr.
Use the format "btc_idr" or "eth_idr" (all lowercase with _idr suffix) for Indonesian Rupiah pairs.
Invalid nonce When calling private endpoints, the nonce value must be a strictly increasing integer.
Use a Unix timestamp in milliseconds as your nonce to ensure it always increments between requests.
Invalid credentials The HMAC-SHA512 signature for private API calls was computed incorrectly.
Sign the URL-encoded POST body using your Secret Key with HMAC-SHA512 and send the result in the Sign header.

Matrix Score Breakdown

🌐 Reachability 30/30
⚡ Speed 15/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 →