Typed Coinbase
A fully typed, validated async client for the Coinbase API — Coinbase App (v2) and Advanced Trade (v3), REST and WebSocket, one CDP API Key.
from coinbase import Coinbase
async with Coinbase.new(public=True) as client:
product = await client.advanced_trade.products.public.get('BTC-USD')
print(product['price'])
Why Typed Coinbase?
- 🎯 Precise Types: every endpoint's inputs and responses are typed, from Coinbase App (v2) wallets to Advanced Trade (v3) order configurations and fee tiers, not
dict/Any. - ✅ Runtime Validation: every response is validated against its declared schema by default, across both the v2 and v3 APIs.
- ⚡ Async First: async HTTP and WebSocket streaming, built for concurrent workflows against
accounts,advanced_trade, and the public/private streams. - 📚 Full Surface: every documented Coinbase App and Advanced Trade endpoint, not just the popular ones.
Installation
pip install typed-coinbase
Documentation
How To
- Fetch Market Data
- Manage Account Data
- Deposits & Withdrawals
- Place & Manage Orders
- Listen To Streams
- Paginate Through Results
Source Code
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file typed_coinbase-0.1.1.tar.gz.
File metadata
- Download URL: typed_coinbase-0.1.1.tar.gz
- Upload date:
- Size: 104.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
57c99d2b7ddad1c9d776573dfc144586ecfe81c8bbbfab002afa6031a67fd2c3
|
|
| MD5 |
c619d7766f71846ffb203e791fab9e9d
|
|
| BLAKE2b-256 |
079c8904c6f59c50a3ef9d3a513b3b9a900788295ba9f1c581179fb65bfb82a4
|
Provenance
The following attestation bundles were made for typed_coinbase-0.1.1.tar.gz:
Publisher:
release-coinbase.yml on tribulnation/typed
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
typed_coinbase-0.1.1.tar.gz -
Subject digest:
57c99d2b7ddad1c9d776573dfc144586ecfe81c8bbbfab002afa6031a67fd2c3 - Sigstore transparency entry: 2503881456
- Sigstore integration time:
-
Permalink:
tribulnation/typed@4a864a154e0580ecbb29dd0fe8abc7fe11c68153 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/tribulnation
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-coinbase.yml@4a864a154e0580ecbb29dd0fe8abc7fe11c68153 -
Trigger Event:
pull_request
-
Statement type:
File details
Details for the file typed_coinbase-0.1.1-py3-none-any.whl.
File metadata
- Download URL: typed_coinbase-0.1.1-py3-none-any.whl
- Upload date:
- Size: 182.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2938121d9453ad60bd4fda9ae156bbe885ef70d439bb0eb58d058c6226687d36
|
|
| MD5 |
c49910cd149fab492c94e7512abeb86c
|
|
| BLAKE2b-256 |
8bf6f8ec45c494dacd3c0f00571ca9a5cc1c124c6940fd3e3c8f47844c5f081a
|
Provenance
The following attestation bundles were made for typed_coinbase-0.1.1-py3-none-any.whl:
Publisher:
release-coinbase.yml on tribulnation/typed
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
typed_coinbase-0.1.1-py3-none-any.whl -
Subject digest:
2938121d9453ad60bd4fda9ae156bbe885ef70d439bb0eb58d058c6226687d36 - Sigstore transparency entry: 2503881516
- Sigstore integration time:
-
Permalink:
tribulnation/typed@4a864a154e0580ecbb29dd0fe8abc7fe11c68153 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/tribulnation
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-coinbase.yml@4a864a154e0580ecbb29dd0fe8abc7fe11c68153 -
Trigger Event:
pull_request
-
Statement type: