---
title: "Blocks list"
method: POST
path: "/api/scan/blocks"
tags: ["block"]
---

# Blocks list

`POST /api/scan/blocks`

## Request

- The document declares no server URL.
- Auth: none declared

## Request body

- InternalServerHttpBlocksParams
  - `after` integer
  - `before` integer
  - `row` integer

## Response `200`

OK

- object
  - `code` integer
  - `data` object
    - `blocks` ModelSampleBlockJson[]
      - `block_num` integer
      - `block_timestamp` integer
      - `event_count` integer
      - `extrinsics_count` integer
      - `finalized` boolean
      - `hash` string
      - `validator` string
    - `pagination` object
  - `generated_at` integer
  - `message` string

---

[API](https://skmtc.dev/subscan-explorer/apis/subscan-essentials-api.md) - [All operations](https://skmtc.dev/subscan-explorer/apis/subscan-essentials-api/llms.txt) - [OpenAPI document](https://skmtc.dev/subscan-explorer/apis/subscan-essentials-api/revisions/5e9ebf864655?raw)
