<p>This project: <a href="https://github.com/sr-gi/bitcoin_tools" rel="nofollow noreferrer">https://github.com/sr-gi/bitcoin_tools</a> might be what you're looking for...The repo has resources to dump the leveldb database into a JSON like format for review and analysis. They also created a paper discussing the format of UTXO <a href="https://eprint.iacr.org/2017/1095.pdf" rel="nofollow noreferrer">here</a>.</p>

CC BY-SA 3.0
2017-11-29T09:22:14.750Z
Wow, that's exactly what I was looking for!
schlingel
CC BY-SA 3.0
2017-11-27T16:20:13.610Z
2017-11-27T16:20:13.610Z
JohnGalt
<ul>
<li><a href="https://github.com/richardkiss/pycoin" rel="nofollow noreferrer">Pycoin</a> is a highly recommended library. You can set it to query multiple blockchain API providers for safety. Here is an example to get unspent <a href="https://github.com/priestc/moneywagon/wiki/Creating-Transactions" rel="nofollow noreferrer">outputs</a> while creating a transaction.</li>
<li>I did a similar <a href="https://bitcoin.stackexchange.com/questions/51919/how-many-utxos-have-a-marginal-fee-cost-thats-higher-than-its-worth">analysis</a> by directly reading from .bitcoin/chainstate directory a while ago. Note: May not work with bitcoind 0.15+, as it had changes in chainstate DB format</li>
</ul>

CC BY-SA 3.0
2017-11-27T17:21:18.667Z
2017-11-27T17:26:30.143Z
2017-11-27T17:26:30.143Z
dark knight
<p>I'm looking for an API which lets me query for UTXOs on the base of specific meta data, e.g:</p>

<ul>
<li>When was the transaction containing the UTXO issued?</li>
<li>From which address?</li>
<li>etc.</li>
</ul>

<p>I have found this question: <a href="https://bitcoin.stackexchange.com/questions/53865/what-is-the-best-way-to-download-a-recent-utxo-set-snapshot">What is the best way to download a &quot;recent&quot; UTXO set snapshot?</a></p>

<p>But it just contains the information that it's unsafe. I'm only interested in the meta data and don't want to run a wallet on it. Therefore I'm not interested in security aspects.</p>

<p>Is there a war to query on the UTXO globally, without a given address? Or a way to download the whole UTXO? </p>

<api><utxo><raw-data><historical-trade-data>
Where to find UTXO Metadata API
schlingel
# Where to find UTXO Metadata API

(Asked by: username_0 on 2017-11-11)

I'm looking for an API which lets me query for UTXOs on the base of specific meta data, e.g:

* When was the transaction containing the UTXO issued?
* From which address?
* etc.

I have found this question: [What is the best way to download a "recent" UTXO set snapshot?](https://bitcoin.stackexchange.com/questions/53865/what-is-the-best-way-to-download-a-recent-utxo-set-snapshot)

But it just contains the information that it's unsafe. I'm only interested in the meta data and don't want to run a wallet on it. Therefore I'm not interested in security aspects.

Is there a war to query on the UTXO globally, without a given address? Or a way to download the whole UTXO?

**Tags:** api, utxo, raw-data, historical-trade-data


---

## 2 answers

### Answer by username_1 on 2017-11-27. Score: 2 | Accepted answer

This project: <https://github.com/sr-gi/bitcoin_tools> might be what you're looking for...The repo has resources to dump the leveldb database into a JSON like format for review and analysis. They also created a paper discussing the format of UTXO [here](https://eprint.iacr.org/2017/1095.pdf).

> **Comments:**
> **username_0**: Wow, that's exactly what I was looking for!  

---

### Answer by username_2 on 2017-11-27. Score: 1

* [Pycoin](https://github.com/richardkiss/pycoin) is a highly recommended library. You can set it to query multiple blockchain API providers for safety. Here is an example to get unspent [outputs](https://github.com/priestc/moneywagon/wiki/Creating-Transactions) while creating a transaction.
* I did a similar [analysis](https://bitcoin.stackexchange.com/questions/51919/how-many-utxos-have-a-marginal-fee-cost-thats-higher-than-its-worth) by directly reading from .bitcoin/chainstate directory a while ago. Note: May not work with bitcoind 0.15+, as it had changes in chainstate DB format


---

