API Documentation

The Suacoin Explorer provides a simple JSON API to retrieve blockchain data.

Base URL

https://blockexplorer.suacoin.com/api/index.php
GET ?action=summary

Returns general network statistics and supply information.

Example Response:
{
  "data": [{
    "difficulty": 26.41,
    "supply": 5564887,
    "hashrate": 1.321,
    "lastPrice": 1.0127,
    "connections": 12,
    "blockcount": 222595
  }]
}
GET ?action=last_txs&start=0&length=10

Returns the latest transactions with DataTables pagination support.

GET ?action=get_tx&txid={txid}

Returns detailed information about a specific transaction.

GET ?action=get_block&hash={hash} OR &height={height}

Returns block details and a list of all transactions in that block.

GET ?action=get_address&address={address}

Returns address balance summary (satoshis).

GET ?action=get_richlist

Returns the top 100 addresses by balance.