Zum Inhalt springen
GET /v1/address

Address balance & contract info

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/astar-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

curl "https://api.oanor.com/astar-api/v1/address" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/astar-api/v1/address", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/astar-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/astar-api/v1/address",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "address": {
            "ens": null,
            "hash": "0xf0b40b0ff4f35F8812B9DE204ba8955637ECAfD9",
            "name": null,
            "token": null,
            "creator": null,
            "balance_wei": "744091442145891396676",
            "is_contract": false,
            "is_verified": false,
            "balance_astr": 744.0914421458915
        }
    },
    "meta": {
        "timestamp": "2026-06-08T18:26:35.281Z",
        "request_id": "c6d2c42f-c103-4a41-91ee-a71b0888987b"
    },
    "status": "ok",
    "message": "Address retrieved successfully",
    "success": true
}