Detailed. Simple. RESTful.
Developer-friendly blockchain API for Bitcoin, Litecoin, Dogecoin, and DashPay + testnets
Introduction
Blockstrap’s API makes it easy for developers to quickly and confidently build applications, perform transactions, and store data in the blockchain for Bitcoin, Litecoin, Dogecoin, and DashPay. We also support their corresponding testnets and provide faucets that can be used to generate free test-coins - ideal for the development process before taking your new application live.
The Blockstrap API operates as a simple RESTful JSON API that can be accessed via http://api.blockstrap.com
or https://api.blockstrap.com
If you need any help with your implementation or have requests for features, please reach out to us at [email protected]. By requesting an API key you'll automatically be kept up to date on new features and changes as they are rolled out.
We also provide SDKs for PHP and Ruby with more languages to be added soon.
Developer Friendly
No string representations of floats - just dependable data delivered in a simple JSON array
Mulitple Values
Values can be returned in satoshis, full coins, and in a choice of over 190 different fiat currencies
Scaleable Service
We can power the smallest app or the largest op. For enterprise level support please contact us.
Market Conditions
Get the latest price, number of transactions, daily amounts, and more in a single API request
DN_Key Support
Replace bitcoin addresses with self-managed usernames via public DNS text records - DNKey.org
supported chains
Chain | CODE |
---|---|
Bitcoin | btc |
Bitcoin Testnet | btct |
Dogecoin | doge |
Dogecoin Testnet | dogt |
Litecoin | ltc |
Litecoin Testnet | ltct |
DashPay | dash |
DashPay Testnet | dasht |
example calls
Method | URL | Notes |
---|---|---|
Block | https://api.blockstrap.com/v0/<CHN>/block/id/<BLOCKHASH> |
None |
Block Latest | https://api.blockstrap.com/v0/<CHN>/block/latest |
None |
Blocks Latest | https://api.blockstrap.com/v0/<CHN>/block/latest/<INT_COUNT> |
Max 10 |
Block Height | https://api.blockstrap.com/v0/<CHN>/block/height/<INT_HEIGHT> |
None |
Transaction | https://api.blockstrap.com/v0/<CHN>/transaction/id/<TXN_ID> |
None |
Transaction Decode | https://api.blockstrap.com/v0/<CHN>/transaction/decode/<TXN_HEX> |
None |
Transaction Relay | https://api.blockstrap.com/v0/<CHN>/transaction/relay/<TXN_Relay> |
None |
Address | https://api.blockstrap.com/v0/<CHN>/address/id/<ADDRESS> |
None |
Addresses | https://api.blockstrap.com/v0/<CHN>/address/ids/<ADDRESS>,<ADDRESS> |
None |
Address Transactions | https://api.blockstrap.com/v0/<CHN>/address/transactions/<ADDRESS> |
None |
Address Unspents | https://api.blockstrap.com/v0/<CHN>/address/unspents/<ADDRESS> |
None |
Waiting for Query ID. Try the following Bitcoin address 1JsoyFgFugGRRY7qkPGTHaKVQpeqf67VVb.