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
4
votes
0 answers

Coinbase unauthorized access

I'm trying to list my coinbase accounts with the following API https://api.coinbase.com/. I used the following path GET https://api.coinbase.com/v2/accounts. I systematically get a reject 'Unauthorized (401) error' Below some important checks I have…
Guillaume Paris
  • 10,303
  • 14
  • 70
  • 145
4
votes
1 answer

How to send ping notification through Coinbase Api v2?

I'm trying to receive "wallet:addresses:new-payment" notification using Coinbase Api. But automatic sending to my server is not working. So I want to send "ping" notification to my server to check is everything is ok. Description of their API is…
4
votes
1 answer

Buying ETH using coinbase API

According to documentation, I should be able to buy ETH using coinbase API (see Place buy order). Now, looks like I am getting BTC instead. private static void placeNonCommitBuy(String paymentMethod) { if (sAccountID != null) { String…
Laurent Parenteau
  • 2,516
  • 20
  • 31
4
votes
0 answers

Coinbase Buy Endpoint With 3D Secure Payment Method

When I query the Coinbase buy endpoint with an European user that has a 3D Secure debit card as their payment method, the order gets cancelled 15 minutes later. I'm assuming there is some other step I need to do? I've tried opening the html page…
4
votes
0 answers

Can I use the Coinbase Oauth flow to allow the user to make a payment?

I'm using Ruby with the Coinbase 2 API. I'm confused about when I need to use the Coinbase OAuth flow. What I would like to do is have the user donate to our site. Is this something that the OAuth flow can be used for? If so, what would the…
Dave
  • 15,639
  • 133
  • 442
  • 830
4
votes
1 answer

Coinbase HTTP Request for Ether Spot Price

I can currently issue the following request: https://api.coinbase.com/v2/prices/spot?currency=USD and receive a json response with the current (spot) price of BitCoin (BTC). What I want is to retrieve that information for Ether (ETH). I note that…
4
votes
4 answers

Pagination on Coinbase Python API

I am trying to get all of the transactions on a Coinbase account, which requires pagination. The documentation is sparse on how to do this in Python, but I have managed to make it work: client = Client(keys['apiKey'], keys['apiSecret']) accounts =…
Travis P
  • 644
  • 6
  • 19
4
votes
1 answer

How to view coinbase transaction activity

The node.js tests : https://github.com/coinbase/coinbase-node/tree/master/test & documentation : https://github.com/coinbase/coinbase-node do not appear to describe tests or functionality that return all activity on account. I'm attempting to…
blue-sky
  • 51,962
  • 152
  • 427
  • 752
4
votes
1 answer

How To Post Data in SendMoney coinbase API

I am trying to use sendmoney API to send some bitcoins using code below. But i am getting an error listed below - Error: {"errors":[{"id":"authentication_error","message":"invalid signature"}]} Code I am using : string message =…
4
votes
3 answers

Python coinbase API prices as float

I am trying to work with Coinbase's API, and would like to use their prices as a float, but the object returns an API object and I don't know how to convert it. For example if I call client.get_spot_price() it will return this: { "amount":…
ctrigose
  • 51
  • 3
4
votes
2 answers

How to send a keep-alive packet through websocket in ruby on rails

I want to send a "Keep alive from client" message every 30 seconds for my websocket connection. Here's what the code that I have in my websocket initializer looks like: ws = WebSocket::Client::Simple.connect 'wss://bitcoin.toshi.io/' ws.on…
4
votes
1 answer

Coinbase API : create new bitcoin wallet for users with email address

Do you guys know if Coinbase allows for automatic creation of users through their Api the way Xapo does ? Basically I need to generate a wallet address for users on a web app . Any innovative ideas or alternatives if not possible are welcome !!!…
gamevault
  • 41
  • 3
4
votes
1 answer

Receiving data from Coinbase Exchange API Websocket

I'm trying to build an orderbook snapshot using the Coinbase Exchange API, specifically with the Websocket feed. https://docs.exchange.coinbase.com/?python#websocket-feed I believe I'm successful in making the connection and sending the initial…
Ken
  • 835
  • 1
  • 8
  • 14
4
votes
3 answers

PHP authentication to Coinbase Exchange private API

I'm trying to get authenticated to the Coinbase Exchange private API to get balances and place/cancel orders. Below is a demo version of the code that I'm trying to use. I have followed the docs but I keep getting the following…
4
votes
3 answers

Where is a good place to initialize an API?

I wanted to use this api: https://github.com/coinbase/coinbase-ruby and the first step is to initialize the API, like this: coinbase = Coinbase::Client.new(ENV['COINBASE_API_KEY'], ENV['COINBASE_API_SECRET']) I was wondering what the best place to…
nahtnam
  • 2,659
  • 1
  • 18
  • 31
1 2
3
44 45