How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Basescan Blocks API

The Blocks API from Basescan — 8 operation(s) for blocks.

Basescan Blocks API is one of 10 APIs that Basescan publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Blocks. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and rate-limit docs.

This API exposes 8 operations across 8 paths, and defines 18 schemas. It is described by OpenAPI 3.1.0, at version 1.0.0.

Requests are made against 2 base URLs: https://api.basescan.org/api, https://api-sepolia.basescan.org/api.

8 operations 8 paths 18 schemas 8 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
1.0.0
Base URL
https://api.basescan.org/api
Authentication
API Key
License
Resource Areas
1

Authentication & Security 1

Basescan Blocks API declares 1 security scheme for authenticating requests. An API key is passed in the query as apikey (apiKeyAuth). By default, every request must be authenticated.

Paths & Operations 8

Across 8 paths, the API surfaces 8 operations — 8 GET. Each is listed below with its method, path, parameters, and response codes.

Blocks 8
GET
/?module=block&action=getblockreward
Get Block And Uncle Rewards by BlockNo
get-block-and-uncle-rewards-by-blockno 1 param → 200
GET
/?module=block&action=getblockcountdown
Get Estimated Block Countdown Time by BlockNo
get-estimated-block-countdown-time-by-blockno 1 param → 200
GET
/?module=block&action=getblocknobytime
Get Block Number by Timestamp
get-block-number-by-timestamp 2 params → 200
GET
/?module=stats&action=dailyavgblocksize
Get Daily Average Block Size
get-daily-average-block-size 3 params → 200
GET
/?module=stats&action=dailyblkcount
Get Daily Block Count and Rewards
get-daily-block-count-and-rewards 3 params → 200
GET
/?module=stats&action=dailyblockrewards
Get Daily Block Rewards
get-daily-block-rewards 3 params → 200
GET
/?module=stats&action=dailyavgblocktime
Get Daily Average Time for A Block to be Included in the Ethereum Blockchain
get-daily-average-time-for-a-block-to-be-included-in-the-ethereum-blockchain 3 params → 200
GET
/?module=stats&action=dailyuncleblkcount
Get Daily Uncle Block Count and Rewards
get-daily-uncle-block-count-and-rewards 3 params → 200

Schemas 18

The contract defines 18 schemas that model the data the API accepts and returns. The most detailed are ResponseNOTOK (3 properties), ResponseOK (3 properties), Result.stats.dailyavgblocksize (1 property), Result.stats.dailyblockrewards (1 property). Each schema is shown below with its type and property counts.

IntegerMin0
integer
UnixTimestampString
string
A Unix timestamp representing the number of seconds since January 1, 1970, expressed as a string.
UnixTimestamp
integer
A Unix timestamp representing the number of seconds since January 1, 1970
BlockClosest
string
Result.block.getblocknobytime
object
1 property
IntegerMin0String
string
An integer greater than 0 represented as a string.
Result.stats.dailyavgblocktime
object
1 property
DateYYYYMMDD
string
A date in the YYYY-MM-DD format
FloatString
string
A float represented as a string.
Result.block.getblockcountdown
object
1 property
Result.stats.dailyuncleblkcount
object
1 property
Result.block.getblockreward
object
PageSort
string
ResponseOK
object
3 properties 3 required
Result.stats.dailyblockrewards
object
1 property
ResponseNOTOK
object
3 properties 3 required
Result.stats.dailyavgblocksize
object
1 property
Result.stats.dailyblkcount
object
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

basescan-blocks-api-openapi.yml Raw ↑

Other APIs Basescan publishes across the network.

Basescan Accounts API
Basescan API PRO Endpoints API
Basescan Contracts API
Basescan Gas Tracker API
Basescan Geth/Parity Proxy API
Basescan Logs API
Basescan Stats API
Basescan Tokens API
Basescan Transactions API
Where this information came from

This is an independent, third-party profile of Basescan Blocks API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.