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
6
votes
1 answer

Convert from one crypto to another using Coinbase API

I was trying to create a python program to convert ETH to BTC. I was using the command : client.transfer_money("ETH Account ID ", to="BTC Account ID", amount="0.1", currency=:"ETH") I had obtained the account IDs using the command…
Vignesh Gopakumar
  • 143
  • 1
  • 3
  • 7
6
votes
0 answers

Official Python API for Coinbase is marked as deprecated

The official documentation of the Coinbase API points to coinbase as the official Python client. However, when I check that library on github, it's marked as DEPRECATED. Is there another Python client I should be using? Are there issues with this…
6
votes
1 answer

Coinbase Pro Sandbox: How to deposit test money?

i would like to test the APIs and therefore need money on my sandbox account. How can i deposit fake money for test purposes? this sounds like a quite basic question but i cannot get any information on it:( Unfortunately the GUI does not provide the…
john
  • 131
  • 2
  • 9
6
votes
0 answers

Coinbase API - Get all of user's wallets

I'm creating an app to allow people to view their coinbase balances. Right now it seems like they'd have to authorize separately for me to view balances on each wallet. Is there any way I can allow the user to grant me access to read the balance on…
zachvac
  • 650
  • 1
  • 6
  • 17
6
votes
2 answers

GDAX api - Get Historic Rates returning inconsistent results

While using GDAX api for calling historic prices using the following: https://api.gdax.com/products/ETH-EUR/candles?start=2017-07-02T15:25:00.00000Z&end=2017-07-02T16:12:00.00000Z&granularity=30 I always get a 200 code responde, but sometimes it…
SysHex
  • 1,750
  • 2
  • 17
  • 27
5
votes
1 answer

Coinbase Websocket, signature in authentication

How should the signature parameter be generated for opening an authenticated connection to Coinbase Websocket? I can't find any concise description anywhere. For GET/PUT API calls, I successfully generated it with the below code, but with the…
Gabriel S
  • 83
  • 7
5
votes
1 answer

Combine recurring payments (subscription) with Coinbase commerce

I would like to combine Coinbase commerce, is that possible by setting up a recurring payment button, and linking to my Coinbase commerce address? My requirement would be then to use Coinbase commece webhooks to be notified of payments.
Positonic
  • 9,151
  • 14
  • 57
  • 84
5
votes
1 answer

How can I get transaction fee through Coinbase API?

How to get a transaction fee before sending transaction through coinbase API? Or how to set a transaction fee for a transaction through coinbase API?
artamonovdev
  • 2,260
  • 1
  • 29
  • 33
5
votes
1 answer

How to request access to all of the user accounts using wallet:accounts:read?

When my app requests wallet:accounts:read permission using v2 of Coinbase API, the user is presented with a drop-down list of all accounts where he can choose only one of the three possible wallets. If my app wants to work with all three wallets…
sherlock
  • 2,397
  • 3
  • 27
  • 44
5
votes
2 answers

GDAX Post Call returns invalid signature

I am trying to make a post request on GDAX. But I always receive a "invalid signature" message. GDAX API Docs for creating request + signing: https://docs.gdax.com/#creating-a-request Preshash string returns the…
cocos2dbeginner
  • 2,185
  • 1
  • 31
  • 58
5
votes
2 answers

Stubbing rspec and_raise and adding a message

I'm writing tests which need to test the rescues in my code. Model code: rescue Coinbase::Error => e #debugger if e == "You don't have that many bitcoins in your account to sell." ... end Rspec code: allow_any_instance_of(Order).to…
Zack Shapiro
  • 6,648
  • 17
  • 83
  • 151
4
votes
1 answer

window.ethereum.providers undefined - allow user to select MetaMask OR Coinbase Wallet as web3 provider

How do we allow users to choose which browser wallet / provider they use when interacting with web3 websites? This is for basic HTML / WordPress websites not using TypeScript / React, etc. According to Coinbase Docs, the Coinbase Wallet SDK is not…
Dave
  • 51
  • 1
  • 2
4
votes
0 answers

Trade, Convert on coinbase using api

Using the api at https://developers.coinbase.com/api which is not the coinbase pro. I am able to access my account and see current values for all coins. On the coinbase website you can sell/buy/convert your crypto, but there is no where in the…
4
votes
1 answer

Coinbase pro web socket get the current price for a currency

hi i am trying to get the real time price of bitcoin using the coinbase api in the documentation it says it discourages polling of the price data so i was wandering if it is possible to get it from their web socket feed if so what channel and what…
user2692997
  • 2,001
  • 2
  • 14
  • 20
4
votes
3 answers

when connecting to coinbase (and coinbase sandbox) getting {'message': 'Invalid API Key'} errors with Python code

I am using the following demo code (written in Python 3.x) to attempt to connect to the Coinbase Sandbox. Below is the code I have been following. I keep getting {'message': 'Invalid API Key'} errors. I have created API keys twice on the sandbox…
Casey Harrils
  • 2,793
  • 12
  • 52
  • 93
1
2
3
44 45