/v1/meta
Service metadata
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/swell-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/swell-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/swell-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/swell-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"service": "swell-api",
"endpoints": {
"GET /v1/gas": "Gas oracle (slow/average/fast in gwei).",
"GET /v1/meta": "This document.",
"GET /v1/block": "Block detail by height= or hash=.",
"GET /v1/stats": "Network stats (blocks, txns, coin price, market cap, gas).",
"GET /v1/token": "ERC-20 token detail by contract (address=).",
"GET /v1/blocks": "The most recent blocks.",
"GET /v1/search": "Search addresses, tokens, blocks & txns (q=).",
"GET /v1/address": "Address balance, ENS & contract info (address=).",
"GET /v1/transaction": "Transaction detail (hash=)."
},
"description": "Live Swellchain (L2) on-chain data via Blockscout: network stats, a gas oracle (gwei), recent blocks and block detail, address balances with ENS, transaction detail, ERC-20 token detail and a universal search across addresses, tokens, blocks and transactions. Swellchain is a restaking-powered Ethereum L2; gas and balances are in ETH. Real on-chain data, no key."
},
"meta": {
"timestamp": "2026-06-08T09:51:47.298Z",
"request_id": "5de667e1-4404-4ca5-bee4-e8d01ac9f5e5"
},
"status": "ok",
"message": "Meta",
"success": true
}