/v1/meta
Service metadata
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
curl "https://api.oanor.com/l2fees-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/l2fees-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/l2fees-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/l2fees-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"data": {
"note": "chains, cheapest and meta take no parameters. chain takes chain (a rollup id, e.g. arbitrum, base, optimism, zksync_era; aliases op, zksync, eth accepted). Costs are in USD and ETH, throughput in TPS and Mgas/s, times in UTC. A short ~60-second protective cache fronts the upstream.",
"source": "growthepie public API (api.growthepie.xyz), keyless, live",
"service": "l2fees-api",
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/chain": "One rollup's full cost & performance detail + recent history (chain=arbitrum).",
"GET /v1/chains": "Every rollup ranked cheapest-first by median tx cost (+ transfer, swap, TPS).",
"GET /v1/cheapest": "The cheapest rollup right now for a transfer and a swap, vs Ethereum L1."
},
"description": "What it costs a user to transact on each Ethereum layer-2 rollup, live and keyless, from the public growthepie dataset. The chains endpoint ranks every tracked rollup (Arbitrum, Base, Optimism, zkSync, Linea, Scroll, Starknet, Mantle, Mode, Metis, Celo, Taiko, Unichain) from cheapest by median transaction cost, with native-transfer cost, swap cost, average cost and throughput (TPS, Mgas/s); chain gives one rollup's full cost-and-performance detail plus recent history; cheapest names the single cheapest rollup right now for a transfer and a swap, versus Ethereum L1. The L2 user-transaction-cost cut — distinct from the L2 economic-activity feed (addresses, tx count, rollup revenue/profit), the multi-chain gas-oracle (gwei gas tiers) and the blob data-availability fee market (the L1 cost rollups pay).",
"sample_cheapest": {
"cheapest": "OP Mainnet",
"median_tx_cost_usd": 1.45e-5
},
"upstream_status": "ok"
},
"meta": {
"timestamp": "2026-06-12T19:35:55.342Z",
"request_id": "e0284755-ced3-4793-bc56-d0d2c685bb62"
},
"status": "ok",
"message": "Meta",
"success": true
}