CryptoExchange.Net
CryptoExchange.Net is a base library which is used to implement different cryptocurrency (exchange) API's. It provides a standardized way of implementing different API's, which results in a very similar experience for users of the API implementations.
The following API's are directly supported. Note that there are 3rd party implementations going around, but only these are created and supported by me
| Exchange | Repository | Nuget |
|---|---|---|
| Binance | JKorf/Binance.Net | |
| Bitfinex | JKorf/Bitfinex.Net | |
| Bitget | JKorf/Bitget.Net | |
| Bybit | JKorf/Bybit.Net | |
| CoinEx | JKorf/CoinEx.Net | |
| CoinGecko | JKorf/CoinGecko.Net | |
| Huobi | JKorf/Huobi.Net | |
| Kraken | JKorf/Kraken.Net | |
| Kucoin | JKorf/Kucoin.Net | |
| Mexc | JKorf/Mexc.Net | |
| OKX | JKorf/OKX.Net |
Discord
A Discord server is available here. Feel free to join for discussion and/or questions around the CryptoExchange.Net and implementation libraries.
Support the project
I develop and maintain this package on my own for free in my spare time, any support is greatly appreciated.
DonateMake a one time donation in a crypto currency of your choice. If you prefer to donate a currency not listed here please contact me.
Btc: bc1qz0jv0my7fc60rxeupr23e75x95qmlq6489n8gh
Eth: 0x8E21C4d955975cB645589745ac0c46ECA8FAE504
Alternatively, sponsor me on Github using Github Sponsors.
Getting Started
All packages are available on Nuget. After installing the package the API is available by using one of the library clients, or through the ICrypoRestClient, ICryptoSocketClient or ISpotClient interfaces.
Installation
dotnet add package Binance.Netdotnet add package Bitfinex.Netdotnet add package JK.Bitget.Netdotnet add package Bybit.Netdotnet add package CoinEx.Netdotnet add package Huobi.Netdotnet add package KrakenExchange.Netdotnet add package Kucoin.Netdotnet add package JK.Mexc.Netdotnet add package JK.OKX.NetREST API client
Websocket API client
Common Clients
Options & Authorization
Features
Orderbooks
Logging
Ratelimiting
Examples
using Binance.Net;
var client = new BinanceRestClient();
client.SpotApi.Exchange.GetExchangeInfoAsync();