$npx skillfedfor your agent

python-binance

Binance REST API python implementation

Worth itPyPI Python ModulesReleased Jun 2026629.2K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — python_binance-1.0.37-py2.py3-none-any.whl
v1.0.37 · released 2026-06-08 · 6 runtime deps: requests, six, dateparser, aiohttp, websockets, pycryptodome

Yes. The package is actively maintained, has no known vulnerabilities, low install friction, and a permissive MIT license. It covers the full Binance API surface with both sync and async support, making it the standard choice for Python-based Binance automation. Install it if you need to programmatically trade or fetch data from Binance.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires a Binance account and API key with appropriate permissions; testnet mode available via testnet=True parameter.
  • Low install friction with a pure-Python wheel distribution.
  • Active maintenance with a recent release (67 days ago) and 7197 GitHub stars.

License · maintenance · safety

MIT (permissive) — MIT license is permissive, allowing commercial and private use with minimal restrictions—suitable for most projects.

last release 2026-06-08 (67 days) · last repo commit 2026-06-08 · 7,197 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 629,222 downloads/mo, #5,668 on PyPI

Verify before relying

pip install python-binance

from binance import Client
client = Client(api_key='your_key', api_secret='your_secret')
depth = client.get_order_book(symbol='BNBBTC')
prices = client.get_all_tickers()
  • Whether the package maintains backward compatibility across Python 3.5–3.12 or if older versions are no longer tested.
  • Current status of Vanilla Options endpoints (described as deprecated in the excerpt).
  • Performance characteristics of orjson support and when it is automatically used.
Same gist for agents: .md · .json

What it is and what it does

python-binance is an unofficial client library that wraps Binance's REST API v3, letting you automate trading, fetch market data, and manage account operations programmatically. It supports both synchronous and asynchronous workflows, with built-in handling for authentication (including RSA and EDDSA keys), timestamp generation, and response exceptions. The library covers spot trading, futures, margin trading, and portfolio margin, plus websocket streams for real-time price and order updates with automatic reconnection and multiplexing.

The package includes convenience features like historical kline fetching, deposit/withdrawal management, depth cache management, and proxy support. It provides threaded managers for websocket connections and depth caching, reducing boilerplate for common patterns. Version 1.0.20 or higher is recommended due to endpoint deprecations in earlier releases.

Use it for

  • Automate spot or futures trading strategies by placing orders, checking balances, and monitoring fills programmatically.
  • Fetch historical candlestick (kline) data for backtesting or technical analysis across any date range.
  • Subscribe to real-time market depth and price streams via websockets for live trading dashboards or alerts.
  • Manage deposits and withdrawals, query transaction history, and handle account operations without the web UI.
  • Build trading bots using async/await for concurrent order management and low-latency websocket CRUD operations.

Worth the install?

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

Worth it

Yes.

The package is actively maintained, has no known vulnerabilities, low install friction, and a permissive MIT license. It covers the full Binance API surface with both sync and async support, making it the standard choice for Python-based Binance automation. Install it if you need to programmatically trade or fetch data from Binance.

Install

python-binance on PyPI

Before you install

Low install friction with a pure-Python wheel distribution. Active maintenance with a recent release (67 days ago) and 7197 GitHub stars. Depends on six common libraries (requests, aiohttp, websockets, pycryptodome, dateparser) with no compiled dependencies.

Requires a Binance account and API key with appropriate permissions; testnet mode available via testnet=True parameter.

License in practice

MIT license is permissive, allowing commercial and private use with minimal restrictions—suitable for most projects.

Quickstart

pip install python-binance

from binance import Client
client = Client(api_key='your_key', api_secret='your_secret')
depth = client.get_order_book(symbol='BNBBTC')
prices = client.get_all_tickers()

Verify before relying

  • Whether the package maintains backward compatibility across Python 3.5–3.12 or if older versions are no longer tested.
  • Current status of Vanilla Options endpoints (described as deprecated in the excerpt).
  • Performance characteristics of orjson support and when it is automatically used.

Package facts

LicenseMIT permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
6 packages
requestssixdateparseraiohttpwebsocketspycryptodome
MaintenanceActively maintained 67 days since the last release
Last repo commit
First released
Downloads629,222 / month, #5,668 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Intended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python Modules

Evidence: python_binance-1.0.37-py2.py3-none-any.whl

Tags

Capabilities
binance api python wrappercryptocurrency trading automationbinance spot futures tradingreal-time crypto market databinance websocket streamsasync binance clientcrypto exchange rest api
Topics
trading-apicryptocurrencywebsockets
PyPI keywords
binanceexchangerestapibitcoinethereumbtcethneo

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 › “binance spot futures trading”

  • python-binanceUnofficial Python wrapper for the Binance exchange REST API v3,…
  • binance-connectorConnects Python applications to Binance's public REST and WebSocket…
  • python-kraken-sdkProvides REST and WebSocket clients for trading on Kraken's Spot and…

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 · fyers-apiv3 · python-okx · shioaji · python-kraken-sdk · tastytrade · schwab-py · alpaca-py · freqtrade · pybit