API · /l2fees-api

Ethereum L2 Transaction Cost API

healthy 4,757 Subscribers

What it actually costs a user to transact on each Ethereum layer-2 rollup, live and keyless, powered by the public growthepie dataset. Ethereum's base layer is expensive, so most activity has moved to rollups — Arbitrum, Base, OP Mainnet, zkSync Era, Linea, Scroll, Starknet, Mantle, Mode, Metis, Celo, Taiko, Unichain — but the cost of a transaction varies a lot between them, and that is the number a user choosing a chain, or a developer deciding where to deploy, actually wants. This answers "which L2 is cheapest to use right now", in plain dollars. The chains endpoint is the league table: every tracked rollup ranked from cheapest, each with its median transaction cost (USD and ETH), native-transfer cost, token-swap cost, average cost and throughput (transactions per second and Mgas/s); Ethereum L1 is included as the baseline so you can see the L2 saving. The chain endpoint returns one rollup's full current cost-and-performance detail plus a short recent history of its median cost. The cheapest endpoint cuts to the chase — the single cheapest rollup right now for a simple transfer and for a token swap, and how much cheaper that is than Ethereum L1. Because the upstream rounds USD to four decimals (so ultra-cheap rollups would read $0.00), the dollar figures are recovered precisely from each chain's exact ETH cost and the ETH price implied by the same payload — no second data source. This is the L2 user-transaction-cost cut — distinct from the L2 economic-activity feed (active addresses, transaction count, rollup revenue and profit: what the chains earn, not what they cost you), from the multi-chain gas-oracle (gas tiers in gwei) and from the blob data-availability fee market (the L1 cost rollups pay to post data). Costs in USD and ETH, throughput in TPS and Mgas/s, no key, nothing stored.

api.oanor.com/l2fees-api
Get an API key Try in playground → Contact provider

Machine-readable spec so AI agents can integrate this API.

/api/l2fees-api/openapi.json
/api/l2fees-api/llms.txt

Discovery: GET /api/index.json lists every API.

Ethereum L2 Transaction Cost API — live data on the oanor API marketplace

API health

healthy
Uptime
100.00%
Server probes · 24h
Avg latency
268 ms
Server probes · 24h
Subscribers
4,757
active
Total calls
68
last 7 days
status Full status page → · 8 probes/24h

Pricing

Pick a tier — billed monthly, cancel anytime.

Free

Free

  • 800 calls / month
  • 2 requests / second
  • Hard cap (429 above quota, no overage)
  • 800 calls/month
  • 2 req/sec
  • All endpoints
  • No credit card
Sign in to subscribe

Starter

€25.00 /month

  • 32,000 calls / month
  • 6 requests / second
  • Hard cap (429 above quota, no overage)
  • 32k calls/month
  • 6 req/sec
  • Full L2 cost league table
  • Email support
Sign in to subscribe

Pro

€79.00 /month

  • 155,000 calls / month
  • 16 requests / second
  • Hard cap (429 above quota, no overage)
  • 155k calls/month
  • 16 req/sec
  • Per-chain history
  • Priority support
Sign in to subscribe

Scale

€219.00 /month

  • 680,000 calls / month
  • 40 requests / second
  • Hard cap (429 above quota, no overage)
  • 680k calls/month
  • 40 req/sec
  • Full rollup feed
  • Dedicated SLA
Sign in to subscribe

Built by

Related APIs

Other APIs with overlapping tags.

Blockchair Multi-Chain Stats API — oanor API marketplace

Blockchair Multi-Chain Stats API

Live on-chain network statistics, mempool conditions and market data across the major UTXO blockchains and Ethereum, sourced from Blockchair. For any supported chain read the full network state — best block height, total and 24-hour block and transaction counts, mining difficulty, hashrate, coin circulation, on-chain transfer volume and chain size — or zoom into the mempool to see pending transactions, mempool size, transactions-per-second, the suggested fee per byte (or median gas price on Ethereum) and average and median transaction fees in native units and USD, or pull market data with the coin price in USD and BTC, 24-hour change, market capitalisation and dominance. Ten chains are covered: Bitcoin, Bitcoin Cash, Litecoin, Dogecoin, Dash, Zcash, Bitcoin SV, eCash, Groestlcoin and Ethereum. Distinct from single-chain mempool and gas feeds: this is one consistent multi-chain stats surface.

api.oanor.com/blockchair-api

DexPaprika On-Chain DEX API — oanor API marketplace

DexPaprika On-Chain DEX API

Live on-chain decentralized-exchange market data across 35+ blockchains, with no key. List every supported network with its 24h DEX volume, transaction count and pool count; read the DEXes active on any chain; pull the top liquidity pools ranked by volume; get full token detail with multi-window price stats; search across every chain for tokens, pools and DEXes; and read global coverage totals. The on-chain / DEX / liquidity-pool layer for DeFi dashboards, token analytics, trading and research — distinct from centralized-exchange ticker readers. Live from DexPaprika (by the CoinPaprika team); short cache only.

api.oanor.com/dexpaprika-api

EIP Registry API — oanor API marketplace

EIP Registry API

A live, queryable index of every Ethereum Improvement Proposal (EIP) and ERC token standard, read keyless straight from the canonical ethereum/EIPs and ethereum/ERCs repositories. Look up any proposal by number for its title, status (Draft, Review, Last Call, Final, Living, Stagnant or Withdrawn), type and category, authors, creation date, what it requires and its abstract; pull several proposals at once; or list the whole catalog of 1,500+ EIPs and ERCs. The reference layer for wallets, block explorers, documentation sites and developer tooling that need to resolve "what is EIP-1559" or "is ERC-4626 final yet" programmatically instead of scraping a website. Always current — read live from the source repos, lightly cached.

api.oanor.com/eipregistry-api

Ethereum Signatures API — oanor API marketplace

Ethereum Signatures API

Decode Ethereum smart-contract function and event signatures, keyless. Turn a 4-byte function selector (the first 4 bytes of any transaction calldata, e.g. 0xa9059cbb) into its human-readable function signature (transfer(address,uint256)), decode a 32-byte event topic from a log into its event signature, or search the database by name to find a selector. Many selectors have hash collisions — the API flags the original / canonical signature. Backed by the open 4byte.directory database, live. Essential for transaction decoders, block explorers, wallets, security tools and on-chain analytics — the signature-decoding layer for any EVM tooling.

api.oanor.com/ethsignatures-api

Frequently asked questions

Quick answers about pricing, quotas, and integration.

How do I get an API key for Ethereum L2 Transaction Cost API?
Sign up for free at oanor.com, generate an API key from the developer dashboard, and call Ethereum L2 Transaction Cost API with the x-oanor-key header. No credit card needed for the free tier.
What's the rate limit for Ethereum L2 Transaction Cost API?
Free tier allows 1 request per second. Paid plans scale up to 50 requests per second on the Mega tier. Hard limits return HTTP 429 above the quota — no surprise overage charges.
How much does Ethereum L2 Transaction Cost API cost?
Ethereum L2 Transaction Cost API has a free tier with 100 calls / month. Paid plans start at €25.00 / month with higher quotas and faster rate limits.
Can I cancel my subscription anytime?
Yes. Plans are billed monthly and you can cancel anytime from your billing dashboard. No long-term contracts and no cancellation fee.
Is Ethereum L2 Transaction Cost API GDPR-compliant?
All requests to Ethereum L2 Transaction Cost API go through our EU-based gateway. Your upstream API key never leaves our server and no personal data is shared with the upstream provider beyond the request you send.

Pick an endpoint from the list on the left to see its details and try it.

Code snippets

Sign up to get an API key, then call any path under your slug.

curl https://api.oanor.com/l2fees-api/SOME_PATH \
  -H "x-oanor-key: oanor_test_..."
const res = await fetch("https://api.oanor.com/l2fees-api/SOME_PATH", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
const data = await res.json();
$ch = curl_init("https://api.oanor.com/l2fees-api/SOME_PATH");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
$response = curl_exec($ch);
import requests
r = requests.get(
    "https://api.oanor.com/l2fees-api/SOME_PATH",
    headers={"x-oanor-key": "oanor_test_..."},
)
print(r.json())

Ratings

Sign in to rate.

No reviews yet.

Discussion

Ask questions, share usage tips, get answers from the provider and other developers. Public — anyone can read.

Sign in to start a thread or reply.

Sign in

New thread

/ 4000

📌 Pinned 🔒 Locked

·

· ·

/ 4000

🔒 This thread is locked — no new replies.

  • No threads yet — start the discussion.

Support

Private 1:1 support with the provider — billing questions, integration issues, account problems. Only you and the provider team can see these threads.

Sign in to open a support ticket.

Sign in

Open new ticket

Describe what you need help with. The provider team gets an email and replies on the ticket page.

  • No tickets yet for this API.

Subscription active — calls can start immediately.

Send your first request —

Subscription active — copy a snippet and fire off your first call.