<p>The result returned from that API is a compound JSON object containing:</p>

<ol>
<li>Address basic information and summary</li>
<li>List of transactions associated with that address</li>
</ol>

<p>The transactions are included in a JSON-encoded list under the <code>txs</code> key. Every transaction itself is a dictionary-like object holding pertinent information.</p>

<p>It should be pretty clear when you visualize it into a tree structure. You can use <strong>JSONView</strong> plugin <a href="http://jsonview.com/" rel="nofollow">for Firefox</a> or <a href="https://chrome.google.com/webstore/detail/chklaanhfefbnpoihckbnefhakgolnmc" rel="nofollow">Chrome</a> - it'll render all <code>application/json</code> responses in a nice hierarchical and clickable tree and help you understand it.</p>

CC BY-SA 3.0
2014-10-30T06:11:47.963Z
yea i can understand that.. im displaying in json tree structure too.. what is the exact index name for the transaction value , confirmations, time?
hello world
CC BY-SA 3.0
2014-10-29T10:27:48.607Z
2014-10-29T10:27:48.607Z
knaperek
<p>You are probably looking for the transaction protocol specification. <a href="https://en.bitcoin.it/wiki/Protocol_specification#tx" rel="nofollow">Here</a> is the link from the bitcoin wiki. </p>

<p>You can map JSON keys returned from blockchain.info to the transaction protocol below. For instance the description field <code>version</code> on the wiki maps to blockchain.info's <code>ver</code>. </p>

<p>You need to parse through that structure according to the protocol into native structures/objects in whatever programming language you are using. </p>

CC BY-SA 3.0
2014-10-29T15:40:27.657Z
2014-10-29T15:40:27.657Z
Chris Stewart
<p>I want to fetch transactions for an address from the following api:</p>

<p><a href="https://blockchain.info/address/" rel="nofollow">https://blockchain.info/address/</a>$btc_address?format=json</p>

<p>The thing is understanding the json returned from the api, I don't understand which of them are the transaction and the time when that transaction took place and the confirmations of a transaction.</p>

<p>Can any one help?</p>

<transactions><blockchain><api><blockchain.info>
Block Chain API for BTC transactions
hello world
# Block Chain API for BTC transactions

(Asked by: username_0 on 2014-10-29)

I want to fetch transactions for an address from the following api:

<https://blockchain.info/address/>$btc\_address?format=json

The thing is understanding the json returned from the api, I don't understand which of them are the transaction and the time when that transaction took place and the confirmations of a transaction.

Can any one help?

**Tags:** transactions, blockchain, api, blockchain.info


---

## 2 answers

### Answer by username_1 on 2014-10-29. Score: 1

The result returned from that API is a compound JSON object containing:

1. Address basic information and summary
2. List of transactions associated with that address

The transactions are included in a JSON-encoded list under the `txs` key. Every transaction itself is a dictionary-like object holding pertinent information.

It should be pretty clear when you visualize it into a tree structure. You can use **JSONView** plugin [for Firefox](http://jsonview.com/) or [Chrome](https://chrome.google.com/webstore/detail/chklaanhfefbnpoihckbnefhakgolnmc) - it'll render all `application/json` responses in a nice hierarchical and clickable tree and help you understand it.

> **Comments:**
> **username_0**: yea i can understand that.. im displaying in json tree structure too.. what is the exact index name for the transaction value , confirmations, time?  

---

### Answer by username_2 on 2014-10-29. Score: 0

You are probably looking for the transaction protocol specification. [Here](https://en.bitcoin.it/wiki/Protocol_specification#tx) is the link from the bitcoin wiki.

You can map JSON keys returned from blockchain.info to the transaction protocol below. For instance the description field `version` on the wiki maps to blockchain.info's `ver`.

You need to parse through that structure according to the protocol into native structures/objects in whatever programming language you are using.


---

