$npx skillfedfor your agent

coinbase-advanced-py

Coinbase Advanced API Python SDK

Worth itPyPI InternetReleased Jun 2026242.8K downloads / moApache 2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — coinbase_advanced_py-1.8.4-py3-none-any.whl
v1.8.4 · released 2026-06-19 · Python >=3.8 · 5 runtime deps: requests, cryptography, PyJWT, websockets, backoff

Yes. This is the official Coinbase SDK with active maintenance, no known vulnerabilities, low install friction, and permissive licensing. Install it if you need to programmatically trade on Coinbase or consume their Advanced API—it is the canonical choice for Python developers. Ensure you secure your API credentials properly (use a secrets manager, not hardcoded values).AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Coinbase Developer Platform (CDP) API credentials (Ed25519 or ECDSA key pair); set COINBASE_API_KEY and COINBASE_API_SECRET environment variables or pass them explicitly to RESTClient.
  • Low friction install with five stable runtime dependencies (requests, cryptography, PyJWT, websockets, backoff).
  • Actively maintained with a recent release and no known vulnerabilities.

License · maintenance · safety

Apache 2.0 (permissive) — Licensed under Apache 2.0 (permissive), allowing use in commercial and private projects with minimal restrictions.

last release 2026-06-19 (56 days) · last repo commit 2026-06-19 · 355 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 242,844 downloads/mo, #8,835 on PyPI

Verify before relying

pip install coinbase-advanced-py

from coinbase.rest import RESTClient

client = RESTClient()  # Uses COINBASE_API_KEY and COINBASE_API_SECRET env vars
accounts = client.get_accounts()
print(accounts.to_dict())
  • Exact scope and completeness of Advanced Trade API endpoint coverage in this SDK version
  • WebSocket reconnection and error-handling behavior under network interruptions
  • Rate limiting and backoff strategy details beyond what the description states
Same gist for agents: .md · .json

What it is and what it does

This is the official Coinbase Python SDK for the Advanced API, providing both REST and WebSocket interfaces to trade cryptocurrencies, manage orders, and stream real-time market data. It wraps the Coinbase Advanced Trade API with typed response objects, automatic JWT signing (supporting both Ed25519 and ECDSA key types), and convenience methods for common operations like placing market orders and fetching account balances.

The SDK handles authentication via Coinbase Developer Platform (CDP) API keys, supports environment variable configuration for secrets, and includes built-in rate-limit header tracking. It depends on requests for HTTP, cryptography and PyJWT for signing, websockets for live data streams, and backoff for retry logic. The package targets Python 3.8 and later and is actively maintained by Coinbase.

Use it for

  • Build automated trading bots that place orders and monitor positions via the REST API.
  • Stream real-time order book and trade data using the WebSocket client for live market analysis.
  • Retrieve account balances, portfolio information, and transaction history programmatically.
  • Integrate Coinbase trading into a larger financial application or dashboard.
  • Backtest trading strategies by fetching historical market data through API endpoints.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

This is the official Coinbase SDK with active maintenance, no known vulnerabilities, low install friction, and permissive licensing. Install it if you need to programmatically trade on Coinbase or consume their Advanced API—it is the canonical choice for Python developers. Ensure you secure your API credentials properly (use a secrets manager, not hardcoded values).

Install

coinbase-advanced-py on PyPI

Before you install

Low friction install with five stable runtime dependencies (requests, cryptography, PyJWT, websockets, backoff). Actively maintained with a recent release and no known vulnerabilities.

Requires Coinbase Developer Platform (CDP) API credentials (Ed25519 or ECDSA key pair); set COINBASE_API_KEY and COINBASE_API_SECRET environment variables or pass them explicitly to RESTClient.

License in practice

Licensed under Apache 2.0 (permissive), allowing use in commercial and private projects with minimal restrictions.

Quickstart

pip install coinbase-advanced-py

from coinbase.rest import RESTClient

client = RESTClient()  # Uses COINBASE_API_KEY and COINBASE_API_SECRET env vars
accounts = client.get_accounts()
print(accounts.to_dict())

Verify before relying

  • Exact scope and completeness of Advanced Trade API endpoint coverage in this SDK version
  • WebSocket reconnection and error-handling behavior under network interruptions
  • Rate limiting and backoff strategy details beyond what the description states

Package facts

LicenseApache 2.0 permissive
Python supportSupports the current Python release >=3.8
Install frictionLow. Pure-Python wheel
Runtime dependencies
5 packages
requestscryptographyPyJWTwebsocketsbackoff
MaintenanceActively maintained 56 days since the last release
Last repo commit
First released
Downloads242,844 / month, #8,835 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Intended Audience :: DevelopersIntended Audience :: Financial and Insurance IndustryLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Evidence: coinbase_advanced_py-1.8.4-py3-none-any.whl

Tags

Capabilities
coinbase api python sdkcryptocurrency trading api clientcoinbase rest websocket clientorder management trading sdkreal-time market data apicoinbase advanced trade python
Topics
cryptocurrency-tradingrest-websocket-clientexchange-api
PyPI keywords
CoinbaseAdvanced TradeAPIAdvanced API

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “coinbase api python sdk”

  • coinbase-advanced-pyOfficial Python SDK for the Coinbase Advanced API, providing REST and…
  • cdp-sdkPython client library for the Coinbase Developer Platform that…
  • aliyun-python-sdk-coreProvides core client infrastructure for calling Alibaba Cloud APIs…

Give your agent the search over MCP, or paste the wish link into any chat.

More Internet packages

botocore Worth it
PyPI · Internet · released Aug 2026

Botocore provides low-level, data-driven access to Amazon Web Services APIs, serving as the foundation for the AWS CLI and boto3 libraries.

Install it if you need programmatic access to AWS services.

permissive licensepure Python · 3.10+
1.5Bdownloads / mo
aiobotocore Worth it
PyPI · Internet · released Aug 2026

Provides an async client for AWS services using botocore and aiohttp, allowing you to call AWS APIs asynchronously within asyncio-based applications.

Install it if you need to call AWS services from async Python code; it is the standard way to do so.

Apache-2.0pure Python · 3.10+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
filelock Worth it
PyPI · Libraries · released Aug 2026

Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.

MITpure Python · 3.10+
717.1Mdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
googleapis-common-protos Worth it
PyPI · Internet · released Aug 2026

Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.

Apache-2.0pure Python · 3.10+
513.7Mdownloads / mo

See also cdp-sdk · massive · python-kraken-sdk · python-okx · WooCommerce · pybit · binance-connector · polygon-api-client · smartapi-python · paradime-io