Official Coinbase Libraries

Ruby

Available as a gem:

gem install coinbase

You can check out the souce code on github and find more detailed documentation here.

Python

Available on PYPI through pip and easy_install:

pip install coinbase

or

easy_install coinbase

You can check out the source code on github and find more detailed documentation here.

Node.js

Available on npm:

npm install coinbase

You can check out the source code on github and find more detailed documentation here.

PHP

Install the library using Composer:

composer require coinbase/coinbase

You can check out the source code on github.

Java (API v1)

Only V1 of the API is available in Java right now. Add the following dependency to your project’s Maven pom.xml:

<dependency>
    <groupId>com.coinbase.api</groupId>
    <artifactId>coinbase-java</artifactId>
    <version>1.10.0</version>
</dependency>

You can check out the source code on github.

Mobile SDKs

Android SDK (API v1)

Add the following dependency to your project’s Maven pom.xml:

<dependency>
  <groupId>com.coinbase.android</groupId>
  <artifactId>coinbase-android-sdk</artifactId>
  <version>1.0.1</version>
</dependency>

You can check out the source code on github.

iOS SDK (API v1)

coinbase is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "coinbase-official"

You can check out the source code on github.

Community Libraries

Note that these have not been security tested by Coinbase.

  • coinbase_python - Python wrapper for the Coinbase API (supports both OAuth2 and api key authentication)
  • coinbase_python3 - Python3 wrapper for the Coinbase API (supports both OAuth2 and api key authentication)
  • nodecoinbase - A simple Node.js client for use with the Coinbase API
  • coinbase-go - Go library for the Coinbase API
  • whmcs-coinbase-bitcoin - A payment gateway module for WHMCS and Coinbase’s bitcoin payment API
  • Coinbase.NET - A C# library for the Coinbase API
  • Coinbase .NET/C# - .NET/C# implementation of the Coinbase API

We plan on adding more client libraries in the future. If you develop a client library that you’d like to open source and add to this page, please send us a note. We’ll be happy to give you attribution.

OAuth2 frameworks/plugins

To speed up development most web frameworks have popular authentication libraries. They can be used to integrate with Coinbase’s OAuth.