---
title: "Specific block in a slot in an epoch"
method: GET
path: "/blocks/epoch/{epoch_number}/slot/{slot_number}"
tags: ["Cardano » Blocks"]
---

# Specific block in a slot in an epoch

`GET /blocks/epoch/{epoch_number}/slot/{slot_number}`

## Request

- Base URL: `https://cardano-mainnet.blockfrost.io/api/v0`
- URL: `https://cardano-mainnet.blockfrost.io/api/v0/blocks/epoch/{epoch_number}/slot/{slot_number}`
- Auth: API key in header `project_id`

Return the content of a requested block for a specific slot in an epoch.

## Path parameters

- `epoch_number` integer, required
- `slot_number` integer, required

## 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.dev/blockfrost/apis/blockfrost-io-api-documentation.md) - [All operations](https://skmtc.dev/blockfrost/apis/blockfrost-io-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/blockfrost/apis/blockfrost-io-api-documentation/revisions/7bfbd292d170?raw)
