$npx skillfedfor your agent

pybit

Python3 Bybit HTTP/WebSocket API Connector

Worth itPyPI Python ModulesReleased Jul 2026310.6K downloads / moMIT LicensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pybit-5.17.0-py2.py3-none-any.whl
v5.17.0 · released 2026-07-14 · Python >=3.10 · 3 runtime deps: requests, websocket-client, pycryptodome

Yes. pybit is the official Bybit API connector, actively maintained, with low install friction and permissive licensing. It has no known vulnerabilities, supports current Python versions (3.10+), and is designed specifically for traders and developers integrating with Bybit. Install it if you need to programmatically trade or monitor accounts on Bybit.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or higher; Bybit API credentials (api_key and api_secret) needed for authenticated requests.
  • Low friction: pure-Python wheel with three common runtime dependencies (requests, websocket-client, pycryptodome).
  • Actively maintained with a release within the last month; last commit on 2026-07-30 and 666 repository stars indicate ongoing development.

License · maintenance · safety

MIT License (permissive) — MIT License (permissive) — you can use, modify, and distribute pybit freely in commercial and private projects with minimal restrictions.

last release 2026-07-14 (31 days) · last repo commit 2026-07-30 · 666 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 310,602 downloads/mo, #7,744 on PyPI

Verify before relying

pip install pybit

from pybit.unified_trading import HTTP

session = HTTP(testnet=False, api_key="...", api_secret="...")
orderbook = session.get_orderbook(category="linear", symbol="BTCUSDT")
  • Whether all Bybit API endpoints are currently supported or if there are known gaps in coverage.
  • Performance characteristics under high-frequency or bulk-order scenarios beyond the USDC Options example.
  • WebSocket reconnection and error-handling behavior during network interruptions.
Same gist for agents: .md · .json

What it is and what it does

pybit is the official lightweight Python connector for Bybit's HTTP and WebSocket APIs, designed to give traders and developers direct access to Bybit's market data, trading, account management, and P2P endpoints. It wraps Bybit's HTTP and WebSocket interfaces using requests and websocket-client, avoiding the overhead of auto-generated connectors. The module is actively maintained by Bybit employees and supports both testnet and mainnet environments, with a unified session object that handles both HTTP requests and WebSocket subscriptions.

You use it by instantiating an HTTP session with your API credentials, then calling methods like get_orderbook(), place_batch_order(), or get_account_information() to retrieve data or submit orders. It supports multiple trading categories (linear perpetuals, inverse perpetuals, spot, options) and P2P operations, with examples provided for common workflows like bulk order placement and market data retrieval.

Use it for

  • Automate order placement and management across Bybit's perpetual, spot, and options markets.
  • Stream real-time market data and order updates via WebSocket for algorithmic trading strategies.
  • Build a trading bot that monitors the orderbook and executes conditional trades programmatically.
  • Retrieve account balances, positions, and trade history for portfolio tracking and reconciliation.
  • Execute bulk operations, such as placing multiple options orders in a single batch request.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

pybit is the official Bybit API connector, actively maintained, with low install friction and permissive licensing. It has no known vulnerabilities, supports current Python versions (3.10+), and is designed specifically for traders and developers integrating with Bybit. Install it if you need to programmatically trade or monitor accounts on Bybit.

Install

pybit on PyPI

Before you install

Low friction: pure-Python wheel with three common runtime dependencies (requests, websocket-client, pycryptodome). Actively maintained with a release within the last month; last commit on 2026-07-30 and 666 repository stars indicate ongoing development.

Requires Python 3.10 or higher; Bybit API credentials (api_key and api_secret) needed for authenticated requests.

License in practice

MIT License (permissive) — you can use, modify, and distribute pybit freely in commercial and private projects with minimal restrictions.

Quickstart

pip install pybit

from pybit.unified_trading import HTTP

session = HTTP(testnet=False, api_key="...", api_secret="...")
orderbook = session.get_orderbook(category="linear", symbol="BTCUSDT")

Verify before relying

  • Whether all Bybit API endpoints are currently supported or if there are known gaps in coverage.
  • Performance characteristics under high-frequency or bulk-order scenarios beyond the USDC Options example.
  • WebSocket reconnection and error-handling behavior during network interruptions.

Package facts

LicenseMIT License permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
requestswebsocket-clientpycryptodome
MaintenanceActively maintained 31 days since the last release
Last repo commit
First released
Downloads310,602 / month, #7,744 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Topic :: Software Development :: Libraries :: Python Modules

Evidence: pybit-5.17.0-py2.py3-none-any.whl

Tags

Capabilities
bybit api connector pythoncryptocurrency exchange api clientbybit trading api wrapperwebsocket trading clientbybit http api pythoncrypto trading automationbybit order management
Topics
trading-apicryptocurrencywebsocket
PyPI keywords
bybitapiconnector

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “bybit api connector python”

  • pybitpybit is the official Python connector for Bybit's HTTP and WebSocket…
  • airbyte-cdkA framework for building Airbyte connectors that extract data from…
  • connector-sdk-typesProvides auto-generated Pydantic type definitions for the Lumos…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also binance-connector · python-binance · coinbase-advanced-py · py-clob-client · python-kraken-sdk · ccxt · alpaca-py · python-okx · kiteconnect · python-amazon-sp-api