{
"operationId": "getBlocks",
"method": "GET",
"path": "/api/v1/blocks",
"summary": "List blocks",
"description": "Returns a list of blocks on the network.",
"tags": [
"blocks"
],
"parameters": [
{
"name": "block.number",
"in": "query",
"description": "The block's number",
"required": false
},
{
"name": "limit",
"in": "query",
"description": "The maximum number of items to return",
"required": false
},
{
"name": "order",
"in": "query",
"description": "The order in which items are listed",
"required": false
},
{
"name": "timestamp",
"in": "query",
"description": "The consensus timestamp as a Unix timestamp in seconds.nanoseconds format with an optional comparison operator. See [unixtimestamp.com](https://www.unixtimestamp.com/) for a simple way to convert a date to the 'seconds' part of the Unix time.",
"required": false
}
],
"responses": {
"200": "OK",
"400": "Invalid parameter"
}
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.