{"uid":"cap_LjqkDt4HsP-t94SH8EkPV","slug":"agenticfi-block-height-api-6333bc95","name":"AgenticFi Block Height API","description":"Latest block number for a chain","url":"https://defi-api.agenticfi.wtf/api/chain/block-height/base","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","pathParams","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"pathParams":{"type":"object","required":["chain"],"properties":{"chain":{"type":"string","title":"chain (required)","description":"Required. Chain name (ethereum, base, etc.) Examples: base, ethereum, arbitrum"}}},"queryParams":{"type":"object","required":["chain"],"properties":{"chain":{"type":"string","title":"chain (required)","description":"Required. Chain name (ethereum, base, etc.) Examples: base, ethereum, arbitrum"}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_dSCxuhZ5u1vQtQl6j6ogP","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the latest block number for a specified blockchain network (e.g. Base, Ethereum, Arbitrum)","exampleAgentPrompt":"What is the current block height on the Base chain right now?","exampleUseCases":null,"resultDescription":"Returns the latest block number (block height) for the requested blockchain network, as a numeric value representing the most recently mined block.","failureModes":["Unsupported chain name returns an error or empty response","Network connectivity issues to the blockchain node may cause stale or failed responses","Malformed chain parameter returns a validation error","Payment failure (x402) if USDC balance is insufficient"],"whenToPreferThis":"Use this endpoint when you need the current block number for Base, Ethereum, Arbitrum, or other supported EVM chains — especially useful for timing DeFi transactions, confirming chain liveness, or anchoring on-chain event queries to a specific block.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:50:18.643Z","isFirstParty":false}