What it does
The BlockCypher API reads blocks, addresses and transactions on Bitcoin and other chains, and can post events to a webhook, for example to watch an address for payments. Requests are GET calls with JSON answers. Free, no key needed for read-only calls, up to 3 requests a second and 100 an hour. POST calls and webhooks need a free token.
At a glance
- API key
- Not needed · More APIs with no key
- Pricing
- Free, no key needed for read-only calls, up to 3 requests a second and 100 an hour.
- From the browser
- Yes (CORS)
- Formats
- JSON
- Interface
- REST, HTTP-GET, Webhooks
- Provider
- blockcypher.com
More information: https://www.blockcypher.com/dev/bitcoin/
Is this your service? Show that it is listed
Put this badge on your website or in your README; it links to this page. About the badge
Example request
curl
curl 'https://api.blockcypher.com/v1/btc/main'
JavaScript
const response = await fetch("https://api.blockcypher.com/v1/btc/main");
const data = await response.json();
console.log(data);
Python
import requests
response = requests.get(
"https://api.blockcypher.com/v1/btc/main",
timeout=30,
)
print(response.json())
The JavaScript works in a web page as well as in Node.js 18 or newer.