Aller au contenu
GET /v1/meta

Spec

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/tokeninfo-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

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

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "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
}