Blocks

Number of APIs: 8

  1. Get Block Number by Timestamp GET https://api.etherscan.io/api?module=block&action=getblocknobytime&timestamp=1578638524&closest=before&apikey=YourApiKeyToken

  2. Get Daily Average Block Size GET https://api.etherscan.io/api?module=stats&action=dailyavgblocksize&startdate=2019-02-01&enddate=2019-02-28&sort=asc&apikey=YourApiKeyToken

  3. Get Block And Uncle Rewards by BlockNo GET https://api.etherscan.io/api?module=block&action=getblockreward&blockno=2165403&apikey=YourApiKeyToken

  4. Get Estimated Block Countdown Time by BlockNo GET https://api.etherscan.io/api?module=block&action=getblockcountdown&blockno=16701588&apikey=YourApiKeyToken

  5. Get Daily Block Count and Rewards GET https://api.etherscan.io/api?module=stats&action=dailyblkcount&startdate=2019-02-01&enddate=2019-02-28&sort=asc&apikey=YourApiKeyTokens

  6. Get Daily Block Rewards GET https://api.etherscan.io/api?module=stats&action=dailyblockrewards&startdate=2019-02-01&enddate=2019-02-28&sort=asc&apikey=YourApiKeyToken

  7. Get Daily Uncle Block Count and Rewards GET https://api.etherscan.io/api?module=stats&action=dailyuncleblkcount&startdate=2019-02-01&enddate=2019-02-28&sort=asc&apikey=YourApiKeyToken

  8. Get Daily Average Time for A Block to be Included in the Ethereum Blockchain GET https://api.etherscan.io/api?module=stats&action=dailyavgblocktime&startdate=2019-02-01&enddate=2019-02-28&sort=asc&apikey=YourApiKeyToken