$0.001
per call · USD Coin on Base
Base chain status from Otto's own RPC: the four heads an agent needs before it acts — latest (~2s soft), safe, L1-finalized and the pending Flashblocks preconfirmation head — with base fee (wei+gwei), congestion, block age and the finality lag between them. Makes the Base pending-vs-latest gap explicit. Flat JSON, refreshed every minute, honest staleness meta. Base chain status, block height, base fee, finality, chain health. $0.001 per call.
Endpoint
GET https://x402.ottoai.services/chain-status4
Calls / 30d
3
Unique payers / 30d
Sep 8
Last called
exact
Payment scheme
Call this service
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);
const res = await fetchWithPay("https://x402.ottoai.services/chain-status", {
method: "GET",
});
const data = await res.json();curl -X GET \
"https://x402.ottoai.services/chain-status" \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"data": {
"blockAgeSec": 3,
"chain": "base",
"chainId": 8453,
"congestion": "low",
"finalityLagBlocks": 474,
"finalityLagSec": 948,
"finalityNote": "Base is an OP-Stack L2: ~2s soft-confirmed blocks (latest), L2-safe once the sequencer batch is submitted (safe), and L1-finalized after that batch is finalized on Ethereum (finalized, ~15 min behind). `pending` is the Flashblocks preconfirmation head.",
"finalized": {
"baseFeePerGasGwei": 0.005,
"baseFeePerGasWei": "5000000",
"blockNumber": 50738081,
"blockTimeIso": "2026-09-01T11:45:09.000Z",
"blockTimestamp": 1788265509,
"gasUsedRatio": 0.0825
},
"generatedAt": "2026-09-01T12:01:00.000Z",
"latest": {
"baseFeePerGasGwei": 0.005,
"baseFeePerGasWei": "5000000",
"blockNumber": 50738555,
"blockTimeIso": "2026-09-01T12:00:57.000Z",
"blockTimestamp": 1788266457,
"gasUsedRatio": 0.1088
},
"pending": {
"baseFeePerGasGwei": 0.005,
"baseFeePerGasWei": "5000000",
"blockNumber": 50738556,
"blockTimeIso": "2026-09-01T12:00:59.000Z",
"blockTimestamp": 1788266459,
"gasUsedRatio": 0.0413,
"note": "in-progress block (Flashblocks preconfirmation head); hash is not yet final"
},
"pendingLeadBlocks": 1,
"safe": {
"baseFeePerGasGwei": 0.005,
"baseFeePerGasWei": "5000000",
"blockNumber": 50738532,
"blockTimeIso": "2026-09-01T12:00:11.000Z",
"blockTimestamp": 1788266411,
"gasUsedRatio": 0.1893
}
},
"meta": {
"degraded": false,
"generatedAt": "",
"stalenessSec": 0,
"validUntil": ""
},
"status": "success"
}Payment details
0x0e84ddedaae6a779c462c22a59f301ec31b6b808USD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913Is this your API?
Pin it to the top of Onchain Data and the homepage with a featured placement.
More from Otto AI & similar services
Otto AI · Tweet Search
x402.ottoai.services
Search X/Twitter for any query and get the actual matching tweets — keyword, $CASHTAG, from:handle (a user timeline), @handle (mentions), or boolean OR. Each tweet returns author, full text (long-form note tweets included), timestamp, likes and retweets (reply/quote counts when available). Most-recent-first for real-time monitoring and alerting. Live X search backend, pay-per-call USDC, structured JSON.
Otto AI · Crypto News
x402.ottoai.services
Importance-ranked crypto headlines with per-article source links and publish times, plus a sentiment-scored market brief. Regenerated hourly; meta carries the snapshot's age and a fresh/stale verdict.
Otto AI · Equity News
x402.ottoai.services
Latest company news for a vendor-resolved equity: licensed Finnhub headlines from the trailing seven days with publication time, source, and summary. Only articles that name the company are served — labelled `primary` when the headline names it, `mentioned` when only the summary does — so a symbol-tagged story about another company never fills the list. Redirect URLs withheld; no sentiment is fabricated.