I’ve got this working:
https://api.coinbase.com/api/v3/brokerage/accounts
And it returns a list of accounts with a column of uuid’s.
This doesn’t seem to work:
https://api.coinbase.com/api/v3/brokerage/accounts/{account_uuid}
I take a uuid from the list do do the same GET request with supplied and it doesn’t return anything. There’s no error… just an empty response.
So instead of this:
https://api.coinbase.com/api/v3/brokerage/accounts
I’m doing this:
https://api.coinbase.com/api/v3/brokerage/accounts/00000000-0000-0000-0000-000000000000
The Python examples provided are also basically the same except for the endpoint:
import http.client
import json
conn = http.client.HTTPSConnection(“api.coinbase.com”)
payload = ‘’
headers = {
‘Content-Type’: ‘application/json’
}
conn.request(“GET”, “/api/v3/brokerage/accounts/:account_uuid”, payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode(“utf-8”))
Am I missing something here or do I just supply the “uuid” at the end of the URI?
Just FYI, this isn’t my code above… my code handles the auth properly. The only difference between the working list accounts and the not working get account is just supplying the uuid at the end.