Skip to main content

/extended/v2/blocks/average-times REST API Endpoint

Returns the average block time statistics for the blockchain over various predefined periods.

Updated on
Jun 17, 2024

/extended/v2/blocks/average-times REST API Endpoint

Query Parameters

limit
integer
Specifies the number of records to return
offset
integer
Specifies the starting point for the records to return

Returns

last_1h
integer
The average block time (in seconds) over the last hour
last_24h
integer
The average block time (in seconds) over the last 24 hours
last_7d
integer
The average block time (in seconds) over the last 7 days.
last_30d
integer
The average block time (in seconds) over the last 30 days
Request
1
curl --location 'https://docs-demo.stacks-mainnet.quiknode.pro/extended/v2/blocks/average-times?limit=30&offset=42000' \
2
--header 'Content-Type: application/json'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free