{"uid":"cap_a7FmAkdW8X5dHI3ST35n_","slug":"axiomworks-block-lookup-api-0809a48e","name":"Axiomworks Block Lookup API","description":"Use this to get a block by number/latest/finalized, or find the block at a date/time (timestamp → block, for historical balance or event queries). Returns number, hash, time, tx count, base fee. Example: {timestamp:\"2026-01-01T00:00:00Z\", chain:\"base\"}. $0.001.","url":"https://api.axiomworks.co.uk/block?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{"chain":{"enum":["base","ethereum","arbitrum","optimism","polygon"],"type":"string","description":"EVM chain (default base)"},"number":{"type":"string","description":"Block number (decimal/hex) or latest|safe|finalized"},"timestamp":{"type":"string","description":"Unix seconds or ISO date: returns last block at/before it"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"hash":{"type":"string"},"number":{"type":"integer"},"time_iso":{"type":"string"},"tx_count":{"type":["integer","null"]},"timestamp":{"type":"integer"},"base_fee_gwei":{"type":["number","null"]}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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":"down","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_wmHnY70olggT2x78BHTfl","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":"Retrieves EVM blockchain block data by block number, tag (latest/finalized), or timestamp for historical queries across Base, Ethereum, Arbitrum, Optimism, and Polygon.","exampleAgentPrompt":"What was the last block mined on Base before midnight on January 1, 2026? I need the block number, hash, and base fee.","exampleUseCases":[{"title":"Historical balance snapshot at past date","prompt":"I need to know what block was active on Ethereum at exactly midnight UTC on December 31, 2024 so I can query a wallet's historical token balance at that point in time."},{"title":"Confirm latest finalized block on Arbitrum","prompt":"What's the current finalized block on Arbitrum? Give me its number, hash, and timestamp."},{"title":"Event timestamp to block resolution","prompt":"An on-chain event happened at 2025-06-15T12:00:00Z on Polygon — what block number does that correspond to, and how many transactions were in it?"}],"resultDescription":"Returns a JSON object containing the block number (integer), block hash (hex string), ISO 8601 timestamp (time_iso), Unix timestamp (integer), transaction count (integer or null), and base fee in Gwei (number or null) for the matched block on the requested EVM chain.","failureModes":["Block number out of range returns an error or null result","Unsupported chain value returns a validation error","Timestamp in the future may return the latest block or an error","Malformed timestamp string (non-ISO, non-Unix) causes a 400 error","Network unavailability for a specific chain may cause a timeout","Missing required parameters returns a schema validation error","Hex block numbers that are malformed may cause parsing errors"],"whenToPreferThis":"Use this endpoint when you need to map a human-readable date/time to an EVM block number for historical queries (e.g., historical balances, snapshot voting), when you need basic block metadata (hash, tx count, base fee) quickly and cheaply, or when you need to resolve 'latest', 'safe', or 'finalized' tags to concrete block data across Base, Ethereum, Arbitrum, Optimism, or Polygon. At $0.001/call it is cost-effective for high-frequency lookups. Prefer this over a full RPC node when you don't want to manage infrastructure and only need lightweight block metadata.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-17T04:29:07.691Z","isFirstParty":false,"canonicalSlug":"axiomworks-block-lookup-api-0809a48e"}