Developers
API Documentation
Build your apps with BTC51 data APIs for free
Base URL
https://btc51.orgRate Limit: Free tier: 100 requests/day, no API key required
API Endpoints
GET
/api/bitcoinReal-time Bitcoin price, market data, and network statistics
Response Example
{
"price": 97245,
"priceChange24h": 2.34,
"marketCap": 1920000000000,
"volume24h": 28500000000,
"blockHeight": 892451,
"hashrate": 650000000,
"difficulty": 95670000000000,
"blocksUntilHalving": 157549,
"estimatedHalvingDate": "2028-04-15T12:00:00Z"
}GET
/api/fear-greedFear & Greed Index with historical data
Response Example
{
"value": 72,
"valueClassification": "Greed",
"timestamp": "2026-05-18T00:00:00Z",
"yesterday": { "value": 68, "classification": "Greed" },
"lastWeek": { "value": 54, "classification": "Neutral" },
"lastMonth": { "value": 45, "classification": "Fear" },
"historical": [...]
}GET
/api/hashrateBitcoin network hashrate and mining statistics
Response Example
{
"current": 650000000,
"unit": "TH/s",
"difficulty": 95670000000000,
"avgBlockTime": 598,
"blocksToday": 144,
"historical": [...]
}GET
/api/poolsMining pool distribution data
Response Example
{
"pools": [
{ "name": "Foundry USA", "hashrate": 195000000, "share": 30.0 },
{ "name": "AntPool", "hashrate": 130000000, "share": 20.0 },
...
],
"totalHashrate": 650000000
}Embed Widgets
Embed BTC51 widgets on your website
Price Widget
Size: 300x80<iframe src="https://btc51.org/embed/price" width="300" height="80" frameborder="0"></iframe>Halving Countdown
Size: 320x100<iframe src="https://btc51.org/embed/halving" width="320" height="100" frameborder="0"></iframe>Fear & Greed Gauge
Size: 150x150<iframe src="https://btc51.org/embed/fear-greed" width="150" height="150" frameborder="0"></iframe>Please keep the btc51.org link when using widgets