New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

BybitApi.Net

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

BybitApi.Net

Bybit is a client library designed to interact with the Bybit REST and Websocket APIs. It translates all data into easy-to-understand models and enum values. Key features include automatic websocket connection and reconnection management, a client-side order book implementation, seamless integration with other exchange client libraries, and more.

Source
nugetNuGet
Version
1.24.8
Version published
Total downloads
710K
Maintainers
1
Created
Source

Bybit Easy API

Bybit Easy API is a simple and efficient .NET client library for interacting with the Bybit cryptocurrency exchange API. It provides easy-to-use methods to access Bybit’s public and private endpoints, allowing developers to integrate Bybit trading functionality into their applications seamlessly.

Features

  • Access public market data endpoints
  • Place and manage orders
  • Retrieve account information and balances
  • Handle real-time WebSocket data streams
  • Easy authentication with API keys
  • Asynchronous programming support for high performance

Installation

You can install the package via NuGet Package Manager:

Install-Package BybitApi.Net

Or via .NET CLI:

dotnet add package BybitApi.Net

Usage

REST Endpoints

// Get the ETH/USDT ticker via rest request
var restClient = new BybitRestClient();
var tickerResult = await restClient.V5Api.ExchangeData.GetSpotTickersAsync("ETHUSDT");
var lastPrice = tickerResult.Data.List.First().LastPrice;

Websocket streams

var socketClient = new BybitSocketClient();
var tickerSubscriptionResult = socketClient.V5SpotApi.SubscribeToTickerUpdatesAsync("ETHUSDT", (update) =>
{
	var lastPrice = update.Data.LastPrice;
});

Documentation

Detailed documentation is available on the GitHub repository.

Contributing

Contributions are welcome! Please open issues or submit pull requests via the GitHub repository.

License

This project is licensed under the MIT License - see the LICENSE file for details.

By Jack Freeman

FAQs

Package last updated on 29 Jul 2025

Related posts