Pagination

The Pump.fun Trading API uses pagination on some endpoints to return lists of results.

Pagination allows you to control the number of results returned and the starting point of the results.

Offset is the starting point of the results. Limit is the number of results returned.

Endpoints that use pagination will always return a total count of results in the response. This total count allows you to calculate the number of pages of results.

Endpoints that use pagination will have a pagination object in the request body following the format below.

Attributes

limit

(number)

The number of results per page. (Endpoint may declare max limit)

offset

(number)

The offset of the first result to return.

Pagination Example

{ "limit": 10, "offset": 0 }