{"uid":"cap_s5KMIxMy42iCL2VETJlfM","slug":"synapse-api-latest-block-lookup-df01e2c6","name":"Synapse API — Latest Block Lookup","description":"High-speed API suite for AI processing, web scraping, and smart data utilities across 57+ blockchain networks. Pay-per-call via x402.","url":"https://synapse-api-brown.vercel.app/api/stable/block/latest","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/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_K94lmWsQ3_tM57tQCexBU","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":"Fetches the latest block data from a specified blockchain network via the Synapse API suite","exampleAgentPrompt":"What is the latest block on Ethereum right now? I need the block number, hash, and timestamp.","exampleUseCases":[{"title":"Real-time block height monitoring","prompt":"Check what the latest block number is on Ethereum mainnet right now and tell me the block hash and timestamp."},{"title":"Cross-chain block comparison","prompt":"Fetch the latest block data from both Polygon and Solana so I can compare their current chain heights."},{"title":"On-chain event anchoring","prompt":"I need the most recent Ethereum block timestamp so I can anchor a smart contract event to real time — can you grab that for me?"}],"resultDescription":"Returns the latest block data from the requested blockchain network, typically including block number (height), block hash, timestamp, and associated block metadata for the selected chain.","failureModes":["Unsupported blockchain network returns an error or empty response","Payment not attached or insufficient USDC results in HTTP 402","Malformed request body returns validation error","Network congestion or node unavailability may cause timeout","Chain identifier not recognized returns 400 or similar error"],"whenToPreferThis":"Use this endpoint when you need real-time or near-real-time latest block data from one of 57+ supported blockchain networks via a simple pay-per-call model, especially in agentic workflows that require up-to-date chain state without managing your own node infrastructure.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:44:23.148Z","isFirstParty":false}