Tokvane

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

See python-binance alternatives →

Related pages