Questions tagged [coinbase-api]

Questions about the Coinbase API for buying, selling, storing, and transferring digital currency. Please do not ask general support questions here.

Coinbase is an online platform for buying, selling, transferring, and storing digital currency.

Links:

663 questions
21
votes
1 answer

How to get real time bid / ask / price from GDAX websocket feed

The API doc discourages polling on /ticker endpoint, and recommend to use the websocket stream to listen for match message But the match response only provide a price and a side (sell / buy) How can I recreate the ticker data (price, ask and bid) …
vdaubry
  • 11,369
  • 7
  • 54
  • 76
11
votes
2 answers

Coinbase API v2 Getting Historic Price for Multiple Days

I'm having some trouble with a Coinbase.com API call for historical data. Previously, I was getting a variable length of days that would match the amount of space available on a terminal screen with a request URL that looked like…
KenDB3
  • 131
  • 1
  • 1
  • 6
10
votes
3 answers

Historical ethereum prices - Coinbase API

Using the python coinbase API-- The functions-- get_buy_price, get_sell_price, get_spot_price, get_historical_data, etc... all seem to return bitcoin prices only. Is there a way of querying Ethereum prices? It would seem that currency_pair =…
sam
  • 488
  • 8
  • 21
9
votes
1 answer

Python TypeError - Expected bytes but got 'str' when trying to created signature

I'm trying to create a signature for an API call - for which the documentation provides these instructions: timestamp = str(int(time.time())) message = timestamp + request.method + request.path_url + (request.body or '') signature =…
drandom3
  • 199
  • 1
  • 3
  • 13
9
votes
0 answers

How to test Coinbase payment API without making real payment?

Unlike many other financial services, Coinbase doesn't provide test card numbers for developers to test payment processing. How can one test their implementation without making real payment?
sherlock
  • 2,397
  • 3
  • 27
  • 44
8
votes
1 answer

Coinbase API client.getAccount(...) started returning: "Error: unable to get local issuer certificate"

The issue started late-morning PT, on March 31, 2020. The server making the API call to Coinbase is hosted on Google App Engine with node.js (GCP). The same cert-connectivity problem to Coinbase also happened a few weeks ago, and lasted for about a…
8
votes
2 answers

UNABLE_TO_GET_ISSUER_CERT_LOCALLY error when calling the Coinbase NODEJS API

Since yesterday 5:30 PM (Paris time), I get a UNABLE_TO_GET_ISSUER_CERT_LOCALLY when trying to list my accounts. I'm using the nodejs library, and it was working fine since several months. The exact error from the client.getAccounts is : { Error:…
8
votes
4 answers

How to get a list of Coinbase CryptoCurrency Coins

I've been trying to figure out a way to get a list of all the Coins that Coinbase has listed (not necessarily for trade) but can't figure it out, in the early days it was easy as you could just login and see the list of 4 basic coins that were…
Chucky
  • 398
  • 3
  • 15
7
votes
4 answers

Retrieving All User Wallets through Coinbase iOS SDK

I've recently been experimenting with the Coinbase iOS SDK and I've been having issues retrieving a user's Ethereum, Litecoin and Bitcoin Cash balances and historic transactions. Currently, I've only managed to do this with Bitcoin, USD and EUR,…
A. Walker
  • 446
  • 2
  • 12
7
votes
2 answers

GDAX / Coinbase API authentication process: Unicode-objects must be encoded before hashing

I have a lot of experience coding, but Python is new territory for me. I'm using the CoinbaseExchangeAuth class to access the private endpoints of the GDAX API. I write some simple code... api_url = 'https://public.sandbox.gdax.com/' auth =…
Dylan Cronkhite
  • 423
  • 1
  • 8
  • 15
7
votes
3 answers

Coinbase Multiple Wallets

I'm getting this error while creating new accounts. (1/2) ClientException Client error: POST https://api.coinbase.com/v2/accounts resulted in a 400 Bad Request response: {"errors":[{"id":"invalid_request","message":"Creation of multiple BTC…
Taylor
  • 2,981
  • 2
  • 29
  • 70
7
votes
3 answers

How to send FIX logon message with Python to GDAX/Coinbase

I'm trying to establish a FIX 4.2 session to fix.gdax.com (docs: https://docs.gdax.com/#fix-api or https://docs.prime.coinbase.com/?python#logon-a) using Python 3.5 and stunnel. Everything is working apart from my logon message which is rejected and…
jp94
  • 315
  • 4
  • 15
6
votes
2 answers

MetaMask conflicting with Coinbase wallet

I am trying to connect to the metamask from my dapp. following the docs: https://docs.metamask.io/guide/getting-started.html#connecting-to-metamask but when I call eth_requestAccounts method it's opening coinbase popup as well. how to work around…
Xaarth
  • 1,021
  • 3
  • 12
  • 34
6
votes
3 answers

Coinbase API returning "product not found" for valid product ID

I'm using the sandbox API at the moment, and I can query the products, including individually, but if I try and place a buy order, the response I get is { message: 'Product not found' }. Here's my code: async function cb_request( method, path,…
AJT
  • 216
  • 2
  • 6
  • 31
6
votes
1 answer

Coinbase APIerror(id = ) in python

I want to transfer money between my coinbase accounts. I'm storing all of my accounts' IDs from client.get_accounts()['data']['id'] and transferring with the code, tx = client.transfer_money('2bbf394c-193b-5b2a-9155-3b4732659ede', …
ZeroPanda
  • 133
  • 1
  • 9
1
2 3
44 45