API · /base-api

Base L2 On-Chain API

healthy 4,128 Subscribers

Live Base mainnet on-chain data as an API, built on the open Blockscout explorer. Base is Coinbase's Ethereum Layer-2 (chain id 8453), where gas and balances are denominated in ETH and fees are a fraction of mainnet. Pull network stats (total blocks and transactions, ETH price, live gas), a gas oracle with slow, average and fast prices in gwei, the most recent blocks and full block detail by height or hash. Look up any address for its ETH balance and contract status, any transaction by hash for its value, fee, status, sender and receiver, and any ERC-20 token by contract for its name, symbol, decimals, holders and USD rate. Real on-chain data, no key needed upstream. Ideal for Base wallets, block explorers, gas trackers, DeFi and on-chain analytics.

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

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

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

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

Base L2 On-Chain API — live data on the oanor API marketplace

API health

healthy
Uptime
100.00%
Server probes · 24h
Avg latency
934 ms
Server probes · 24h
Subscribers
4,128
active
Total calls
152
last 7 days
status Full status page → · 24 probes/24h

Pricing

Pick a tier — billed monthly, cancel anytime.

Free

Free

  • 8,500 calls / month
  • 2 requests / second
  • Hard cap (429 above quota, no overage)
  • 8,500 calls/month
  • 2 req/sec
  • Stats + gas + blocks
  • No credit card
Sign in to subscribe

Starter

€4.50 /month

  • 115,000 calls / month
  • 8 requests / second
  • Hard cap (429 above quota, no overage)
  • 115k calls/month
  • 8 req/sec
  • Address + tx + token lookup
  • Email support
Sign in to subscribe

Pro

€20.00 /month

  • 620,000 calls / month
  • 25 requests / second
  • Hard cap (429 above quota, no overage)
  • 620k calls/month
  • 25 req/sec
  • Base wallets / dashboards
  • Priority support
Sign in to subscribe

Mega

€70.00 /month

  • 3,100,000 calls / month
  • 50 requests / second
  • Hard cap (429 above quota, no overage)
  • 3.1M calls/month
  • 50 req/sec
  • DeFi / analytics platform
  • Dedicated SLA
Sign in to subscribe

Built by

Related APIs

Other APIs with overlapping tags.

Limitless Prediction Market API — oanor API marketplace

Limitless Prediction Market API

Live data for Limitless Exchange, the on-chain prediction market on Base, with no key. List the active markets with each market's title, live YES/NO implied-probability prices (0–1), traded volume, deadline and category tags; pull a single-market detail by slug; and get the full tag list. Prices are the live market-implied odds for each binary outcome, settled in USDC — distinct from Polymarket and Kalshi. Ideal for odds dashboards, event monitors and crypto-native sentiment analytics across 900+ live markets.

api.oanor.com/limitless-api

Aerodrome Finance API — oanor API marketplace

Aerodrome Finance API

Live protocol metrics for Aerodrome Finance, the leading ve(3,3) decentralized exchange on Base, keyless. Get the total value locked, DEX trading volume (24h / 7d / 30d / all-time, with change), protocol fees, and the liquidity pools with TVL and APY split into trading-fee APY vs AERO emission (incentive) APY — the defining feature of Aerodrome vote-incentivised model — across Basic (v1) and Slipstream (concentrated-liquidity) pools. One combined overview endpoint snapshots it all. Live, nothing stored. The Aerodrome / Base-DeFi metrics layer for dashboards, yield, farming and trading apps — distinct from Ethereum and BSC DEXes, this is Aerodrome on Base specifically, with its emission incentives.

api.oanor.com/aerodrome-api

Ethereum L2 Transaction Cost API — oanor API marketplace

Ethereum L2 Transaction Cost API

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

Mantle Network API — oanor API marketplace

Mantle Network API

Live on-chain data for Mantle (chain-id 5000), a modular EVM Layer 2 with the MNT native gas token. Read the chain status — chain id, latest block number, current gas price, node client version and sync state — fetch any block by number (or the latest) with its hash, parent hash, timestamp, transaction count, gas used and limit, base fee and proposer, read the current gas price and max priority fee in both wei and gwei, and look up any account address for its MNT balance (in wei and whole MNT) and transaction nonce. Addresses use the standard 0x EVM hex form. A short protective cache keeps responses fast while staying within a few seconds of the chain. Distinct from other Layer-1, Layer-2 and Cosmos-chain APIs on the marketplace: this surfaces the Mantle network specifically.

api.oanor.com/mantle-api

Frequently asked questions

Quick answers about pricing, quotas, and integration.

How do I get an API key for Base L2 On-Chain API?
Sign up for free at oanor.com, generate an API key from the developer dashboard, and call Base L2 On-Chain API with the x-oanor-key header. No credit card needed for the free tier.
What's the rate limit for Base L2 On-Chain 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 Base L2 On-Chain API cost?
Base L2 On-Chain API has a free tier with 100 calls / month. Paid plans start at €4.50 / 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 Base L2 On-Chain API GDPR-compliant?
All requests to Base L2 On-Chain 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/base-api/SOME_PATH \
  -H "x-oanor-key: oanor_test_..."
const res = await fetch("https://api.oanor.com/base-api/SOME_PATH", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
const data = await res.json();
$ch = curl_init("https://api.oanor.com/base-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/base-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.