{"uid":"cap_hWmBOpCULhvMoANJutyuU","slug":"cortex-cloud-block-by-number-api-3d5ec5f9","name":"Cortex Cloud Block by Number API","description":"One pay-per-call API for AI agents: optimization, AI, research, on-chain data, and automation — all settled in USDC on Base via x402. Discover via MCP and Bazaar, estimate free, pay per call. No API keys, no signup.","url":"https://api.cortexcloud.org/v1/data/block","method":"GET","headers":{},"bodySchema":{"properties":{"input":{"properties":{"body":{"type":"object","properties":{}}}},"output":{"properties":{"example":{}}}}},"responseSchema":{"type":"object","format":"application/json","example":{}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Vo46AIO4QfLNL-grD1cFf","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches a blockchain block by number or 'latest' on a specified chain, powered by Alchemy, via x402 micropayment.","exampleAgentPrompt":"Fetch the latest block on Ethereum mainnet for me — I need the block number, timestamp, and transaction count.","exampleUseCases":[{"title":"Confirming transaction finality","prompt":"Can you get block number 20500000 on Ethereum mainnet so I can check its timestamp and confirm whether my transaction was included?"},{"title":"Monitoring latest chain block","prompt":"What's the current latest block on Base? I want the block number and how many transactions it contains."},{"title":"Auditing block gas usage","prompt":"Pull the block data for block 18999999 on Polygon — I need to see the gas used and the miner address for an audit report."}],"resultDescription":"Returns structured block metadata for the requested block number or 'latest' on the specified EVM-compatible chain, including block hash, parent hash, block number, timestamp, miner/validator address, gas limit, gas used, transaction list or count, and other standard block fields as returned by the Alchemy node provider.","failureModes":["Invalid or non-existent block number returns an error or null response","Unsupported chain identifier causes a 400 or 404 error","Payment failure (insufficient USDC or x402 handshake error) results in 402 Payment Required","Alchemy backend outage or rate limit causes 500 or 503 response","Malformed request missing required chain or block parameter returns a 400 error"],"whenToPreferThis":"Choose this endpoint when you need raw block-level data from an EVM chain (Ethereum, Base, Polygon, Arbitrum, etc.) without setting up your own Alchemy API key or node infrastructure. It is ideal for AI agents that need on-chain block metadata on demand and can pay per call in USDC via x402, avoiding monthly subscription overhead. Prefer it over self-hosted solutions for lightweight, pay-as-you-go blockchain data access.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:47:22.864Z","isFirstParty":false}