/v1/detect
Classify an address: ERC-20 / ERC-721 / ERC-1155 / contract / EOA
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/ercdetector-api/v1/detect" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/ercdetector-api/v1/detect", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/ercdetector-api/v1/detect");
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/ercdetector-api/v1/detect",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"note": "Classification from a live ERC-165 interface sweep plus an ERC-20 function probe via eth_call. erc20 holds the token metadata when the address behaves like an ERC-20.",
"type": "ERC-20 (token)",
"chain": "ethereum",
"erc20": {
"name": "USD Coin",
"symbol": "USDC",
"decimals": 6,
"total_supply": "51367842183271264"
},
"erc165": false,
"source": "public JSON-RPC (publicnode)",
"address": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"standards": [
"ERC-20"
],
"interfaces": [],
"is_contract": true
},
"meta": {
"timestamp": "2026-06-14T08:04:10.808Z",
"request_id": "c973555b-20f6-4eae-947d-f225549a8a7f"
},
"status": "ok",
"message": "Contract type detected successfully",
"success": true
}