<p>There are two ways of doing that.<br>
You can read blocks directly from the disk and process them or you can ask a Bitcoin client (like Bitcoin Core, for example) for the info via RPC calls.<br>
The second way is easier but it may be slower.</p>

<pre><code>For each block get all the hashes
 For each hash get details and write to your choice of storage 
</code></pre>

<p>There are RPC call for each of the actions.<br>
Just type help into the console in a Bitcoin client and you can see them all.</p>

CC BY-SA 3.0
2017-07-23T22:06:15.677Z
2017-07-23T22:06:15.677Z
Albert S
<p>From my understanding that the entire bitcoin transaction history is stored in every client. I'm looking into ways to get this information out and get them into databases or simply csv files.</p>

<p>I have checked out this repository on github:
<a href="https://github.com/bitcoin-abe/bitcoin-abe" rel="nofollow noreferrer">https://github.com/bitcoin-abe/bitcoin-abe</a></p>

<p>But it seems it has not been updated for a while, and it mentions </p>

<blockquote>
  <p>Prior to Bitcoin v0.8, this assumption seemed safe. Abe may need some fixes to >avoid skipping blocks while current and future Bitcoin versions run.</p>
</blockquote>

<p>I'm wondering if there is other tools for getting the entire transaction history out?</p>

<p>Thanks in advance!</p>

<bitcoin-core><api>
Best way to get the entire bitcoin transaction history
qichao_he
# Best way to get the entire bitcoin transaction history

(Asked by: username_0 on 2017-07-22)

From my understanding that the entire bitcoin transaction history is stored in every client. I'm looking into ways to get this information out and get them into databases or simply csv files.

I have checked out this repository on github:
<https://github.com/bitcoin-abe/bitcoin-abe>

But it seems it has not been updated for a while, and it mentions

> Prior to Bitcoin v0.8, this assumption seemed safe. Abe may need some fixes to >avoid skipping blocks while current and future Bitcoin versions run.

I'm wondering if there is other tools for getting the entire transaction history out?

Thanks in advance!

**Tags:** bitcoin-core, api


---

## 1 answers

### Answer by username_1 on 2017-07-23. Score: 1

There are two ways of doing that.  
You can read blocks directly from the disk and process them or you can ask a Bitcoin client (like Bitcoin Core, for example) for the info via RPC calls.  
The second way is easier but it may be slower.

```
For each block get all the hashes
 For each hash get details and write to your choice of storage 

```

There are RPC call for each of the actions.  
Just type help into the console in a Bitcoin client and you can see them all.


---

