Skip to main content
GET
Get classes
Page with cursor: omit it for the first page, then pass nextCursor or prevCursor from the response. A null nextCursor means you have reached the end.

Authorizations

x-api-key
string
header
required

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

Query Parameters

pageSize
integer
default:25

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

cursor
string

Cursor from a previous response's nextCursor or prevCursor. Omit for the first page.

blockStart
integer | null

First declaration 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 declaration block to include (inclusive).

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

Earliest declaration time to include (unix seconds, inclusive). Can't be combined with blockStart/blockEnd.

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

Latest declaration time to include (unix seconds, inclusive).

Required range: 0 <= x <= 2147483647

Response

Successfully retrieved classes

items
object[]
required
nextCursor
string | null
required
prevCursor
string | null
required