<p>There have been estimates of the number of published addresses. For example:</p>

<p><a href="https://blockchain.info/charts/n-unique-addresses" rel="nofollow">https://blockchain.info/charts/n-unique-addresses</a></p>

<p>(this chart seems to be underestimating the address count)</p>

<p>However, I'm interested in the number of public keys. Most of them would be obtained from transaction inputs containing P2PKH response scripts.</p>

<p><a href="https://jonasnick.github.io/blog/2015/02/12/privacy-in-bitcoinj/" rel="nofollow">This article</a> suggests there are at least 56 million, but doesn't describe how this number was found or if the raw data are available:</p>

<blockquote>
  <p>... I obtained around 56 million pubkeys from the blockchain (mid-January) [2015] ...</p>
</blockquote>

<p>Is there a convenient source that gives the number of published public keys in real time?</p>

CC BY-SA 3.0
2015-06-03T04:16:50.647Z
We've had a similar question recently and if memory serves (I'll find the link) the only way to do this is to parse the Blockchain data using a library like Python-bitcoinrpc in conjunction with a full node of bitcoincore
Wizard Of Ozzie
CC BY-SA 3.0
2015-06-03T11:27:57.263Z
@WizardOfOzzie: I think you might be talking about [Extract all public keys from blockchain](http://bitcoin.stackexchange.com/q/37362/5406)
Murch
CC BY-SA 3.0
2017-12-04T03:36:26.807Z
The concept of "number of unique keys" (that article) is different from "number of published keys" - I can't really tell from your question which you are after.  Seems like the latter.  Can you please clarify?
SDsolar
<public-key>
How many unique public keys have been published to the block chain?
Rich Apodaca
# How many unique public keys have been published to the block chain?

(Asked by: username_0 on 2015-06-03)

There have been estimates of the number of published addresses. For example:

<https://blockchain.info/charts/n-unique-addresses>

(this chart seems to be underestimating the address count)

However, I'm interested in the number of public keys. Most of them would be obtained from transaction inputs containing P2PKH response scripts.

[This article](https://jonasnick.github.io/blog/2015/02/12/privacy-in-bitcoinj/) suggests there are at least 56 million, but doesn't describe how this number was found or if the raw data are available:

> ... I obtained around 56 million pubkeys from the blockchain (mid-January) [2015] ...

Is there a convenient source that gives the number of published public keys in real time?

**Tags:** public-key

> **Comments:**
> **username_1**: We've had a similar question recently and if memory serves (I'll find the link) the only way to do this is to parse the Blockchain data using a library like Python-bitcoinrpc in conjunction with a full node of bitcoincore  
> **username_2**: @username_1: I think you might be talking about [Extract all public keys from blockchain](http://bitcoin.stackexchange.com/q/37362/5406)  
> **username_3**: The concept of "number of unique keys" (that article) is different from "number of published keys" - I can't really tell from your question which you are after.  Seems like the latter.  Can you please clarify?  

---

## 0 answers

