OpenViSTAI · Agents · Blockchain · Crypto
Menu
Exchanges & Trading

Coinbasepro Python

Coinbasepro Python is an unofficial, MIT-licensed Python library that wraps Coinbase Pro API endpoints for application use. Its documented clients cover public market data and authenticated account operations.

Independent OpenViST project profile, based on linked sources.

Coinbasepro Python — OpenViST project profile in Exchanges & Trading.
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use it when a Python application needs a client interface to Coinbase Pro API endpoints, and the developer can work with the exchange’s API documentation and, for private endpoints, configured API credentials.

Who it is for

  • Python developers building applications that retrieve Coinbase Pro market data.
  • Developers integrating authenticated Coinbase Pro account operations into scripts or applications.

Documented uses

  • Retrieve product listings, order books, tickers, trades, historical rates and 24-hour statistics.
  • Access account details, history, holds and fills through authenticated endpoints.
  • Build Python scripts that submit buy or sell orders through the authenticated client.
Before you choose

Requirements & limits

The library is released under the MIT License. Public endpoints can be accessed through PublicClient; authenticated endpoints require API access configured in account settings and credentials supplied to AuthenticatedClient.

  • The client exposes both public and authenticated endpoint workflows.
  • Some calls are paginated; generator iteration may make multiple HTTP requests.
  • The README cautions that the library may be subtly broken or buggy.
  • Test scripts and additional real-time order-book functionality are identified as under development.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Install the library and initialize a public client

Set up the Python package and create a client for documented public API calls.

Before you start

  • Python environment with pip
  • Familiarity with the Coinbase Pro API documentation

Steps

  1. Install the package with the command below, or install the repository version with the command below.

    Documented command
    pip install cbpro
    Documented command
    pip install git+git://github.com/danpaquin/coinbasepro-python.git
  2. Import cbpro in a Python script.

  3. Create a public client with public_client = cbpro.PublicClient().

  4. Use documented public-client methods such as get_product_order_book('BTC-USD') or get_product_ticker(product_id='ETH-USD').

Expected outcome

A Python client instance ready to call documented public endpoints, such as product and market-data methods.

Guide limitations

  • Only some API endpoints are public.
  • The README advises consulting the official API documentation and function docstrings for full syntax.
  • The README cautions that the library may be buggy.
Source-based practical guide

Initialize an authenticated client

Configure the client for endpoints that require account authentication.

Before you start

  • Coinbase account API access configured in account settings
  • API key, base64 secret and passphrase

Steps

  1. Set up API access in the account settings.

  2. Import cbpro.

  3. Create an authenticated client with cbpro.AuthenticatedClient(key, b64secret, passphrase).

  4. Use an authenticated-client method documented by the README, such as get_accounts().

Expected outcome

An authenticated client instance for documented account endpoints; it also inherits public-client methods.

Guide limitations

  • The API credentials must be configured in account settings.
  • The README notes that not all endpoints are available without authentication.
  • The README advises consulting official API documentation and function docstrings.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
15 October 2026
Original website title
danpaquin/coinbasepro-python · Official homepage title · retained in its source language