# python-binance: pricing, API and features

Category: [Market data APIs](https://tokvane.app/categories/market-data-apis) · Vendor: Sam McHardy (community) · Website: https://github.com/sammchardy/python-binance · Status: active

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.

> 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).

Alternatives: https://tokvane.app/alternatives/python-binance

Information only, not financial or investment advice.