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

BscScan Blocks API

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

BscScan Blocks API is one of 10 APIs that BscScan 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, rate-limit docs, and authentication docs.

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

Requests are made against 2 base URLs: https://api.bscscan.com/v2/api, https://api-testnet.bscscan.com/api.

8 operations 8 paths 18 schemas 8 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.0.0
Base URL
https://api.bscscan.com/v2/api
Authentication
API Key
License
Resource Areas
1

Authentication & Security 1

BscScan 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 ResponseOK (3 properties), ResponseNOTOK (3 properties), Result.stats.dailyblockrewards (1 property), Result.block.getblocknobytime (1 property). Each schema is shown below with its type and property counts.

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

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

bscscan-blocks-api-openapi.yml Raw ↑

Other APIs BscScan publishes across the network.

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

This is an independent, third-party profile of BscScan 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.