create account

How To Get Your Ethereum Transaction History In Excel? by dalz

View this thread on: hive.blogpeakd.comecency.com
· @dalz · (edited)
$10.78
How To Get Your Ethereum Transaction History In Excel?
Getting data from the Ethereum blockchain with Excel? Is this possible?
In a way it is. I would just not call it a direct method 😊. 
 


![01.png](https://images.hive.blog/DQmcst8ZXfCuUVp95Z9VFYNqVP4YCxEMn9iUNAxidqaDvH2/01.png)



One the most popular Ethereum blockchain explorer is Etherscan. Actually, they keep adding more and more functionalities to the web and are probably acting more than a simple block explorer and more of an analytics platform for the Ethereum blockchain.

As all things data what we need is an “API”. An url where to connect and get data. 
Etherscan provides this. Although not everything is free to use, but there is enough free stuff to play around with. Etherscan is a sort of middle man between users and the blockchain for data. 

Here we will be looking at step by step how to get your transactions history from the Etherscan API using excel. It’s a basic and simple way to get your data with a common tool like excel.


First go to the APIs section on Etherescan.

 

![02.png](https://images.hive.blog/DQmd8yU1DgmWkx6rNsea1Q31U1vxJzf7yHR9CjEktTTrkvG/02.png)


https://etherscan.io/apis

The next thing you need to do is create your API key. This is needed for all the APIs calls you are going to make.
Click on the text “ClientPortal->MyApiKey”.



 

![03.png](https://images.hive.blog/DQmdh1SbsRLChUMPxWjQ7ADGzLdJm68qqQyJCn3Dsmg2m6Y/03.png)


https://etherscan.io/login?cmd=last


Go to the sign up option and create your username and password. A conformation mail will be sent to you and your Etherescan account is created. Then log in. 

Next click the Add button on the top to create your keys. 

 

![04.png](https://images.hive.blog/DQmaAF8vzZoUYzCR2TQ45TNjHVoP2qYa9Z2x3CNbb4FVWVA/04.png)



A pop up will come up with an AppName, that is optional, you may put something in or not. Click continue. 
 

![05.png](https://images.hive.blog/DQmbnAb2GrdLWuYu6rHRGXbiKEBRXFsFMD1fjaUoPGs5QQt/05.png)



Your API key token is now created and available to use.
 

![06.png](https://images.hive.blog/DQmaFDS31HdqTU13VD5VbQpDA7VYmCMJ7znBVaKoHVQaTrk/06.png)



Now we are ready to get some data from Etherscan and the Ethereum blockchain.

For data we need in our case, go to the accounts section https://etherscan.io/apis#accounts.



![07.png](https://images.hive.blog/DQmSLNEmVEvwFh6Skf1NWX6HEvG9qK7XHY5TGJjB3vvs5eD/07.png)
 


https://etherscan.io/apis#accounts

From here we will be using the “Get a list of 'Normal' Transactions By Address” API.


-	https://api.etherscan.io/api?module=account&action=txlist&address=0xddbd2b932c763ba5b1b7ae3b362eac3e8d40121a&startblock=0&endblock=99999999&sort=asc&apikey=YourApiKeyToken

You need to edit the API above and enter your:
-	API key token
-	Wallet address

The API key token goes right at the end of the url, after the = sign, and the wallet address need to be replaced starting from address=0x …. 

When I updated my url it looks like this:

-	https://api.etherscan.io/api?module=account&action=txlist&address=0x65F6D626f575571d193aB303Ef0EC4c0DfFCb2dF&startblock=0&endblock=99999999&sort=asc&apikey=EYBGFEVFVGFTH6GAWNTEP7NZUXWBNGGM7U


*Note: Don’t try to use the url above, I will change my API key. Its simple and easy to create yours as described above.* 

Now that we have the url, go in excel in the Data section-> From Web, as show bellow.

 

![08.png](https://images.hive.blog/DQmdAUiR5N1Z6k2aGYfjbJYxxGGi15reNqsoNipanGB8U7Z/08.png)


The pop up window will come out, paste your url and click ok.

 

![09.png](https://images.hive.blog/DQmdEiF7mq8swzHao95UDJCpdeXso9WhWJHD6SrYnn5ZrZF/09.png)


In the next dialog box from the Power Query Editor, in the Convert section click Into Table.

 

![10.png](https://images.hive.blog/DQmfCMSRWJRmczgmFK9eGwNEeVWvyN5UZFdyHCCmG4TQMCp/10.png)


A List option will come up, click that one. 
 

![11.png](https://images.hive.blog/DQmdg4mHSL7ZJTfyyV11cSTSomf6BiB1xJCMbbpEHVuMuW8/11.png)



One more transformation To Table. 
 

![12.png](https://images.hive.blog/DQmS7xWy1stXXvPR4jHr1A2YLwkKo3uNEBp5C8Q8pPShfHq/12.png)



Expand the Record column clicking on the arrows. 
 


![13a.png](https://images.hive.blog/DQmbhPs64jd3xE9yaD5M34hDdMFx8QvTdSfceWmJKrybt68/13a.png)



Finally, on the Home tab, Close & Load.
 

![14.png](https://images.hive.blog/DQmUBApg2iRryKM9dehcATC55CnYoM31o7pTdzntXeqt2px/14.png)




Now you have all your transactions in excel table. You can play around and sort what you need. 
Tip on the timestamp format. It is Unix based, you can convert it to standard date format using the formula:

```
(B2/86400)+DATE(1970,1,1)
```

Some of the more important columns will be the “from” and “to” column and the “value” column. The value column needs to be divided with 10 to the power of 18 to get the real eth value. You will have fields with empty values as well. Those are operation that are not transferring Eth. 

All the best
@dalz

Posted with [STEMGeeks](https://stemgeeks.net)
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 339 others
properties (23)
authordalz
permlinkhow-to-get-your-ethereum-transaction-history-in-excel
categoryhive-163521
json_metadata{"tags":["stem","leofinance","ethereum","stemgeeks","eth","palnet","neoxian"],"image":["https://images.hive.blog/DQmcst8ZXfCuUVp95Z9VFYNqVP4YCxEMn9iUNAxidqaDvH2/01.png"],"app":"stemgeeks/0.1","format":"markdown","canonical_url":"https://stemgeeks.net/@dalz/how-to-get-your-ethereum-transaction-history-in-excel","users":["dalz"],"links":["https://etherscan.io/apis"]}
created2020-11-26 15:05:30
last_update2020-11-26 15:08:48
depth0
children12
last_payout2020-12-03 15:05:30
cashout_time1969-12-31 23:59:59
total_payout_value6.060 HBD
curator_payout_value4.720 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length4,934
author_reputation1,928,993,704,242,836
root_title"How To Get Your Ethereum Transaction History In Excel?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id100,695,121
net_rshares51,075,070,187,614
author_curate_reward""
vote details (403)
@aiovo ·
Nice know I know thanks
👍  ,
properties (23)
authoraiovo
permlinkre-dalz-20201126t2153655z
categoryhive-163521
json_metadata{"tags":["ecency"],"app":"ecency/3.0.9-mobile","format":"markdown+html"}
created2020-11-26 16:05:42
last_update2020-11-26 16:05:42
depth1
children0
last_payout2020-12-03 16:05:42
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length23
author_reputation15,911,295,900,579
root_title"How To Get Your Ethereum Transaction History In Excel?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id100,695,859
net_rshares423,068,398
author_curate_reward""
vote details (2)
@bagofincome ·
Damn, this is the first time I'm seeing it's possible. I've been using Zerion.app but this is much better! Thanks!

Posted Using [LeoFinance <sup>Beta</sup>](https://leofinance.io/@bagofincome/re-dalz-5x1t5u)
👍  
properties (23)
authorbagofincome
permlinkre-dalz-5x1t5u
categoryhive-163521
json_metadata{"app":"leofinance/0.2","format":"markdown","tags":["hive-163521","leofinance","hive-167922"],"canonical_url":"https://leofinance.io/@bagofincome/re-dalz-5x1t5u"}
created2020-11-27 09:20:21
last_update2020-11-27 09:20:21
depth1
children0
last_payout2020-12-04 09:20:21
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length208
author_reputation22,360,188,193,993
root_title"How To Get Your Ethereum Transaction History In Excel?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id100,705,488
net_rshares6,142,831
author_curate_reward""
vote details (1)
@hivebuzz ·
Congratulations @dalz! You have completed the following achievement on the Hive blockchain and have been rewarded with new badge(s) :

<table><tr><td><img src="https://images.hive.blog/60x70/http://hivebuzz.me/@dalz/upvoted.png?202011261719"></td><td>You received more than 45000 upvotes. Your next target is to reach 50000 upvotes.</td></tr>
</table>

<sub>_You can view your badges on [your board](https://hivebuzz.me/@dalz) and compare yourself to others in the [Ranking](https://hivebuzz.me/ranking)_</sub>
<sub>_If you no longer want to receive notifications, reply to this comment with the word_ `STOP`</sub>

properties (22)
authorhivebuzz
permlinkhivebuzz-notify-dalz-20201126t174202000z
categoryhive-163521
json_metadata{"image":["http://hivebuzz.me/notify.t6.png"]}
created2020-11-26 17:42:00
last_update2020-11-26 17:42:00
depth1
children0
last_payout2020-12-03 17:42:00
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length616
author_reputation369,400,985,773,318
root_title"How To Get Your Ethereum Transaction History In Excel?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id100,697,165
net_rshares0
@ii323 ·
Perfect educational tutorial! Thank you @dalz

Posted Using [LeoFinance <sup>Beta</sup>](https://leofinance.io/@ii323/re-dalz-6v1y2k)
👍  ,
properties (23)
authorii323
permlinkre-dalz-6v1y2k
categoryhive-163521
json_metadata{"app":"leofinance/0.2","format":"markdown","tags":["hive-163521","leofinance","hive-167922"],"canonical_url":"https://leofinance.io/@ii323/re-dalz-6v1y2k"}
created2020-11-28 21:37:54
last_update2020-11-28 21:37:54
depth1
children1
last_payout2020-12-05 21:37:54
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length133
author_reputation211,391,806,774
root_title"How To Get Your Ethereum Transaction History In Excel?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id100,726,221
net_rshares459,682,521
author_curate_reward""
vote details (2)
@dalz ·
Thanks!
properties (22)
authordalz
permlinkqkq3xi
categoryhive-163521
json_metadata{"app":"hiveblog/0.1"}
created2020-12-02 17:44:03
last_update2020-12-02 17:44:03
depth2
children0
last_payout2020-12-09 17:44:03
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length7
author_reputation1,928,993,704,242,836
root_title"How To Get Your Ethereum Transaction History In Excel?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id100,782,627
net_rshares0
@inalittlewhile ·
This is an extremely helpful tutorial. I have a feeling I'm going to need this someday. Thanks Dalz. Posted via LeoInfra. 

Posted Using [LeoFinance <sup>Beta</sup>](https://leofinance.io/@inalittlewhile/re-dalz-25pi3o)
👍  ,
properties (23)
authorinalittlewhile
permlinkre-dalz-25pi3o
categoryhive-163521
json_metadata{"app":"leofinance/0.2","format":"markdown","tags":["hive-163521","leofinance","hive-167922"],"canonical_url":"https://leofinance.io/@inalittlewhile/re-dalz-25pi3o"}
created2020-11-27 22:34:09
last_update2020-11-27 22:34:09
depth1
children0
last_payout2020-12-04 22:34:09
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length219
author_reputation63,190,898,727,188
root_title"How To Get Your Ethereum Transaction History In Excel?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id100,713,953
net_rshares424,905,103
author_curate_reward""
vote details (2)
@obrisgold1 ·
wow i never believed this is possible, but after reading this post it became clear to me. i will try this out. thanks for sharing  

Posted Using [LeoFinance <sup>Beta</sup>](https://leofinance.io/@obrisgold1/re-dalz-cw46r)
👍  ,
properties (23)
authorobrisgold1
permlinkre-dalz-cw46r
categoryhive-163521
json_metadata{"app":"leofinance/0.2","format":"markdown","tags":["hive-163521","leofinance","hive-167922"],"canonical_url":"https://leofinance.io/@obrisgold1/re-dalz-cw46r"}
created2020-11-26 16:30:39
last_update2020-11-26 16:30:39
depth1
children1
last_payout2020-12-03 16:30:39
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length223
author_reputation25,085,246,397,366
root_title"How To Get Your Ethereum Transaction History In Excel?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id100,696,141
net_rshares395,361,193
author_curate_reward""
vote details (2)
@dalz ·
Thanks!
properties (22)
authordalz
permlinkqkeyvf
categoryhive-163521
json_metadata{"app":"hiveblog/0.1"}
created2020-11-26 17:21:12
last_update2020-11-26 17:21:12
depth2
children0
last_payout2020-12-03 17:21:12
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length7
author_reputation1,928,993,704,242,836
root_title"How To Get Your Ethereum Transaction History In Excel?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id100,696,866
net_rshares0
@poshbot ·
https://twitter.com/Dalz19631657/status/1331978668831338499
properties (22)
authorposhbot
permlinkre-how-to-get-your-ethereum-transaction-history-in-excel-20201126t151043z
categoryhive-163521
json_metadata"{"app": "beem/0.24.8"}"
created2020-11-26 15:10:42
last_update2020-11-26 15:10:42
depth1
children0
last_payout2020-12-03 15:10:42
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length59
author_reputation5,554,335,374,496
root_title"How To Get Your Ethereum Transaction History In Excel?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id100,695,181
net_rshares0
@scaredycatcurate ·
Pretty freaking cool man!

Posted Using [LeoFinance <sup>Beta</sup>](https://leofinance.io/@scaredycatcurate/re-dalz-32ynus)
👍  ,
properties (23)
authorscaredycatcurate
permlinkre-dalz-32ynus
categoryhive-163521
json_metadata{"app":"leofinance/0.2","format":"markdown","tags":["hive-163521","leofinance","hive-167922"],"canonical_url":"https://leofinance.io/@scaredycatcurate/re-dalz-32ynus"}
created2020-11-26 18:19:57
last_update2020-11-26 18:19:57
depth1
children1
last_payout2020-12-03 18:19:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length124
author_reputation246,931,177,273
root_title"How To Get Your Ethereum Transaction History In Excel?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id100,697,622
net_rshares428,888,360
author_curate_reward""
vote details (2)
@dalz ·
Well thank you!

Posted Using [LeoFinance <sup>Beta</sup>](https://leofinance.io/@dalz/re-scaredycatcurate-2r3b6j)
properties (22)
authordalz
permlinkre-scaredycatcurate-2r3b6j
categoryhive-163521
json_metadata{"app":"leofinance/0.2","format":"markdown","tags":["hive-163521","leofinance","hive-167922"],"canonical_url":"https://leofinance.io/@dalz/re-scaredycatcurate-2r3b6j"}
created2020-11-26 21:19:15
last_update2020-11-26 21:19:15
depth2
children0
last_payout2020-12-03 21:19:15
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length114
author_reputation1,928,993,704,242,836
root_title"How To Get Your Ethereum Transaction History In Excel?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id100,699,578
net_rshares0
@vimukthi ·
Thank you for the tip. I'm behind on most things Ethereum. I was disappointed after its issues with Tx fees, lack of scalability etc. and didn't spend much time studying about it. 

Posted Using [LeoFinance <sup>Beta</sup>](https://leofinance.io/@vimukthi/re-dalz-6k9bwe)
👍  ,
properties (23)
authorvimukthi
permlinkre-dalz-6k9bwe
categoryhive-163521
json_metadata{"app":"leofinance/0.2","format":"markdown","tags":["hive-163521","leofinance","hive-167922"],"canonical_url":"https://leofinance.io/@vimukthi/re-dalz-6k9bwe"}
created2020-11-27 13:35:09
last_update2020-11-27 13:35:09
depth1
children0
last_payout2020-12-04 13:35:09
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length271
author_reputation496,988,497,371,644
root_title"How To Get Your Ethereum Transaction History In Excel?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id100,707,720
net_rshares437,843,470
author_curate_reward""
vote details (2)