Skip to main content
This quickstart walks through creating an API key, setting up the International Exchange Java SDK (INTX Java SDK), and making your first API call.

Initial Setup

  1. Generate an API Key: From the web UI, navigate to API.
  2. Authenticate: Ensure you authenticate all API requests. Detailed guidance is available at Authentication.
REST API URL:https://api.international.coinbase.com/api/v1

Using the INTX Java SDK

Setting up the SDK

The INTX Java SDK is vended through Maven. To use these in your own project, install the dependencies using Maven, where the current version is 1.0.0:
To use this SDK, initialize the Credentials class and create a new client. The Credentials class is JSON enabled. Ensure that INTX API credentials are stored in a secure manner. The JSON format expected for credentials is:

Making your first API call

Listing Portfolios

The following code snippet demonstrates how to make your first API call using the INTX Java SDK. This example lists all portfolios associated with your provided API key.

Creating an Order

This second example demonstrates how to use the INTX Java SDK to create a new order: