/v1/keys
Account access keys + permissions
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode 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_..."}
)
Example response
A real response from this endpoint, captured by the latest 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
}