The API allows you to get blocks and transactions by hash, query the history of an address, and relay your own transactions to the network.

Blocks and Transactions are available in raw binary format (.bin) or the inofficial json format established by blockexplorer.com (.json).

All JSON responses are pretty-printed by default. You can add a parameter "raw" to get the unformatted JSON.

Block

Get a block by hash in either .json or .bin format.

Transaction

Get a transaction by hash in either .json or .bin format.

Address

Get transactions relevant to an address.

Name

Get a namecoin record by its name.

Relay

Relay a transaction to the network.

Stats

Get some blockchain statistics.

Dumps

Download database dumps of the full blockchain an run arbitrary custom queries against it locally.