finds.dev

danpaquin/coinbasepro-python

The unofficial Python client for the Coinbase Pro API

View on GitHub

★ 1,849PythonMITupdated Jul 2023

// the take

Unofficial Python client for the Coinbase Pro REST and WebSocket APIs. Coinbase Pro was shut down in 2022–2023 and replaced by Coinbase Advanced Trade, so this library targets a dead API. It's archived history at this point, not something you'd adopt today.

- Generator-based pagination is the right call — callers iterate naturally without manually tracking cursors or making multiple explicit requests

- WebSocket client uses a clean subclassing pattern (on_open, on_message, on_close) that keeps user logic separate from connection management

- Public/authenticated split is sensible — one client inherits the other so you only initialize what you need

- Covers the full API surface including order book, fills, deposits, and stop orders — not just the happy-path endpoints

- The exchange is dead. Coinbase Pro was deprecated in 2022 and shut down; this client has no practical use unless you're building against a frozen API snapshot for historical data replay

- No async support anywhere — the WebSocket runs in a raw thread and the REST client is synchronous. Anything latency-sensitive in trading needs asyncio, and retrofitting it here would be a rewrite

- MongoDB is wired directly into WebsocketClient as a constructor parameter — a storage backend has no business being coupled to a network client at that level

- The test suite is described as 'under development' twice in the README and the tests directory is nearly empty; sandbox credentials required for any authenticated test means CI almost certainly never ran those paths

We read the README, the directory tree and a key source file in June 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
1,849
Forks
719
Language
Python
License
MIT
Last commit
6 Jul 2023

// nearby

If coinbasepro-python isn't quite it.

All repos →