Zum Inhalt springen
GET /v1/keys

Account access keys + permissions

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "keys": [
            {
                "type": "FullAccess",
                "nonce": 195119959000001,
                "public_key": "ed25519:CAAuuVUijdewX2ktgCDvXfxCrtUmNCvs8CBFhaZEJWoh"
            }
        ],
        "count": 1,
        "source": "NEAR",
        "key_count": 1,
        "account_id": "aurora",
        "full_access_keys": 1,
        "function_call_keys": 0
    },
    "meta": {
        "timestamp": "2026-06-10T14:02:28.547Z",
        "request_id": "4d0483a4-7523-41e3-a1f3-d15706e56a6f"
    },
    "status": "ok",
    "message": "Access keys retrieved successfully",
    "success": true
}