All Projects → ccxt-rest → Ccxt Rest

ccxt-rest / Ccxt Rest

Licence: mit
Open Source Unified REST API of 100+ Crypto Exchange Sites (18k+ docker pulls) - https://ccxt-rest.io/

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Ccxt Rest

Ccxt
A JavaScript / Python / PHP cryptocurrency trading API with support for more than 100 bitcoin/altcoin exchanges
Stars: ✭ 22,501 (+10614.76%)
Mutual labels:  api, bot, ethereum, bitcoin, cryptocurrency, btc, eth, trading, arbitrage, exchange, crypto
Ccxt.net
CCXT.NET – CryptoCurrency eXchange Trading Library for .NET
Stars: ✭ 89 (-57.62%)
Mutual labels:  api, bot, bitcoin, cryptocurrency, trading, arbitrage, exchange, crypto
Qtbitcointrader
Secure multi crypto exchange trading client
Stars: ✭ 520 (+147.62%)
Mutual labels:  ethereum, bitcoin, cryptocurrency, btc, trading, exchange, crypto
Bot18
Bot18 is a high-frequency cryptocurrency trading bot developed by Zenbot creator @carlos8f
Stars: ✭ 157 (-25.24%)
Mutual labels:  ethereum, bitcoin, cryptocurrency, btc, eth, trading, arbitrage
Coinbase Pro Node
Coinbase Pro API written in TypeScript and covered by tests.
Stars: ✭ 116 (-44.76%)
Mutual labels:  api, ethereum, bitcoin, cryptocurrency, trading, exchange
Multicurrencywallet
Bitcoin, Ethereum, ERC20 crypto wallets with Atomic Swap exchange. Release announce: https://twitter.com/SwapOnlineTeam/status/1321844352369500160
Stars: ✭ 136 (-35.24%)
Mutual labels:  ethereum, bitcoin, cryptocurrency, btc, exchange, crypto
Cbpro Trader
Automated cryptocurrency trading on Coinbase Pro (formerly gdax-trader)
Stars: ✭ 171 (-18.57%)
Mutual labels:  ethereum, bitcoin, cryptocurrency, btc, eth, trading
Cryptotrader
This is an experimental trading bot framework written in PHP. It may contain bugs and should not be trusted with much money
Stars: ✭ 108 (-48.57%)
Mutual labels:  bot, ethereum, bitcoin, btc, eth, trading
Cryptotrader
A cryptocurrency trader for all famous exchanges
Stars: ✭ 228 (+8.57%)
Mutual labels:  ethereum, bitcoin, cryptocurrency, trading, arbitrage, exchange
Kupi Terminal
Ccxt based, open source, customized, extendable trading platform that supports 130+ crypto exchanges.
Stars: ✭ 104 (-50.48%)
Mutual labels:  bot, bitcoin, cryptocurrency, trading, exchange, crypto
Uniswap Python
🦄 The unofficial Python client for the Uniswap exchange.
Stars: ✭ 191 (-9.05%)
Mutual labels:  api, ethereum, eth, trading, exchange, crypto
Socktrader
🚀 Websocket based trading bot for 💰cryptocurrencies 📈
Stars: ✭ 152 (-27.62%)
Mutual labels:  bot, bitcoin, cryptocurrency, trading, exchange, crypto
Cryptolist
Curated collection of blockchain & cryptocurrency resources.
Stars: ✭ 3,501 (+1567.14%)
Mutual labels:  api, ethereum, bitcoin, cryptocurrency, btc, eth
Telegram Kraken Bot
Python bot to trade on Kraken via Telegram
Stars: ✭ 156 (-25.71%)
Mutual labels:  bot, ethereum, bitcoin, cryptocurrency, btc, eth
Jesse
An advanced crypto trading bot written in Python
Stars: ✭ 1,038 (+394.29%)
Mutual labels:  bot, bitcoin, cryptocurrency, trading, crypto
Openapi
DragonEx OpenAPI
Stars: ✭ 54 (-74.29%)
Mutual labels:  ethereum, bitcoin, cryptocurrency, btc, eth
Crypto Trading Bot
Cryptocurrency trading bot in javascript for Bitfinex, Bitmex, Binance, FTX, Bybit ... (public edition)
Stars: ✭ 1,089 (+418.57%)
Mutual labels:  bot, cryptocurrency, trading, exchange, crypto
Octobot
Cryptocurrency trading bot: high frequency, daily trading, social trading, ...
Stars: ✭ 706 (+236.19%)
Mutual labels:  bitcoin, cryptocurrency, trading, arbitrage, exchange
Arbitrader
A market neutral cryptocurrency trading bot.
Stars: ✭ 66 (-68.57%)
Mutual labels:  ethereum, bitcoin, cryptocurrency, btc, arbitrage
My Token
📈Track token prices of your favorite exchanges in terminal!
Stars: ✭ 141 (-32.86%)
Mutual labels:  ethereum, bitcoin, cryptocurrency, btc, exchange

CCXT-REST

Connect to 100+ Crypto Currency eXchange Trading platforms using the same REST API!

Build Status npm NPM Downloads Docker Pulls Supported Exchanges

Gitter

Hire Us

Table of Contents

Introduction

CCXT-REST provides a Unified REST APIs to allow clients access to retrieve data (ticker, order book, trades, your order, your trades, balances, etc) and to create and cancel orders from over 100 cryptocurrency exhange sites. And it is built on top of the popular open source project CCXT

Installation

You can install either through docker or as a global node package

Docker

$ docker run -p 3000:3000 ccxtrest/ccxt-rest

NPM Package

$ npm install -g ccxt-rest
$ ccxt-rest

Getting Started

CCXT-REST supports over 100 crytpocurrency exchange sites. If you want to access public data, for most exchanges, you can access them directly without any API Keys or Secret.

  • GET:/exchanges/{exchangeName}/markets
  • GET:/exchanges/{exchangeName}/ticker
  • GET:/exchanges/{exchangeName}/tickers
  • GET:/exchanges/{exchangeName}/orderBook
  • GET:/exchanges/{exchangeName}/trades

In binance, it would look something like this

  • GET:/exchanges/binance/markets
  • GET:/exchanges/binance/ticker?symbol=BTC/USDT
  • GET:/exchanges/binance/tickers
  • GET:/exchanges/binance/orderBook?symbol=BTC/USDT
  • GET:/exchanges/binance/trades?symbol=BTC/USDT

However, some exchanges though require you to have an API Key and Secret even when accessing public data. For example, for cointiger, you would need to get an API Key and Secret first from cointiger see cointiger's official documentation for more info, and then you would need to provide those to ccxt-rest

  • POST:/exchanges/cointiger -d {"id":"myCoinTiger","apiKey":"myApiKey","secret":"$hcreT"}
  • GET:/exchanges/cointiger/markets -H 'Authorization: Bearer xxx.yyy.zzz'(where xxx.yyy.zzz was part of the response of POST:/exchanges/cointiger)
  • GET:/exchanges/cointiger/ticker?symbol=BTC/LTC -H 'Authorization: Bearer xxx.yyy.zzz'
  • GET:/exchanges/cointiger/tickers -H 'Authorization: Bearer xxx.yyy.zzz'
  • GET:/exchanges/cointiger/orderBook?symbol=BTC/LTC -H 'Authorization: Bearer xxx.yyy.zzz'
  • GET:/exchanges/cointiger/trades?symbol=BTC/LTC -H 'Authorization: Bearer xxx.yyy.zzz'

Lastly, for private data like your user orders, trades, balances and for actions like placing and cancelling orders, you would definitely need to provide the API Key and Secret for your exchange to ccxt-rest.

CCXT-REST Overview


Note: The API listing below is now comprehensive. For a full list of APIs supported, see https://ccxt-rest.io


Providing API Keys and Secret

$ curl -X POST http://localhost:3000/exchange/binance \
  -H 'Accept: application/json'
  -d {
    "id" : "myBinance",
    "apiKey" : "myApiKey",
    "secret" : "s3cr3t"
  }

This would then return something like this

{
  "token":"xxx.yyy.zzz"
}

List All Supported Currency Pairs

$ curl -X GET http://localhost:3000/exchange/binance/markets \
  -H 'Accept: application/json'

Get Ticker for a Currency Pair

$ curl -X GET http://localhost:3000/exchange/binance/ticker?symbol=BTC/USDT \
  -H 'Accept: application/json'

Get Order Book for a Currency Pair

$ curl -X GET http://localhost:3000/exchange/binance/orderBook?symbol=BTC/USDT \
  -H 'Accept: application/json'

Placing an Order

$ curl -X POST http://localhost:3000/exchange/binance/order \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer xxx.yyy.zzz'
  -d {
  "symbol": "string",
  "type": "market",
  "side": "buy",
  "amount": 0,
  "price": 0
}

Cancelling an Order

Note: 12345 is the id of the order you want to cancel

$ curl -X DELETE http://localhost:3000/exchange/binance/order/12345 \
  -H 'Accept: application/json'
  -H 'Authorization: Bearer xxx.yyy.zzz'

API

For a complete list of API, see https://ccxt-rest.io

CCXT-REST API Documentation

Exchange Summary

For a full list of supported exchanges and as to which of their APIs are public, private or even broken, checkout https://ccxt-rest.io/docs/exchange_api_status. The format there looks something like this

Note: The table below is just an example. This does NOT represent the current state of these API statuses

Exchange Connect Market Ticker Tickers Order Book Trades
... ... ... ... ... ... ...
(sample only) (sample only) (sample only) (sample only) (sample only) (sample only) (sample only)
binance Public API Public API Public API Public API Public API Public API
coinspot Public API Public API Private API Not Supported Private API Private API
gemini Public API Public API Public API Not Supported Public API Public API
kraken Public API Public API Public API Public API Public API Public API
poloniex Public API Public API Public API Public API Public API Public API
(sample only) (sample only) (sample only) (sample only) (sample only) (sample only) (sample only)
... ... ... ... ... ... ...

Note: The table above is just an example. This does NOT represent the current state of these API statuses

For full list of the current statuses, see https://ccxt-rest.io/docs/exchange_api_status

Feature / Support Request

Need a feature or need support? Reach out and let us know what you need.

Hire Us

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].