{"slug":"defillama-use-x402atlas-com-block-3654d2","title":"Block by timestamp from DefiLlama — the closest block number to a unix timestamp","host":"defillama.use.x402atlas.com","method":"GET","resource":"https://defillama.use.x402atlas.com/block","category":"other","description":"Block by timestamp from DefiLlama — the closest block number to a unix timestamp on a given chain.","price_listed":0.005,"price_asked":0.005,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":600,"reported_calls_30d":2,"reported_payers_30d":1,"networks":["eip155:137","eip155:42161","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"chain":"ethereum","timestamp":"1650000000"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"properties":{"chain":{"description":"Chain name (e.g. ethereum, arbitrum, polygon); no slashes or query characters","maxLength":100,"minLength":1,"pattern":"^[^/?#]+$","type":"string"},"timestamp":{"description":"Unix timestamp (seconds, digits only) to find the closest block for","maxLength":20,"minLength":1,"pattern":"^[0-9]+$","type":"string"}},"required":["chain","timestamp"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"properties":{"data":{"properties":{"height":{"description":"Block height closest to the requested timestamp","type":"integer"},"timestamp":{"description":"Unix timestamp (seconds) of that block","type":"integer"}},"type":"object"},"queried_at":{"description":"When this bridge fetched the upstream data","format":"date-time","type":"string"}},"required":["queried_at","data"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-09-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":600,"error":null}],"description_full":"Block by timestamp from DefiLlama — the closest block number to a unix timestamp on a given chain.","last_updated":"2026-09-15T06:30:47.3Z","schemes":["exact"]}