How do I get my transaction history with API

Can anyone provide me with a python code, that gets a transaction history from a wallet, because I tried and tried, but I can’t get it to work

1 Like

What do you mean with transaction history?

For orders you need to use List Orders endpoint:
https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_gethistoricalorders

You know the Statements in COINBASE, where I can get my transactions by downloading it.
I heard that I can also do it with COINBASE API with python, but I don’t know how.

1 Like

You can not do that with Advanced Trade APIs.

I guess you need to look at Sign in with Coinbase APIs - Wallet API: Transactions | Coinbase Cloud.

1 Like

Hey, I 'am back. I saw the documentation and tried it, but I got the same issue as before. The accout_id, cannot be found. Is there any way that you guys can check what my account_id is?

You should use List Accounts endpoint to get your accounts: