FTX API

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

Overview

FTX was a major cryptocurrency derivatives and spot exchange whose REST and WebSocket APIs provided access to futures, options, and spot markets. The exchange collapsed in November 2022 and is no longer operational; the official domain now redirects to the bankruptcy claims portal. Any FTX API integration from existing codebases should be treated as defunct and replaced with an alternative exchange API such as Binance or Coinbase Advanced Trade.

💡

Beginner Tip

FTX is no longer active — do not build new projects against this API. If you are maintaining legacy code, migrate to an alternative exchange like Binance (api.binance.com) or Kraken (api.kraken.com), both of which offer similar endpoints and comprehensive documentation.

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

result[].name Market identifier string such as BTC-USD for spot or BTC-PERP for perpetual futures (historical reference only).
result[].price Last traded price for the market in USD (historical reference; API is no longer live).
result[].change24h Fractional 24-hour price change, e.g. 0.05 represents +5% (historical reference only).
result[].volume 24-hour trading volume in USD across all participating accounts (historical reference only).
result[].type Market type: spot, future, or prediction (historical reference only; exchange is defunct).

Implementation Example

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

Connection refused or DNS failure The FTX API servers are offline following the exchange collapse in November 2022
Replace FTX API calls with an equivalent endpoint from a live exchange; Binance GET /api/v3/ticker/price is a near-direct replacement for spot price queries.
Withdrawal or balance endpoint returns 0 All FTX accounts are frozen as part of the bankruptcy proceedings
File a claim through the official FTX claims portal (claims.ftx.com) rather than attempting API access for fund recovery.
API key authentication fails FTX API key validation is no longer operational
Migrate your application to an active exchange; most exchanges use similar HMAC-SHA256 signing so the auth logic is reusable with minimal changes.

Matrix Score Breakdown

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

Partially tested on Apr 5, 2026

Technical Specifications

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

Similar APIs

View All →