/v1/canister
A canister type, controllers, name and subnet
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/icp-api/v1/canister" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/icp-api/v1/canister", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/icp-api/v1/canister");
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/icp-api/v1/canister",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"name": "ICP Ledger",
"source": "Internet Computer",
"subnet_id": "tdb26-jop6k-aogll-7ltgs-eruif-6kk7m-qpktf-gdiqx-mxtrf-vb5e6-eqe",
"canister_id": "ryjl3-tyaaa-aaaaa-aaaba-cai",
"controllers": [
"r7inp-6aaaa-aaaaa-aaabq-cai"
],
"module_hash": "51f4be010f23064137defacd627ffbec024c5133210c68ca3b80ab8f257101d6",
"canister_type": "ledger"
},
"meta": {
"timestamp": "2026-06-10T13:59:50.612Z",
"request_id": "a703531e-093d-46ca-833b-e965e9403b86"
},
"status": "ok",
"message": "Canister retrieved successfully",
"success": true
}