Access blockchain data programmatically without running a local wallet. All endpoints return JSON data and can be accessed via standard HTTP GET requests.
Base URL: https://explorer.sha256coin.eu/api/
curl https://explorer.sha256coin.eu/api/blockchain-info
{
"blocks": 12500,
"difficulty": 0.00024414,
"networkhashps": 12345678,
"connections": 8
}
curl https://explorer.sha256coin.eu/api/supply
{
"supply": 1250000.00000000
}
| Parameter | Type | Description |
|---|---|---|
| count | integer | Number of blocks to return (optional, default: 20) |
| page | integer | Page number for pagination (query parameter) |
curl https://explorer.sha256coin.eu/api/blocks/recent/10?page=1
| Parameter | Type | Description |
|---|---|---|
| hashOrHeight | string/integer | Block hash or block height |
curl https://explorer.sha256coin.eu/api/block/1000
curl https://explorer.sha256coin.eu/api/block/00000000abe2a78ceb00eca81258804d59fe4ad45345e1750e705139e6da7297
| Parameter | Type | Description |
|---|---|---|
| txid | string | Transaction ID (hash) |
curl https://explorer.sha256coin.eu/api/tx/328fbe73f2b764658b57a0ac538d67e59b5c6bcde2c266a71bbb842f5430d595
curl https://explorer.sha256coin.eu/api/mempool
| Parameter | Type | Description |
|---|---|---|
| address | string | S256 address (s2... bech32 or S... legacy format) |
curl https://explorer.sha256coin.eu/api/address/S1A2B3C4D5E6F7G8H9
{
"address": "S1A2B3C4D5E6F7G8H9",
"balance": 100.50000000,
"received": 250.00000000,
"sent": 149.50000000,
"txCount": 15,
"transactions": [...]
}
| Parameter | Type | Description |
|---|---|---|
| query | string | Block height, block hash, transaction ID, or address |
curl https://explorer.sha256coin.eu/api/search/1000
{
"type": "block",
"data": { ... }
}
curl https://explorer.sha256coin.eu/api/getblockcount
{
"blockcount": 12500
}
curl https://explorer.sha256coin.eu/api/getdifficulty
{
"difficulty": 0.00024414
}
curl https://explorer.sha256coin.eu/api/getnetworkhashps
{
"networkhashps": 12345678.90
}
curl https://explorer.sha256coin.eu/api/getinfo
| Parameter | Type | Description |
|---|---|---|
| hours | integer | Number of hours of history (default: 24, query parameter) |
curl https://explorer.sha256coin.eu/api/stats/history?hours=48
curl https://explorer.sha256coin.eu/api/health
{
"status": "ok",
"database": "connected",
"node": "connected",
"lastSync": "2025-12-23T18:00:00.000Z"
}