Price (USD)

$0

Source: NestEx

Market Cap (USD)

$0

Coin Supply (XRO)

0

Max: 100,000 XRO

Network Hashrate

0 KH/s

~0m 00s / block

Difficulty

0

Block —

Next Difficulty Retarget

0 Days 0 Hours 0 Minutes (0 blocks)

Block — • Epoch —%

Next Halving

0 Years 0 Days 0 Hours 0 Minutes

Block — • d-m-Y
Reward —

XeroCoin (XRO) API Documentation

Overview Public • No Auth

The XeroCoin (XRO) Explorer API provides public, read-only endpoints for balances, blocks, transactions, and network stats. All endpoints are GET and return either JSON or plain text.

Base URL
(this site)
Notes
  • All responses are cache-friendly; values update frequently.
  • Timestamps may be ISO-8601 or formatted strings depending on the endpoint.
  • Examples below show non-clickable fake addresses/txids; use your real data.
  • Market endpoints (price/marketcap) may be empty or unavailable while XRO is in premarket.
Addresses
GET /api/v1/balance/{address}

Return the current balance (in XRO) for the given address.

Example
/api/v1/balance/XRO1FAKEADDRESS0000000000000000000001
Response (text):
3013262.41250152
GET /api/v1/address/{address}

List transactions for the given address (direction, amount, timestamp).

Example
/api/v1/address/XRO1FAKEADDRESS0000000000000000000002
Response (JSON):
[
  {
    "txid": "8b1e8ef824b20f90ea816f4d0f39ee1a3df88d36321b1c8e8f400e99f25dfc00",
    "amount": "9826026.2001792",
    "direction": "received",
    "timestamp": "20-12-2024 05:52:45"
  },
  {
    "txid": "8b1e8ef824b20f90ea816f4d0f39ee1a3df88d36321b1c8e8f400e99f25dfc00",
    "amount": "2025526.31342009",
    "direction": "sent",
    "timestamp": "20-12-2024 05:20:10"
  }
]
GET /api/v1/txid/{txid}

Get transaction details (inputs, outputs, totals, fee, timestamp).

Example
/api/v1/txid/c8684f73b09e01dae03d122500b2dc17977725c880ca3ef23cd41e2e5277aa11
Response (JSON):
[
  {
    "txid": "c8684f73b09e01dae03d122500b2dc17977725c880ca3ef23cd41e2e5277aa11",
    "inputs": [
      { "address": "XRO1FAKEINPUTADDRESS0000000000000000000001", "amount": 24497466.14272493 }
    ],
    "outputs": [
      { "address": "XRO1FAKEOUTPUTADDRESS0000000000000000000001", "amount": 21202714.06776493 },
      { "address": "XRO1FAKECHANGEADDRESS0000000000000000000001", "amount": 3294752.0727 }
    ],
    "fee": 0.00226,
    "timestamp": "02-01-2025 20:22:19"
  }
]
Chain & Market
GET /api/v1/live-diff

Current network difficulty with the exact block it's taken from and the data source. RPC (GBT/target or bits) is preferred; falls back to SQL if RPC is unavailable.

Try
/api/v1/live-diff
Response (JSON, RPC example):
{
  "difficulty": 38017052330.22743,
  "diff_block": 49356,
  "source": "rpc",
  "source_detail": "gbt/target"
}
Response (JSON, SQL fallback example):
{
  "difficulty": 34813668013.495255,
  "diff_block": 49355,
  "source": "sql",
  "source_detail": "sql"
}
GET /api/v1/blockcount

Current best block height.

Response (text):
307967
GET /api/v1/lastprice

Latest XRO price in USD (plain number). This endpoint may return empty/zero while XRO is premarket.

Try
Response (text):
0.00026452
GET /api/v1/marketcap

Market capitalization (USD), based on last price × circulating supply.

Try
Response (text):
23322200.0
GET /api/v1/coinsupply

Total circulating coin supply (XRO).

Response (text):
87997562500.0
GET /api/v1/blocktime

Average block time (seconds per block).

Try
Response (text):
60
GET /api/v1/hashrate

Current network hashrate (H/s as a number).

Try
Response (text):
1342000728748918