A fully typed, validated async client for the Bitget API.
- Documentation: https://tribulnation.com/typed/bitget
- Source Code: https://github.com/tribulnation/typed/tree/main/packages/bitget
from typed_bitget import Bitget
async with Bitget.new(public=True) as client:
tickers = await client.uta.market.tickers(category='SPOT', symbol='BTCUSDT')
print(tickers)
Bitget runs two live API generations on the same account host: Classic v2 (client.classic),
the long-standing per-product API, and UTA v3 (client.uta), Bitget's unified-account
generation and the one Bitget recommends for new integrations. A Bitget account is either
Classic-mode or UTA-mode, never both, so use whichever surface matches your account. This client
covers both, plus their independent WebSocket feeds (client.classic_streams /
client.uta_streams). The examples below use UTA.
Why Typed Bitget?
- 🎯 Precise Types: typed inputs and responses across both the Classic v2 and UTA v3 REST
surfaces, not
dict/Any. - ✅ Runtime Validation: every response validated against Bitget's real wire shapes by default.
- ⚡ Async First: async HTTP plus four independent WebSocket connections (Classic/UTA × public/private), built for concurrent workflows.
- 📚 Full Surface: spot, margin, futures, earn, copy trading, P2P, broker, and tax, across both API generations, not just the popular endpoints.
Installation
pip install typed-bitget
How To
- Fetch Market Data
- Listen To Streams
- Place & Manage Orders
- Manage Account Data
- Manage Earn Instruments
- Manage Deposits & Withdrawals
- Paginate Through Results
Reference
Design Philosophy
Typed Bitget follows the principles outlined in this blog post.
Details matter. Developer experience matters.
License
MIT — see LICENSE.
Metadata
Release files for typed-bitget 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| typed_bitget-0.4.0.tar.gz | 288.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| typed_bitget-0.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.1 MB
Release files / typed_bitget-0.4.0.tar.gz
| Download URL | typed_bitget-0.4.0.tar.gz |
|---|---|
| Size | 288.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a5c69bb8791ea5c688ce2f88fa9f394770ab51d304053528fc508c42ccb4b2ec
|
|
BLAKE2b-256 checksum How to use checksums |
f1d84fb19aacd3a9144990a84391ce6708acab167f27d7901fbcc0f155c006f0
|
| 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 Sep 10, 2026.
Transparency logRelease files / typed_bitget-0.4.0-py3-none-any.whl
| Download URL | typed_bitget-0.4.0-py3-none-any.whl |
|---|---|
| Size | 782.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
14689c522d0e8cb56d2a94185292c912e4b3b6967949b41058879b3f305a1fae
|
|
BLAKE2b-256 checksum How to use checksums |
3024a463951d096689960f64b31080b711724a88a3296e1900d30d01ef849417
|
| 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 Sep 10, 2026.
Transparency log