Vai al contenuto
GET /v1/meta

Spec

Provalo dal vivo

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

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

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

Ottieni una chiave API

Frammenti di codice

curl "https://api.oanor.com/tokeninfo-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/tokeninfo-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/tokeninfo-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/tokeninfo-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",
            "polygon",
            "bsc",
            "arbitrum",
            "optimism",
            "base",
            "avalanche"
        ],
        "source": "Public chain RPC (publicnode) eth_call ERC-20 interface (live)",
        "service": "tokeninfo-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/token": "ERC-20 metadata: name, symbol, decimals, total supply (address=0x…token, chain=ethereum).",
            "GET /v1/chains": "Supported chains and aliases.",
            "GET /v1/balance": "A wallet's token balance (token=0x…, owner=0x…, chain=)."
        },
        "description": "Live ERC-20 token metadata read on-chain via eth_call: for any token contract address, its name, symbol, decimals and total supply (raw and formatted), plus any wallet's token balance. Across Ethereum, Polygon, BSC, Arbitrum, Optimism, Base and Avalanche. Live, no key. Distinct from native-balance and market-price APIs — this is on-chain ERC-20 contract data read directly from the blockchain.",
        "upstream_status": "ok"
    },
    "meta": {
        "timestamp": "2026-06-09T03:01:59.713Z",
        "request_id": "eb7a474e-5c98-4af9-a7b2-e95627acd9da"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}