Deploy CCXT REST API

CCXT REST API — 100+ cryptocurrency exchanges via a simple HTTP interface

Deploy CCXT REST API

Just deployed

CCXT REST API — Railway Template

A REST API server wrapping CCXT — the world's most popular cryptocurrency exchange trading library. Exposes 100+ exchanges via a simple HTTP interface.

Endpoints

MethodPathDescription
GET/healthHealth check
GET/exchangesList all supported exchange IDs
GET/exchange/:idGet exchange info, markets, and symbols
GET/ticker/:exchangeId/:symbolGet ticker for a symbol (e.g., BTC/USDT)
GET/orderbook/:exchangeId/:symbolGet order book
GET/ohlcv/:exchangeId/:symbolGet OHLCV candles (query: timeframe, limit)
GET/trades/:exchangeId/:symbolGet recent trades (query: limit)

Example

# List all exchanges
curl https://your-app.up.railway.app/exchanges

# Get Binance BTC/USDT ticker
curl https://your-app.up.railway.app/ticker/binance/BTC/USDT

# Get OHLCV candles
curl "https://your-app.up.railway.app/ohlcv/binance/BTC/USDT?timeframe=1d&limit=30"

Deploy

Deploy to Railway

Environment Variables

VariableDefaultDescription
PORT8080HTTP server port

License

MIT


Deploy and Host

Deploy this template on Railway with one click. Railway provides compute, TLS at the edge, and a public URL. The service restarts automatically on failures.

About Hosting

This template runs as a single container with no external dependencies. It's a stateless REST API that proxies requests to public cryptocurrency exchange APIs in real-time — no database, no persistent storage, no volumes required.

Why Deploy

  • One-click deploy — No configuration, no setup, just deploy
  • Zero external dependencies — Single container, no database needed
  • Automatic HTTPS — Railway provisions TLS certificates automatically
  • Self-healing — Automatic restarts on failure
  • Stateless — No data to manage, no backups to worry about

Common Use Cases

  • Cryptocurrency price tracking dashboard backend
  • Trading bot data feed
  • Exchange market data aggregation
  • Personal crypto portfolio API
  • Lightweight deployment on Railway's starter resources

Dependencies for

Deployment Dependencies

CCXT REST API requires no external dependencies. It connects directly to public exchange APIs over HTTPS.

  • Railway Account — hosting platform
  • No external database, cache, or message queue required

Template Content

More templates in this category

View Template
Rocky Linux
Hosted Rocky Linux 9 workspace with SSH and persistent storage. 🚀

codestorm
44
View Template
Foundry Virtual Tabletop
A Self-Hosted & Modern Roleplaying Platform

Lucas
71
View Template
Letta Code Remote
Run a Letta Code agent 24/7. No inbound ports, just deploy.

Letta
51