---
title: "Listing of previous blocks"
method: GET
path: "/blocks/{hash_or_number}/previous"
tags: ["Cardano » Blocks"]
---

# Listing of previous blocks

`GET /blocks/{hash_or_number}/previous`

Return the list of blocks preceding a specific block.

## Path parameters

- `hash_or_number` string, 64-character case-sensitive hexadecimal string or block number., required

## Query parameters

- `count` integer
- `page` integer

## Response `200`

Return the contents of the block

- BlockContent[]
  - `time` integer, required — Block creation time in UNIX time
  - `height` integer, nullable, required — Block number
  - `hash` string, required — Hash of the block
  - `slot` integer, nullable, required — Slot number
  - `epoch` integer, nullable, required — Epoch number
  - `epoch_slot` integer, nullable, required — Slot within the epoch
  - `slot_leader` string, required — Bech32 ID of the slot leader or specific block description in case there is no slot leader
  - `size` integer, required — Block size in Bytes
  - `tx_count` integer, required — Number of transactions in the block
  - `output` string, nullable, required — Total output within the block in Lovelaces
  - `fees` string, nullable, required — Total fees within the block in Lovelaces
  - `block_vrf` string, nullable, required — VRF key of the block
  - `op_cert` string, nullable, required — The hash of the operational certificate of the block producer
  - `op_cert_counter` string, nullable, required — The value of the counter used to produce the operational certificate
  - `previous_block` string, nullable, required — Hash of the previous block
  - `next_block` string, nullable, required — Hash of the next block
  - `confirmations` integer, required — Number of block confirmations

## Other responses

- `400` — Bad request
- `403` — Authentication secret is missing or invalid
- `404` — Component not found
- `418` — IP has been auto-banned for extensive sending of requests after usage limit has been reached
- `429` — Usage limit reached
- `500` — Internal Server Error

---

[API](https://skmtc.net/txpipe/apis/blockfrost-io-api-documentation.md) · [All operations](https://skmtc.net/txpipe/apis/blockfrost-io-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/txpipe/blockfrost-io-api-documentation/revisions/4a2f67b16876/schema)
