I thought it was the height, but that wouldn't work. What exactly is the block index?
Because I allow store orphaned blocks the block height cannot be used as a blocks primary key, instead I use a key called block index. If you can lookup by block index then please do as I cache by block index so lookups are faster, otherwise use
/block-height/$block_height?format=json
.
Added two new api calls:
/rawaddr - to get information about an address
/unspent - get the unspent outputs of one or multiple addresses.
Also regarding usage of this api, if you are displaying data on a public website then please a link back to blockchain.info. + I have a 200GB bandwidth limit so please go easy (or donate).