Vai al contenuto
GET /v1/meta

Service metadata, supported chains & live sample

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/ercdetector-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "chains": [
            "ethereum",
            "base",
            "arbitrum",
            "optimism",
            "bsc",
            "polygon",
            "avalanche",
            "gnosis",
            "fantom",
            "linea",
            "scroll",
            "blast"
        ],
        "sample": {
            "type": "ERC-20 (token)",
            "chain": "ethereum",
            "symbol": "USDC"
        },
        "source": "public JSON-RPC nodes (publicnode.com) via eth_call / eth_getCode; decoding computed locally",
        "service": "ercdetector-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/erc20": "Live ERC-20 metadata (name/symbol/decimals/totalSupply) for any token (chain, address).",
            "GET /v1/detect": "Classify an address: ERC-20 / ERC-721 / ERC-1155 / contract / EOA (chain, address).",
            "GET /v1/interfaces": "Known ERC-165 interface ids and ERC-20 selectors checked."
        },
        "description": "Detect what kind of contract an address is — ERC-20 token, ERC-721 NFT, ERC-1155 multi-token or plain contract — live, by probing it over eth_call (ERC-165 interface sweep + ERC-20 function probe). A dedicated endpoint returns live on-chain ERC-20 metadata for any token. The 'what is this address' primitive for wallets, scanners and security tooling. Live, short cache only.",
        "upstream_status": "ok"
    },
    "meta": {
        "timestamp": "2026-06-14T08:04:11.053Z",
        "request_id": "505a42d0-a929-4aa1-8a5e-c59835c43789"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}