<p>I am looking for a way to list all the transactions of an address. For instance, if we use the Blokchain.info API we get:</p>

<pre><code>url='https://blockchain.info/rawaddr/1PFtrRjbq4aLfM7k4tyLZ3ZAuTsgLr6Q8Q'
request=requests.get(url)
addr=request.json()
</code></pre>

<p>Total number of transactions that have ever been made:</p>

<pre><code>addr['n_tx']
69990
</code></pre>

<p>Now if we want to access to the list of these transactions:</p>

<pre><code>addr['txs']
</code></pre>

<p>We get a list of transactions that have been by this address, but when we check the lenght of this list to see how much transactions we got:</p>

<pre><code>len(addr['txs'])
</code></pre>

<p>we find 50.</p>

<p>With Blockexplorer API, we can have up to 1000 transactions for an adress.
I have tried some other API like SoChain, still the same issue (only 50 transactions).</p>

<p><strong>Do you know a way to have access to all the transactions given an adress</strong> - just the list of their hashes - (in our case it is 69990) ?</p>

<p>I do not want to download the blockchain because I just do not have enough space for it.</p>

<p>Thank you !</p>

CC BY-SA 4.0
2018-07-02T12:16:07.037Z
All of these APIs allow paginations, so you can get 1 page of 50, then another of 51-100, then 101-150 and so on.
Raghav Sood
CC BY-SA 4.0
2018-07-02T13:16:01.450Z
The issue is that the API call rate limit is very strict, so in order to build the list of transactions since the genesis block will take a lot of time..
Younes S
CC BY-SA 4.0
2018-07-02T13:43:20.490Z
Yes, but you only need to do it once. Spend a day or so pulling in all that data, then save it locally. Once you have that, you just need to check from the last block you have locally. Also, I don't think they are that strict. 70k txs should be easily retrievable in a few hours.
Raghav Sood
<transactions><address><api>
List All the transactions of an adress - API
Younes S
# List All the transactions of an adress - API

(Asked by: username_0 on 2018-07-02)

I am looking for a way to list all the transactions of an address. For instance, if we use the Blokchain.info API we get:

```
url='https://blockchain.info/rawaddr/1PFtrRjbq4aLfM7k4tyLZ3ZAuTsgLr6Q8Q'
request=requests.get(url)
addr=request.json()

```

Total number of transactions that have ever been made:

```
addr['n_tx']
69990

```

Now if we want to access to the list of these transactions:

```
addr['txs']

```

We get a list of transactions that have been by this address, but when we check the lenght of this list to see how much transactions we got:

```
len(addr['txs'])

```

we find 50.

With Blockexplorer API, we can have up to 1000 transactions for an adress.
I have tried some other API like SoChain, still the same issue (only 50 transactions).

**Do you know a way to have access to all the transactions given an adress** - just the list of their hashes - (in our case it is 69990) ?

I do not want to download the blockchain because I just do not have enough space for it.

Thank you !

**Tags:** transactions, address, api

> **Comments:**
> **username_1**: All of these APIs allow paginations, so you can get 1 page of 50, then another of 51-100, then 101-150 and so on.  
> **username_0**: The issue is that the API call rate limit is very strict, so in order to build the list of transactions since the genesis block will take a lot of time..  
> **username_1**: Yes, but you only need to do it once. Spend a day or so pulling in all that data, then save it locally. Once you have that, you just need to check from the last block you have locally. Also, I don't think they are that strict. 70k txs should be easily retrievable in a few hours.  

---

## 0 answers

