Skip to main content

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

Source Code

github.com/tribulnation/coinbase

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

typed_coinbase-0.1.1.tar.gz (104.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

typed_coinbase-0.1.1-py3-none-any.whl (182.5 kB view details)

Uploaded Python 3

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

Hashes for typed_coinbase-0.1.1.tar.gz
Algorithm Hash digest
SHA256 57c99d2b7ddad1c9d776573dfc144586ecfe81c8bbbfab002afa6031a67fd2c3
MD5 c619d7766f71846ffb203e791fab9e9d
BLAKE2b-256 079c8904c6f59c50a3ef9d3a513b3b9a900788295ba9f1c581179fb65bfb82a4

See more details on using hashes here.

Provenance

The following attestation bundles were made for typed_coinbase-0.1.1.tar.gz:

Publisher: release-coinbase.yml on tribulnation/typed

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for typed_coinbase-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2938121d9453ad60bd4fda9ae156bbe885ef70d439bb0eb58d058c6226687d36
MD5 c49910cd149fab492c94e7512abeb86c
BLAKE2b-256 8bf6f8ec45c494dacd3c0f00571ca9a5cc1c124c6940fd3e3c8f47844c5f081a

See more details on using hashes here.

Provenance

The following attestation bundles were made for typed_coinbase-0.1.1-py3-none-any.whl:

Publisher: release-coinbase.yml on tribulnation/typed

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.2.0

2 files

0.1.2

2 files

This release

0.1.1 This release

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page