---
title: "Get Blocks by ID."
method: GET
path: "/blocks/{id}"
tags: ["Blocks"]
---

# Get Blocks by ID.

`GET /blocks/{id}`

Get a block data or list of blocks by the provided ID or list of IDs.

## Path parameters

- `id` Identifier[], required

## Query parameters

- `expand` string[]
- `select` string[]

## Response `200`

OK

- Block[]
  - `header` BlockHeader, required
    - `id` string, hexadecimal, required — A 32-byte unique identifier for an entity.
    - `parent_id` string, hexadecimal, required — A 32-byte unique identifier for an entity.
    - `height` string, uint64, required
    - `timestamp` string, date-time, required
    - `parent_voter_signature` string, byte, required — A variable length signature.
  - `payload` BlockPayload
    - `collection_guarantees` CollectionGuarantee[], required
      - `collection_id` string, hexadecimal, required — A 32-byte unique identifier for an entity.
      - `signer_ids` Identifier[], required
      - `signature` string, byte, required — A variable length signature.
      - `reference_block_id` string, hexadecimal, required — A 32-byte unique identifier for an entity.
      - `cluster_chain_id` string, required
    - `block_seals` BlockSeal[], required
      - `block_id` string, hexadecimal, required — A 32-byte unique identifier for an entity.
      - `result_id` string, hexadecimal, required — A 32-byte unique identifier for an entity.
      - `final_state` string, hexadecimal, required — The root hash of the state tree.
      - `aggregated_approval_signatures` AggregatedSignature[], required
        - `verifier_signatures` Signature[], required
        - `signer_ids` Identifier[], required
  - `execution_result` ExecutionResult
    - `id` string, hexadecimal, required — A 32-byte unique identifier for an entity.
    - `block_id` string, hexadecimal, required — A 32-byte unique identifier for an entity.
    - `events` Event[], required
      - `type` string, required — The qualified event type.
      - `transaction_id` string, hexadecimal, required — A 32-byte unique identifier for an entity.
      - `transaction_index` string, uint64, required
      - `event_index` string, uint64, required
      - `payload` string, byte, required
    - `chunks` Chunk[]
      - `block_id` string, hexadecimal, required — A 32-byte unique identifier for an entity.
      - `collection_index` string, uint64, required
      - `start_state` string, byte, required
      - `end_state` string, byte, required
      - `event_collection` string, byte, required
      - `index` string, uint64, required
      - `number_of_transactions` string, uint64, required
      - `total_computation_used` string, uint64, required
    - `previous_result_id` string, hexadecimal, required — A 32-byte unique identifier for an entity.
    - `metadata` Metadata — Contains data about the node's state at the time of the request.
      - `executor_metadata` ExecutorMetadata — Contains data about the execution result used to serve the request.
        - `execution_result_id` string, hexadecimal — A 32-byte unique identifier for an entity.
        - `executor_ids` Identifier[]
    - `_links` Links
      - `_self` string
  - `_expandable` BlockExpandable
    - `payload` string
    - `execution_result` string, uri
  - `_links` Links
    - `_self` string
  - `block_status` 'BLOCK_UNKNOWN' | 'BLOCK_FINALIZED' | 'BLOCK_SEALED', required — This value indicates the status of a block.

## Other responses

- `400` — Bad Request
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.net/onflow/apis/access-api.md) · [All operations](https://skmtc.net/onflow/apis/access-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/onflow/access-api/versions/fd121c1fddf8/schema)
