Skip to content
GET /v1/detect

Classify an address: ERC-20 / ERC-721 / ERC-1155 / contract / EOA

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/ercdetector-api

It works. Grab an API key and use it in your project.

Get an API key

Code 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_..."}
)

Example response

A real response from this endpoint, captured by the latest 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
}