Skip to main content

Typed Binance

A fully typed, validated async client for the Binance API.

PyPI version Python versions Docs License



from typed_binance import Binance

async with Binance.new(public=True) as client:
  price = await client.spot.http.market.ticker_price(symbol='BTCUSDT')
  print(price)

Why Typed Binance?

  • 🎯 Precise Types: every spot, USD-M futures, COIN-M futures, options, and portfolio margin parameter and response is a precise Python type, not dict/Any.
  • ✅ Runtime Validation: every response is validated against its schema by default, not just typed on paper.
  • ⚡ Async First: async HTTP requests and WebSocket market-data streams, built for concurrent workflows across every product line.
  • 📚 Full Surface: every documented spot, futures, options, and portfolio margin endpoint, not just the popular ones.

Installation

pip install typed-binance

How To

Reference

Design Philosophy

Typed Binance follows the principles outlined in this blog post.

Details matter. Developer experience matters.

License

MIT — see LICENSE.

Metadata

Release files for typed-binance 1.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for typed-binance 1.6.0
File Size Uploaded Provenance Actions
typed_binance-1.6.0.tar.gz 541.1 kB With provenance Details for typed_binance-1.6.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for typed-binance 1.6.0
File Interpreter ABI Platform Actions
typed_binance-1.6.0-py3-none-any.whl Python 3 none any Details for typed_binance-1.6.0-py3-none-any.whl

Total release size: 2.1 MB

Release files / typed_binance-1.6.0.tar.gz

Download URL typed_binance-1.6.0.tar.gz
Size 541.1 kB
Tags Source
SHA-256 checksum
How to use checksums
87d6f240032ab54ea5c29b6f59a451b3685f0694d662dfa11c4cf03904059e49
BLAKE2b-256 checksum
How to use checksums
130162a73c5bd4b4847841a7e5f4f7e1bb765df67173e60e22abf9601086f06e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Release files / typed_binance-1.6.0-py3-none-any.whl

Download URL typed_binance-1.6.0-py3-none-any.whl
Size 1.6 MB
Tags Python 3
SHA-256 checksum
How to use checksums
45c3a055cc3259e7e43d18d6999026a3bb8a6cdab4779af3f3ae9ca01520827b
BLAKE2b-256 checksum
How to use checksums
b1e53bdfd7441a43c789bc0286020f7477e7f55766c2bc528da79132b80f367e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Security for typed-binance 1.6.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for typed_binance-1.6.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page