/v1/meta
Spec
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/towns-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/towns-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/towns-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/towns-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"api": "Towns API",
"chain": "Towns",
"source": "Towns L2 JSON-RPC nodes",
"symbol": "ETH",
"chain_id": 550,
"endpoints": [
"/v1/status",
"/v1/block",
"/v1/gas",
"/v1/balance",
"/v1/meta"
],
"description": "Live EVM on-chain data for Towns — an OP-Stack Layer-2 powering decentralised group chat and social spaces, gas paid in ETH.",
"documentation": "https://api.oanor.com/towns-api"
},
"meta": {
"timestamp": "2026-06-15T20:40:13.315Z",
"request_id": "3c001f5c-1593-4d16-a68c-8ba329c8247f"
},
"status": "ok",
"message": "Meta",
"success": true
}