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.
664
questions
0
votes
0
answers
26
views
Create a stop limit order in CCXT for Coinbase
I want to place a "stop limit order" using CCXT module in python. The stop price dictates the price whether the order is triggered, then the limit price dictates the price at which the order ...
0
votes
1
answer
63
views
"Run-time error '438': Object doesn't support this property or method" in VBA script for Excel
I'm trying to write a VBA script as a macro to be used in Excel. The script calls an API to fetch some data, massages the data a little, then outputs the cleaned data over a range of cells in the ...
-1
votes
0
answers
21
views
Coinbase Advanced ticker API return null values for bid and ask
I'm trying to create a new exchange API wrapper for Gekko open source crypto trading bot, for coinbase's advanced APIs.
I'm using an NPM package called node-api-coinbase. When making the call to the ...
1
vote
0
answers
77
views
Coinbase FIX API - rate limit algorithm
According to the Coinbase documentation, the FIX Order Entry API rate limits are:
50 requests per rolling second per session
100 messages per second
in bursts
How do we have to understand the second ...
-1
votes
1
answer
32
views
Creating a simple command line project in Kotlin that fetches data from CoinbaseAPI
Relatively new to Kotlin and wanted to get some practice in. I am trying to create a simple command-line project that consumes the CoinbaseAPI. I want to be able to input a Currency Code, i.e. USD, ...
0
votes
0
answers
17
views
working on coinbase-advanced rest api. response code 404 in get market trades, and need fix
using this get market trades function, and im getting this response. im trying to access the market trades. what am i doing wrong?its not my api key or signiture as im usinng those in other funnctions ...
0
votes
1
answer
45
views
Issue in integrating coinbase wallet in react native mobile dapp
I am trying to integrate coinbase wallet in my react native dapp.
I'm referring this
Here is the code.
import { StyleSheet, Text, View,TouchableOpacity } from 'react-native'
import React from 'react'
...
0
votes
0
answers
80
views
i'm trying to connect to the Coinbase advanced api but i'm getting Coinbase 401 unauth error
im making a neural network that will allow me to connect to the coinbase api and trade but ive been having authentication errors so far. how do i fix it here is the code?
import configparser
...
0
votes
0
answers
38
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
74
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
65
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 ...
0
votes
1
answer
129
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
24
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
28
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
174
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
118
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
146
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
105
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
130
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
86
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
39
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
53
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
173
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
78
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
71
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
153
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
772
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 ...
3
votes
2
answers
381
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
433
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
163
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
379
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
119
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
144
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
549
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
87
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
167
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
457
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
162
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
453
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
200
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
812
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
143
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
374
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
345
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
314
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
204
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
169
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
73
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 ...