Skip to main content
GET
/
v2
/
api
curl "https://api.etherscan.io/v2/api?chainid=1&module=block&action=getblockcountdown&blockno=16701588&apikey=YourApiKeyToken"
{
  "status": "0",
  "message": "NOTOK",
  "result": "Error! Block number already pass"
}

Query Parameters

apikey
string
default:"YourApiKeyToken"
Your Etherscan API key.
chainid
string
default:"1"
Chain ID you query, eg 1 for Ethereum, 8453 for Base from our supported chains.
module
string
default:"block"
Set to block for this endpoint.
action
string
default:"getblockcountdown"
Set to getblockcountdown for this endpoint.
blockno
integer
default:"16701588"
Block number to estimate time remaining for.
curl "https://api.etherscan.io/v2/api?chainid=1&module=block&action=getblockcountdown&blockno=16701588&apikey=YourApiKeyToken"
{
  "status": "0",
  "message": "NOTOK",
  "result": "Error! Block number already pass"
}
I