Skip to main content
This quickstart walks through creating an API key, setting up the Prime Go SDK, and making your first few API calls.

Initial Setup

  1. Create a Coinbase Prime Account: Sign up at Coinbase Prime.
  2. Generate an API Key: From the web UI, navigate to Settings -> APIs.
  3. Authenticate: Ensure you authenticate all API requests. Detailed guidance is available at API Authentication.
REST API URL:https://api.prime.coinbase.com/v1

Using the Prime SDKs

Installation

The Coinbase Prime Java SDK supports Java versions 11+.Check your Java version:

Install the Maven Dependency

Making your first API call

Initialize Prime Client

The following code snippet demonstrates how to initialize the Prime client.

Listing Portfolios

Update the code snippet with the service invocation and call to make your first API call with Prime to List Portfolios.
For technical support, see our Help Center. If you do not have a Coinbase Prime account, or want to learn more, visit coinbase.com/prime.