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.4.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.4.0
File Size Uploaded
typed_binance-1.4.0.tar.gz 538.9 kB Details

Built distribution (wheel)

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

Total release size: 2.1 MB

Release files / typed_binance-1.4.0.tar.gz

Download URL typed_binance-1.4.0.tar.gz
Size 538.9 kB
Tags Source
SHA-256 checksum
How to use checksums
a2663becac7d75253da1a2bd69793a1adc0678dc9455f87e29638cf1f9f6d5da
BLAKE2b-256 checksum
How to use checksums
0720960c3970e0018b7b46db2344a43854c65e77415ae9ab0b84748921f37669
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 6, 2026.

Transparency log

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

Download URL typed_binance-1.4.0-py3-none-any.whl
Size 1.6 MB
Tags Python 3
SHA-256 checksum
How to use checksums
e1c86249bd81cd6e56e4c2052468dc7792c6dba87e69534b1b66f6077d37e53c
BLAKE2b-256 checksum
How to use checksums
5367999b75e5cb73b0823281434131a884624997383f9a6cda1797377a1de420
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 6, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.4.0 This release

2 release files

1.3.0

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.0

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.0

2 release files

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