---
title: "Search for blocks by BeginBlock and EndBlock events"
method: GET
path: "/block_search"
tags: ["Info"]
---

# Search for blocks by BeginBlock and EndBlock events

`GET /block_search`

Search for blocks by BeginBlock and EndBlock events.

See /subscribe for the query syntax.

## Query parameters

- `query` string, required
- `page` integer
- `per_page` integer
- `order_by` string

## Response `200`

List of paginated blocks matching the search criteria.

- BlockSearchResponse — unresolved $ref

## Other responses

- `500` — Error

## Changes

> 9 revisions in range; 1 not diffed, 1 could not be searched.

- **2021-03-22** `cb70bcd56cd9` — 1 info
  - endpoint added
- **2020-08-21** `c329db0eaf56` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/tendermint/apis/tendermint-rpc/changes/block_search/get.md)

---

[API](https://skmtc.dev/tendermint/apis/tendermint-rpc.md) · [All operations](https://skmtc.dev/tendermint/apis/tendermint-rpc/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/tendermint/tendermint-rpc/revisions/ec82847d4988/schema)
