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.
662
questions
0
votes
0
answers
3
views
My coin base showing usdt received and completed but the balance does not show the usdt. What can be the reason?
Usdt were transferred from another account in to my coinbase wallet account. The transaction says receive complete but they are not seen in my balance. It's been 5 days. What can be the reason?
But ...
0
votes
1
answer
35
views
CoinBase API not returning product ticker data
I am trying to get the product ticker from CoinBase API https://docs.cloud.coinbase.com/exchange/reference/exchangerestapi_getproductticker using two different functions. The first one is the ...
0
votes
1
answer
34
views
"granularity argument is invalid " error with Coinbase API
I am writing my own Python script to use the Advanced Trade API of Coinbase.
I am trying to use the /api/v3/brokerage/products/{product_id}/candles endpoint to fetch historical data. Authentication ...
-2
votes
0
answers
6
views
How do I connect the Coinbase REST API to MotiveWave?
I have a background in tradfi and have not had to seek crypto data until now. US resident so Coinbase is my choice to trade with. I have no idea how to connect the REST API from Coinbase to MotiveWave ...
0
votes
1
answer
63
views
how do i properly access the coinbase advanced api
im trying to access the coinbase adveanced api ut im getting this error:
Traceback (most recent call last):
File "D:\user\coinbase_neural_network.py", line 47, in collect_data
candles = api....
0
votes
0
answers
13
views
How to send ETH currency in Coinbase with Transaction Send API
We want to send ETH with transaction:send endpoint. Add all wallets to api key and also all permissions. We can send BTC successfully. Here is the implementation.
The problem is when sending ETH the ...
0
votes
0
answers
24
views
coinbase api invalid token
Trying to create a transaction through coinbase's api to send crypto to an outside address. Multiple other endpoints are working fine and I have no problems with them but this specific one is giving ...
0
votes
0
answers
68
views
How can I get started with Coinbase Advanced Trade REST API
I'm trying to create a bot that trades using "Coinbase Advanced Trade" specifically with Python.
For the past couple of weeks I've been trying to formulate some code to get me connected to ...
-1
votes
1
answer
79
views
Coinbase webhook: Property 'metadata' does not exist on type 'CheckoutResource'
I want to access the metadata after a payment has succeeded with coinbase by listening to the charge:confirmed event.
In the example for a webhook payload (https://docs.cloud.coinbase.com/commerce/...
0
votes
0
answers
97
views
Why do I get an 'internal error' when using CCXT to create market orders in Coinbase API with Python?
CCXT-coinbase create market order.
I am trying to create market order on coinbase with CCXT.
coinbase {"error":"INTERNAL","error_details":"internal error","...
-3
votes
1
answer
95
views
Coinbase "Send Money" API returns html BAD REQUEST response (Go)
I am trying to access coinbase's Send Money api endpoint documented here but when I try it out, I am getting back an html response which seems to indicate cloudflare is blocking me but I'm not sure:
&...
0
votes
0
answers
113
views
Get Request to Third Party API(Coinbase API) Fails in .NET Core, It works with curl
I am trying to send a get request to a third-party API using HttpClient. However, I keep getting 400. The request succeeds with curl. Is this something related to headers?
using (var client = new ...
0
votes
0
answers
79
views
Coinbase API - Using 10 and 20 Day SMA Strategy
I am trying to plot a 10 and 20 day SMA on windows forms app, I have managed to get the candlesticks to render, but I am not sure if my logic to find the indicators for 10 and 20 day SMA is correct.
...
0
votes
1
answer
38
views
get() returned more than one Post -- it returned 2
I got problem in django. Im creating online shop website and I add products section where my products listed(html). I add my products from admin site (models.py).
When I want to add to products i give ...
-2
votes
1
answer
49
views
I'm struggling with coinbase, i want to make an app using django that accept users to buy coins with cyptocurrency
i was working in a project and the client ask me to add a way to let users buy coins (coins are the balance of the users so they can buy tickets)
what i want is if someone can help me to know how to ...
-1
votes
2
answers
123
views
Access the Coinbase Candles url
I have successfully managed to call some of Coinbase API's end points, but struggling on calling the Candles Url:
using RestSharp;
using System.Globalization;
using System.Net....
1
vote
0
answers
72
views
Having trouble understanding Deeplinking
I'm trying to implement the Coinbase Android Wallet SDK
In their tutorial on github
https://github.com/coinbase/wallet-mobile-sdk/tree/master/android
It tells me to use
CoinbaseWalletSDK(
...
0
votes
2
answers
68
views
How to generate address in metamask/coinbase progrematically?
I'm planning to build a chrome extension that interacts with Metamask/Coinbase. I wonder if this is fisibile with the current Metamask API.
Question
I need to generate a new address on the user ...
0
votes
1
answer
143
views
Cross-Origin Request Blocked using NodeJS/Coinbase API
I'm trying to get Coinbase to work using NodeJS
I get the following error:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://localhost:3000/create-...
1
vote
1
answer
686
views
Coinbase Advanced trade API connectivity using python3 is not working
I tried below code based on the coinbase documentaion coinbase doc
The documentation is given for Python2 but i have modified and used it for Python3 because i am trying to connect to advanced trade ...
0
votes
0
answers
94
views
How to get Coinbase option market data via API or Websocket?
I was trying to get Coinbase option market data via any API or Websocket but I could not find anything matching my requirement in their API docs.I even looked their advanced trading doc.Can someone ...
0
votes
0
answers
31
views
Different crypto addresses from coinbase
How to create different crypto addresses from coinbase API through api key and api secret.
It stated in docs only BTC address generation.
But I want to generate LTC and other crypto addresses.
...
0
votes
0
answers
121
views
How to subscribe to coinbase pro websocket
I'm trying to subscribe to my user channel on coinbase pro, in order to get message from filled orders I place. However after doing the subscription process without issues I'm not receiving any ...
0
votes
0
answers
87
views
Coinbase Commerce API throwing random error on variable machines
When creating charges on a flask endpoint with the coinbase_commerce python library, my code seems to work differently on different machines. On my PC, the code works perfectly fine, however on other ...
0
votes
0
answers
39
views
Coinbase API not behaving consistently across development and production environments
I'm building a crypto payments solution using Coinbase API. I've tested it in my development environment it works just fine.
Problem is when I push to production. I can't seem to figure out what is ...
3
votes
2
answers
332
views
BTC Price Across Different Crypto Exchanges
I am trying to use CCXT to get the BTC bid and ask price across different exchanges, but running the code sequencially cannot get the price of a given moment correctly. Is there any way to execute ...
1
vote
0
answers
357
views
Integrating coinbase commerce API in PHP
I am integrating Coinbase Commerce API in my PHP web application for accepting payments. I am taking reference from official PHP library for the Coinbase commerce
So I have a addfunds.php Where can ...
1
vote
0
answers
144
views
Coinbase Commerce API response error : required pricing_type
I was using postman and gave the parameter of the of the pricing_type
as 'fixed_price' The example:
{"local_price":{"amount":10,"currency":"USD"},"metadata&...
0
votes
1
answer
363
views
Connect to specific blockchain on CoinbaseWalletSdk provider init
I am trying to connect to the polygon chain when creating a new Web3Modal and the coinbaseWalletSdk.
According to what I found, the following code initializes the provider and should connect to chain ...
0
votes
1
answer
113
views
Coinbase Sandbox API /accounts call - Invalid Signature with curl
Greets,
Looks like I'm having a similar problem to others (here and here), but seem to be missing something obvious. Trying to call Coinbase Sandbox API /accounts to get a list of accounts. ...
1
vote
0
answers
135
views
Coinbase API: Invalid signature with PHP code
I can not get the Coinbase base API to work because of this error:
{"errors":[{"id":"authentication_error","message":"invalid signature"}]}
I checked ...
0
votes
1
answer
514
views
how can I add Coinbase base as a payment system to my website?
I want to add Coinbase as a payment methods to my laravel website. Can anyone give me the documentation of coinbase commerce api?
-2
votes
1
answer
84
views
How to add balance to the user's account of a website directly, where payment gets done in the coinbase?
We are building a website where the payment is done by coinbase. Here the logged in users of the website adds credit to their account through payment from coinbase using the btc address. We added the ...
-1
votes
1
answer
154
views
function wont execute when the button is pressed on PySimpleGUI
I have made a program that executes a market order trade by utilizing the Coinbase Crypto Exchange Sandbox API. This code works fine when I execute it without a GUI. However, I want to create a GUI ...
1
vote
1
answer
415
views
Coinbase Commerce api return a 400 error because "pricing_type" is required
const query = {
name: 'The Sovereign Individual',
description: 'Mastering the Transition to the Information Age',
local_price: {
amount: ...
1
vote
0
answers
157
views
Can I make this "requires" compatible?
I've been doing CS50 and now I'm in my final project. I need this library called cbpro to finish my project and I keep get this errors. This cbpro helps me to connect to Coinbase API and work in my ...
-1
votes
1
answer
378
views
Cryptocurrency chart to reflect the last 7 day performance
I am trying to generate the last 7 days performance for a number of tokens in Django. Please refer to the coinmarketcap.com which shows the performance of a token for last 7 days.
I am getting the ...
0
votes
1
answer
182
views
Get list accounts etherjs is empty array when f5 refresh page
I have both meta mask and coin base. My code:
const provider = new ethers.providers.Web3Provider(window.ethereum);
const accounts = await provider.listAccounts();
accounts = [] when i f5 refresh page. ...
1
vote
0
answers
794
views
Passing Authorization in Axios Header Not Working
I am trying to dynamically generate checkout on the Coinbase Commerce API. I am following the documentation found here and porting into a javascript website using axios to make requests.
It seems like ...
0
votes
1
answer
137
views
CbPro python library giving invalid response
When i attempt to use the CBPro api it gives bad responses
import cbpro
Output
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Python310\...
0
votes
1
answer
349
views
How to use for loop to pull & append historic data from Coinbase Pro?
Apologies in advance I'm quite new to this.
My objective is to get a .csv file of historic BTC/USD data in OHLC format for the 15 minute timeframe, between 1 Jan 2018 - current day. I am working with ...
3
votes
0
answers
334
views
Coinbase Oauth Redirect URL Issue with Expo App
I am trying to integrate Coinbase oauth2 to my react-native expo app. I have followed the below guide: https://docs.expo.dev/guides/authentication/#coinbase
Below is my app.json
{
"expo":...
1
vote
1
answer
302
views
next auth coinbase provider using prisma adapter doesn't add Account error created_at in data.created_at for type AccountUncheckedCreateInput
Seems like one data object in AccountUncheckedCreateInput is missing:
data.created_at
Invalid p.account.create() invocation in
16 },
17 updateUser: ({ id, ...data }) => p.user.update({ where: { id }...
1
vote
0
answers
197
views
Coinbase Websocket AttributeError: module 'collections' has no attribute 'MutableMapping'
So I'm using python 3.10.1 and to my uderstanding the module isn't compatible with this version as it results in the error
Coinbase Websocket AttributeError: module 'collections' has no attribute '...
4
votes
1
answer
3k
views
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 ...
1
vote
0
answers
158
views
Coinbase - put checkout Id in success page link when creating a charge
So when I am specifying the success page link when creating a charge I want to put the id in the link so I can retrieve the data from the checkout session
This is my code:
app.get('/checkout', ...
1
vote
1
answer
2k
views
How to subscribe to the coinbase websocket?
I have referred to the following resources:
https://docs.cloud.coinbase.com/exchange/docs/websocket-overview
https://docs.cloud.coinbase.com/exchange/docs/websocket-channels
After I connect to wss://...
1
vote
1
answer
72
views
Coinbase Connect (OAUTH2) - Preselect Wallet Currency
When i redirect a user to the coinbase oauth url, the "BTC Wallet" in "Wallet Access" is always preselected. Is it possible to send an additional information as query parameter or ...
0
votes
0
answers
83
views
Why unable to trigger AWS Lamda function with Coinbase Commerce Webhook on any event?
I'm trying to connect the Coinbase Commerce Webhook to AWS Lamda function to track the payments related events. But when I try to test the Webhook and send a test request to API endpoint, it just show ...
1
vote
0
answers
371
views
Coinbase extension popup requires remove the cache every time for connection
I am having trouble connecting the coinbase wallet in my application and I was wondering if you could help me with this. My issue is that I am using the web3-react(beta) for coinbase connection in my ...