S256 Block Explorer API

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/

Price Info Blockchain Info Holders Blocks Transactions Addresses Search Daemon APIs Network Stats

📊 Blockchain Information

GET /api/blockchain-info
Returns current blockchain information including height, difficulty, connections, and network hashrate.
Example Request:
Example Response:
{
  "blocks": 12500,
  "difficulty": 0.00024414,
  "networkhashps": 12345678,
  "connections": 8
}
GET /api/supply
Returns the current circulating supply of S256.
Example Request:
Example Response:
{
  "circulatingSupply": 1631600,
  "totalSupply": 84000000,
  "maxSupply": 84000000,
  "blocks": 16316
}

💎 Holders

GET /api/holders
Returns the top holders (rich list). Data is cached for 10 minutes.
Parameter Type Description
limit integer Number of holders to return (optional, default: 10)
Example Request:
GET /api/holders/rank
Returns the rank and statistics for a specific address or balance value. This allows you to see where you land on the rich list!
Parameter Type Description
address string S256 address to look up (optional)
balance number Balance value to determine rank (optional)
Example Request (by Address):
Example Request (by Balance):
Example Response (by Balance):
{
  "circulatingSupply": 1631600,
  "totalHolders": 450,
  "searchBalance": 5000,
  "rank": 25,
  "percentage": 0.3064
}

🧱 Blocks

GET /api/blocks/recent/:count?
Returns recent blocks. Optional count parameter (default: 10).
Parameter Type Description
count integer Number of blocks to return (optional, default: 10)
page integer Page number for pagination (query parameter)
Example Request:
GET /api/block/:hashOrHeight
Returns detailed information about a specific block by hash or height.
Parameter Type Description
hashOrHeight string/integer Block hash or block height
Example Request (by height):
Example Request (by hash):

💳 Transactions

GET /api/tx/:txid
Returns detailed information about a specific transaction.
Parameter Type Description
txid string Transaction ID (hash)
Example Request:
GET /api/mempool
Returns transactions currently in the mempool (unconfirmed).
Example Request:

📬 Addresses

GET /api/address/:address/txs
Returns information about an address including balance, transaction count, and a paginated list of transaction history.
Parameter Type Description
address string S256 address (s2... bech32 or S... legacy format)
offset integer Pagination offset (query parameter, default: 0)
limit integer Number of transactions to return (query parameter, default: 10)
Example Request:
Example Response:
{
  "address": "Sfu8VLiVd77sKuShL7aXU65egZr8MLCNrh",
  "balance": 100.50000000,
  "received": 250.00000000,
  "sent": 149.50000000,
  "txCount": 15,
  "transactions": [...]
}

💰 Price Information

GET /api/price
Returns current S256 price data, volume, and market cap from Live Coin Watch. Data is cached for 5 minutes.
Example Request:
Example Response:
{
  "name": "SHA256COIN",
  "price": 0.00123456,
  "volume": 5432.10,
  "cap": 123456.78,
  "liquidity": 987.65
}

Source: Live Coin Watch

⚙️ Daemon APIs (RPC Passthrough)

GET /api/getblockcount
Returns the current block height (number of blocks in the longest blockchain).
Example Request:
Example Response:
{
  "blockcount": 12500
}
GET /api/getdifficulty
Returns the current mining difficulty.
Example Request:
Example Response:
{
  "difficulty": 0.00024414
}
GET /api/getnetworkhashps
Returns the estimated network hash rate (hashes per second).
Example Request:
Example Response:
{
  "networkhashps": 12345678.90
}
GET /api/getinfo
Returns comprehensive network information including version, protocol, connections, and more.
Example Request:

📈 Network Statistics

GET /api/stats/history
Returns historical network statistics (difficulty, hashrate, connections over time).
Parameter Type Description
hours integer Number of hours of history (default: 24, query parameter)
Example Request:
GET /api/health
Returns the health status of the explorer and its connection to the blockchain node.
Example Request:
Example Response:
{
  "status": "ok",
  "database": "connected",
  "node": "connected",
  "lastSync": "2025-12-23T18:00:00.000Z"
}

Rate Limiting

The search endpoint is rate-limited to 30 requests per minute per IP address. Other endpoints currently have no rate limits but please use responsibly.

Support

For questions or issues with the API, please visit: Discord | Telegram | GitHub

S256_SECURE_TERMINAL v1.337 [ENCRYPTED]
Initializing secure connection...
Decrypting blockchain parameters...
Access granted.