Skip to main content
GET
Get blocks
Page with page and pageSize. The response includes lastPage.

Authorizations

x-api-key
string
header
required

API key for authentication. Get your key at https://voyager.online/plans

Query Parameters

page
integer
default:1

Page number. Defaults to 1.

pageSize
integer
default:25

Number of items per page. Available options: 10, 25, 50, 100.

blockStart
integer | null

First block to include (inclusive). For a single block, set blockStart and blockEnd to the same number.

Required range: 0 <= x <= 2147483647
blockEnd
integer | null

Last block to include (inclusive).

Required range: 0 <= x <= 2147483647
timestampFrom
integer | null

Earliest time to include (unix seconds, inclusive), converted to the matching block range. Can't be combined with blockStart/blockEnd.

Required range: 0 <= x <= 2147483647
timestampTo
integer | null

Latest time to include (unix seconds, inclusive).

Required range: 0 <= x <= 2147483647

Response

Successfully retrieved blocks

items
object[]
required
lastPage
number
required