{"uid":"cap_GEUL3oUwzD7fVVXaS_CKN","slug":"api-web3identity-com-bb2de637","name":"Base Network Statistics API","description":"Comprehensive Base network statistics and metrics","url":"https://api.web3identity.com/api/l2/base","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"tps":{"type":"number"},"tvl":{"type":"number"},"name":{"type":"string"},"avgFee":{"type":"number"},"chainId":{"type":"number"}}}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{}}},"response":{"id":"base","tvs":{"change7d":0.03069501992655499,"breakdown":{"btc":2832272096.4500003,"ether":1952440002.1575012,"other":2357360858.1298714,"total":11664721920,"native":4679781202.8515625,"external":4654093707.675781,"canonical":2330847339.315813,"rwaPublic":0,"associated":0,"stablecoin":4522649293.105783,"rwaRestricted":0},"associatedTokens":[]},"name":"Base Chain","slug":"base","type":"layer2","risks":[{"name":"Sequencer Failure","value":"Self sequence","sentiment":"good","description":"In the event of a sequencer failure, users can force transactions to be included in the project's chain by sending them to L1. There can be up to a 12h delay on this operation."},{"name":"State Validation","value":"Fraud proofs (1R, ZK)","sentiment":"good","description":"Fraud proofs allow actors watching the chain to prove that the state is incorrect. Single round proofs (1R) prove the validity of a state proposal, only requiring a single transaction to resolve. A fault proof eliminates a state proposal by proving that any intermediate state transition in the proposal results in a different state root. For either, a ZK proof is used."},{"name":"Data Availability","value":"Onchain","sentiment":"good","description":"All of the data needed for proof construction is published on Ethereum L1."},{"name":"Exit Window","value":"None","sentiment":"bad","description":"There is no window for users to exit in case of an unwanted upgrade since contracts are instantly upgradable. Upgrades need to be approved by 2 parties: the Base Coordinator Multisig and the Base Security Council."},{"name":"Proposer Failure","value":"Self propose","sentiment":"good","description":"Anyone can be a Proposer and propose new roots to the L1 bridge."}],"stage":"Stage 1","badges":[{"id":"EVM","name":"EVM","type":"VM","action":{"id":"vm","type":"scalingFilter","value":"EVM"},"description":"This project uses the Ethereum Virtual Machine to run its smart contracts and supports the Solidity programming language"},{"id":"EthereumBlobs","name":"Ethereum with blobs","type":"DA","action":{"slug":"ethereum","type":"publicDaHighlight"},"description":"This project is posting its data to Ethereum as blobs"},{"id":"OPStack","name":"Built on OP Stack","type":"Stack","action":{"id":"stack","type":"scalingFilter","value":"OP Stack"},"description":"The project is built on the OP Stack"},{"id":"L3HostChain","name":"L3 Host Chain","type":"Other","action":{"id":"hostChain","type":"selfScalingFilter"},"description":"This project serves as a host chain for L3s"}],"source":"l2beat","category":"Optimistic Rollup","purposes":["Universal"],"hostChain":"Ethereum","providers":["OP Stack"],"timestamp":"2026-06-16T01:15:13.077Z","isArchived":false,"isUnderReview":false}},"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.010000","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.010000/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ikevOKsAO17cktUJmSD2J","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns comprehensive real-time statistics and metrics for the Base L2 network, including TPS, TVL, average fee, and chain ID","exampleAgentPrompt":"What are the current Base network statistics — give me the TPS, total value locked, and average transaction fee right now?","exampleUseCases":[{"title":"Monitor Base network health for DeFi traders","prompt":"I need to know if Base is congested right now — check the current TPS and average fees so I can decide if it's a good time to execute my trade."},{"title":"Compare L2 performance across protocols","prompt":"Pull the latest Base network metrics including TVL and transaction throughput so I can see how it stacks up against other layer 2 solutions."},{"title":"Alert on Base network degradation","prompt":"Get me the real-time Base statistics and let me know if the average transaction fee has spiked significantly or if TPS has dropped below normal levels."}],"resultDescription":"Returns a JSON object with Base network metrics including: network name, chain ID, current transactions per second (TPS), total value locked in USD (TVL), and average transaction fee (avgFee).","failureModes":["Upstream data source unavailable — may return stale or null metrics","Payment required (402) if x402 micropayment of $0.01 USDC not included","Rate limiting if called too frequently without valid payment","Network outage may cause timeout or 503 error"],"whenToPreferThis":"Use this endpoint when you need real-time Base L2 network health metrics — specifically TPS, TVL, and average fees — in a single call. Prefer this over generic blockchain explorers when you want aggregated, machine-readable stats without scraping. Best for dashboards, DeFi agents monitoring Base activity, or applications comparing L2 performance.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:44:04.780Z","isFirstParty":false}