python-binance: pricing, API and features
Unofficial MIT-licensed Python wrapper for the Binance REST and WebSocket APIs with async support, depth cache, historical klines, spot/futures/margin trading and testnet/demo modes.
Visit python-binance ↗ Plain link, no affiliate. Category: Market data APIs.
At a glance: python-binance (Sam McHardy (community)) — pricing: open-source; free tier: Yes; REST: Yes; MCP: unknown; open source: Yes.
Pricing
- Model
- open-source
- Free tier
- Yes — MIT licensed, free for commercial use as is.
- Plans
- unknown
- Notes
- Binance account/API rules apply separately.
Verified on 2026-10-30 · Source: https://raw.githubusercontent.com/sammchardy/python-binance/master/README.rst
Access & auth
- Authentication
- api-key
- KYC required
- unknown
- Notes
- Public market data works without keys; trading and account endpoints need the user's own Binance API keys (HMAC, RSA, EdDSA supported).
Verified on 2026-10-30 · Source: https://raw.githubusercontent.com/sammchardy/python-binance/master/README.rst
Coverage
- Exchanges
- Binance (also other Binance domains such as .us and .jp)
- Chains
- unknown
- Assets
- Spot, margin, futures, portfolio margin and vanilla options on Binance
Verified on 2026-10-30 · Source: https://raw.githubusercontent.com/sammchardy/python-binance/master/README.rst
Capabilities
- Capabilities
- price-data, historical-data, orderbook-data, trades-data, order-execution, live-trading
Verified on 2026-10-30 · Source: https://raw.githubusercontent.com/sammchardy/python-binance/master/README.rst
Interfaces
- REST API
- Yes
- WebSocket
- Yes
- SDKs
- python
- Official MCP server
- unknown
- Other
- Asyncio client; reconnecting multiplexed websockets; Symbol Depth Cache; testnet and demo trading
Verified on 2026-10-30 · Source: https://raw.githubusercontent.com/sammchardy/python-binance/master/README.rst
Open source & self-hosting
- Open source
- Yes
- Licence
- MIT
- Self-host
- Yes
- Repository
- https://github.com/sammchardy/python-binance
Verified on 2026-10-30 · Source: https://raw.githubusercontent.com/sammchardy/python-binance/master/LICENSE
FAQ
Does python-binance have a free tier?
Yes. MIT licensed, free for commercial use as is. (verified 2026-10-30)
Does python-binance offer an API?
REST: Yes. WebSocket: Yes. Official MCP server: unknown. Verified 2026-10-30.
Is python-binance open source or self-hostable?
Open source: Yes; licence: MIT; self-host: Yes. Verified 2026-10-30.
What are alternatives to python-binance?
Other market data apis in our directory: 0xArchive, AllTick Market Data API, Amberdata Market Data API, Aster Futures API (market data), binance (Siebly.io SDK).
Related market data apis
0xArchive
Historical and live market-data archive for Hyperliquid and Lighter (order books, funding, liquidations, fills) served via REST, WebSocket replay, Parquet exports, SDKs and an MCP server.
AllTick Market Data API
Commercial REST and WebSocket market-data API covering stocks, forex, crypto, metals, oil and indices, with tick, order book and K-line data.
Amberdata Market Data API
Institutional digital asset data API (market, derivatives, on-chain) with REST, WebSocket and bulk delivery; Kaiko announced its acquisition of Amberdata and docs remain live.
Aster Futures API (market data)
Aster DEX futures API docs: public REST and WebSocket market data for USDT perpetuals (klines, depth, trades, mark price/funding, liquidation stream) plus authenticated trading endpoints.
binance (Siebly.io SDK)
Community TypeScript/JavaScript SDK for Binance REST, WebSocket and WebSocket API across spot, margin, options and USD-M/COIN-M futures, with typed responses and automatic reconnects.
Binance Connector (Python)
Official MIT-licensed collection of auto-generated Python SDK packages for Binance APIs (spot, margin, futures, options, copy trading, algo, staking and more), with REST and WebSocket clients.
See python-binance alternatives →