Naar de inhoud
GET /v1/address

An address's CKB balance, NervosDAO deposit, live cells and UDT accounts

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/nervos-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

curl "https://api.oanor.com/nervos-api/v1/address" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/nervos-api/v1/address", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/nervos-api/v1/address");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/nervos-api/v1/address",
    headers={"x-oanor-key": "oanor_test_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "source": "Nervos CKB",
        "address": "ckb1qzda0cr08m85hc8jlnfp3zer7xulejywt49kt2rr0vthywaa50xwsq0tpsqq08mkay9ewrfrdwlcghv62qw704s93hhsj",
        "balance_ckb": 67917951.75984755,
        "bitcoin_address": null,
        "dao_deposit_ckb": 0,
        "live_cells_count": 99904,
        "udt_account_count": 0,
        "mined_blocks_count": 3671803,
        "transactions_count": 3672740,
        "balance_occupied_ckb": 0,
        "dao_compensation_ckb": 0
    },
    "meta": {
        "timestamp": "2026-06-10T22:58:44.967Z",
        "request_id": "af400579-0fc5-45c7-9ffb-c8676d6c8a98"
    },
    "status": "ok",
    "message": "Address retrieved successfully",
    "success": true
}