Find the block closest to a timestamp
One step with DefiLlama. We can help you get access.
Look something up
Find the block closest to a timestamp
with DefiLlama
Use DefiLlama: its DefiLlama Public Coins API lets you find the block closest to a timestamp in a single step (GET /block/{chain}/{timestamp}). capabilities.work can help you get signed up and connected.
- Which block on a chain was closest to a given timestamp?
- Can I find the block number for a past moment on a chain?
Say it to your AI assistant
- Find the block on {chain} closest to {timestamp}.
- Get the {chain} block number nearest to {timestamp}.
For your developer
GET /block/{chain}/{timestamp} in DefiLlama Public Coins API. Full spec on APIs.io.