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.
672
questions
0
votes
1
answer
29
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 ...
0
votes
0
answers
7
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":...
-4
votes
0
answers
35
views
How to convert USD to ETH? [closed]
I have created a simple CodeSandbox project to convert ETH to USD. however now I want to convert USD to ETH also. I think it seems to be there is an issue in my USD to ETH logic. It gives me a wrong ...
-1
votes
0
answers
17
views
Coinbase Commerce API 403 Forbidden Charges
Client error: POST https://api.commerce.coinbase.com/charges
resulted in a 403 Forbidden response:
what is the reason for this error? This result is returned from the api.
i use cloudflare btw.
-1
votes
0
answers
29
views
How I can chagne this code to use coibase api for my website?
I have code for bitpay and this is like below:
How can I change the code for using coinbase API? The code is used for bitpay. I have got an coinbase API key.
case 'bitpay':
$json = ...
0
votes
1
answer
25
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
22
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 '...
-2
votes
0
answers
30
views
Getting NFT listings from Coinbase NFT
Is there a public Coinbase NFT API to get NFT listings and collection metadata? I checked the official docs but couldn't find anything relevant to NFTs.
-3
votes
0
answers
27
views
Could url in WalletLinkConnector support object or array like WalletConnect or InjectedConnector?
I was trying to use WalletLinkConnector to connect coinbase wallet. I followed the example and digged into the interface.It seems the type of url is simple string. I am wondering since the ...
1
vote
0
answers
178
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 ...
0
votes
0
answers
30
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', ...
0
votes
0
answers
55
views
How to get the address of the wallet to which the payment was received with Coinbase API?
I trying to determine wallet address to which the payment was received.
In the transaction resource description I see the address field, that should to be exactly what i'm looking for. But API don't ...
0
votes
1
answer
90
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://...
0
votes
0
answers
48
views
Coibase API v2, get fill_price from a transaction
i'm using the coinbase python lib and i want to save all the transactions i made in a json file. But i'm struggling with the "fill_price"(the price for the currency pair at the time of the ...
1
vote
1
answer
40
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
35
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 ...
0
votes
0
answers
22
views
Is there any option to handle callback of coin-base commerce in react?
I am using coinbase commerce in a react-native application. I am using webView to achieve it but I am facing a problem that after authorization, the callback doesn't works. Is there anyway to handle ...
0
votes
0
answers
16
views
inconsistent time intervals on historical spot prices
I am working with Coinbase API v2. I'm trying to request and parse historical spot price data for my application, examples:
https://api.coinbase.com/v2/prices/BTC-EUR/historic?period=hour
https://...
0
votes
0
answers
35
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 ...
0
votes
0
answers
55
views
Coinbase Api - List accounts
what determines sequences of the accounts on the list. The newest account is 1st or the sequence does not have any rule?
https://developers.coinbase.com/api/v2#list-accounts
0
votes
3
answers
103
views
Coinbase API - Conversion Endpoint /conversions
After plenty of late nights and head scratching I have navigated the murky world of the 'Coinbase Pro API' and integrated it with a new trading app I have made. I have hit a snag however and am ...
0
votes
0
answers
34
views
Coinbase Api return empty /addresses
I working right now on React native app with Rarible(NFT) integration. For getting all nft's by ETH wallet from Rarible i need to know ETH wallet. But, problem is, returning data is always empty. (...
0
votes
0
answers
52
views
coinbase api list-deposits/transactions does not return all history records
https://developers.coinbase.com/api/v2?shell#list-deposits
returns only my first deposit to EUR account (2018-04-03)
I did also another several deposits in EUR
https://developers.coinbase.com/api/v2?...
1
vote
0
answers
52
views
"Can't Buy With This Account" POST Request Error When Using The Buys Endpoint To Buy Bitcoin
My goal is to try and get a Node app (written in Typescript) to buy bitcoin using my "GBP Wallet" (fiat account). I am currently trying this via using the Axios library, rather than any ...
0
votes
1
answer
125
views
Cannot connect to Coinbase Extension via the @web3-react/walletlink-connector
I am trying to connect to the coinbase extension via the wallet link connector's instance, new WalletLinkConnector, but I cannot even get the extension's popup open. I am following the exact tutorial ...
0
votes
0
answers
151
views
How to Connect to Coinbase wallet extension with coinbase wallet SDK?
I am trying to connect my coinbase wallet extension from my react app. I have followed the official docs that guide how to do it using the @coinbase/wallet-sdk, but I cannot connect to the wallet nor ...
0
votes
1
answer
77
views
How can I get MarketCapRank from CoinGecko's API
I can use this:
https://api.coingecko.com/api/v3/simple/price?ids=bitcoin&vs_currencies=usd&include_24hr_change=true&include_market_cap=true
to get:
{"bitcoin":{"usd":...
1
vote
0
answers
18
views
Can we list own token in coinbace test net : https://public.sandbox.pro.coinbase.com/
Hi I am creating a cryto wallet application, which can be later connected to COINBASE exchange. So in order to test API integration, i used https://public.sandbox.pro.coinbase.com/ API .. and it'...
0
votes
0
answers
49
views
Cannnot initialize CoinbaseSDK in Nuxt3 project
Please, I would like to use @coinbase/wallet-sdk in a Nuxt3 project.
I have tried on a Nuxt2 project and everything works well but not on v3.
Following the Nuxt3 doc I've added the package to build....
1
vote
1
answer
34
views
What do before and after in Coinbase Pro trades api mean
Does anyone know what before and after in Coinbase Pro's trades api (url here) correspond to? I have tried linux epoch but that didn't work.
0
votes
3
answers
96
views
Is my code crashing because of internet connection issue? if so is there a way i can make a snippet of code to check connection before trying api?
Im using Jupyter Notebook to run a fairly basic crypto trading bot with an API on coinbase and after an arbitrary amount of time, sometimes 6 hours other times 18 hours, the code will error and stop ...
1
vote
0
answers
71
views
Coinbase API Invalid Signature error when using Create Address PHP curl request
From the Coinbase API documentation, to create a new address:
curl https://api.coinbase.com/v2/accounts/82de7fcd-db72-5085-8ceb-bee19303080b/addresses \
-X POST \
-H 'Content-Type: application/...
0
votes
1
answer
91
views
How to fix Coinbase api invalid signature error?
I want to know all my accounts by coinbase api endpoint so following this link: https://developers.coinbase.com/api/v2?shell#list-accounts i have done this:
$path = '/v2/accounts';
$...
1
vote
0
answers
90
views
Does coinbase API support USDT?
Sorry, I'm new here but my question is pretty basic.
I'm in need of suggestions for an API that can provide USDT addresses (any network is fine), and provide webhook notifications on transactions on ...
-1
votes
1
answer
40
views
How to change text in Woo-commerce - Coinbase Commerce
I want to change this text I did not know where to change
Woo-commerce - payment gateway coinbase commerce
In this image the word in red circle
0
votes
1
answer
85
views
Coinbase Commerce PHP WebHook: Failed to establish a connection to the remote server
I'm trying to check if my webhook works, and will implement it. So that I can receive notification when charge is confirmed (charge:confirmed)
So I created php code to check my webhook,
public ...
1
vote
0
answers
70
views
Coinbase Sandbox API Unauthorised API Key
I have generated a number of API keys for coinbase sandbox and am trying to use them to get the list of user accounts. However I keep getting the same error 401 Unauthorised API key.
I have read ...
0
votes
0
answers
40
views
Send, Receive Crypto Notification Coinbase API
Does coinbase support notifications of their feature of sending, receiving crypto from friends/family.
The docs does not really specify it so I would like to cross confirm
and I am confused on how to ...
0
votes
1
answer
40
views
Coinbase API: Where can I find the CB_VERSION date?
My responses from the coinbase v2 api at https://api.coinbase.com/v2 always return:
"warnings": [
{
"id": "missing_version",
"message": "...
0
votes
0
answers
58
views
Access to Trading Pairs (Buy/Sell) using Coinbase OAuth for third-party applications
I am working on a project that would enable users to Sign In with Coibnase and place market orders for different coin pairs.
Eg: - Buy DOT, Buy LINK, etc
Does the Wallet API endpoints specifically - ...
1
vote
1
answer
108
views
ColdFusion : CoinBase API : CB-ACCESS-SIGN ERROR
I am almost there for getting the CoinBase API Sorted - but missing something or a bad conversion. I have tried a few things. This is best I can get too for building everything. I even setup a brand ...
0
votes
0
answers
56
views
Coinbase fails to send notifications to AWS API Gateway URL
A test Coinbase account successfully sends webhook requests to RequestBin, a Postman mock collection, and an ngrok'd endpoint, but will not send requests to any AWS API Gateway API endpoint I've set ...
0
votes
0
answers
65
views
/coinbase-accounts - status: 403 statusText: 'Forbidden'
I'm trying to reach the coinbase pro api endoint : "/coinbase-accounts", but I keep getting 403 forbidden without other clues.
I followed carefully the documentation regarding Authorization ...
0
votes
1
answer
289
views
Coinbase API - Keep getting Invalid API Key despite following the documentation
I'm trying to set me up an application to interact with Coinbase API but I'm struggling with the API Key/Secret.
Based on my code:
import { readFile } from 'fs';
import crypto from 'crypto';
import ...
-3
votes
1
answer
226
views
New to Python. Making a crypto trading bot
At this point in my development I am trying to gather market data for more than one currency every 10 seconds and filter out only price, time, and currency name and put it in a dataframe. Here is my ...
1
vote
0
answers
51
views
Coinbase API Invalid Report Type Using Docs Generated Body
I am trying to create a report using the Coinbase API. I am pulling the request body from the documentation's generated curl. I am getting an error in the response.
request:
const result = await ...
0
votes
0
answers
68
views
API Key Authentication Python example raises TypeError
API Key Authentication Python example in the site raises a TypeError:
Traceback (most recent call last):
File "test-coin.py", line 39, in <module>
r = requests.get(api_url + '...
-2
votes
1
answer
79
views
Register a new user using the coinbase API?
We are creating a DiFi app and I'd like our customers to be able to sign up to coinbase and go through KYC/AML so they have an account in their name, but without them having to leave our site. The ...
-1
votes
1
answer
149
views
Coinbase API call to get crypto spot prices
Just started exploring CoinBase APIs.
I found that
there is a new set of APIs under the umbrella of Coinbase Cloud: https://www.coinbase.com/cloud
there is an older(legacy?) set of APIs known as ...
-1
votes
1
answer
121
views
400 response: service unavailable (am i doing a a sell wrong or is it coinbase?)
I'm trying to get a quote for a small amount of bitcoin and it's been giving me back a 400 response back with the error saying the service is unavailable{'errors': [{'id': 'service_unavailable', '...