Get Transactions Summary

Does anyone get this working? I always had this error:

{
     'error': 'INTERNAL',
     'error_details': 'internal error',
     'message': 'internal error'
}

Ha I was going to post about that so I’ll just post it here. I got it working.

It seems the /transaction_summary endpoint docs say that the user_native_currency string will default to USD, but calling that endpoint without specifying the string returns an internal server error. Might be nice for the Coinbase devs to either fix the default on the server end, or mark the user_native_currency string as required in the docs.

For now just make sure you add a native currency param to the url, like this for USD: https://coinbase.com/api/v3/brokerage/transaction_summary?user_native_currency=USD

Then it should work.

Side note: make sure you don’t sign with the param. signature should still just use: /api/v3/brokerage/transaction_summary

3 Likes

@jmicko Thank you! Your solution works.

1 Like

@arood I would like to see start_date and end_date in the response, specially when they are not provided by users.

Thank you for the feedback @dpkw - will certainly pass that along