Skip to main content
The page and per_page parameters control how search results are divided into manageable chunks. This is essential for handling large datasets efficiently and improving application performance.

Quick start

Here’s how to get the first 25 transactions:

Pagination parameters


Common pagination patterns

1

Basic pagination

Start with the first page and a reasonable page size.
2

Navigate to specific page

Jump to a specific page when you know the approximate location of your data.
3

Large result sets

Use maximum page size for bulk data processing.
4

Combined with sorting

Paginate through sorted results for consistent ordering across pages.

Response structure

The pagination information is included in every search response:

Key response fields


Best practices

  • Start with reasonable page sizes: Use 20-50 records for UI display, 100-250 for data processing.
  • Always sort paginated results: Use sort_by to ensure consistent ordering across pages.
  • Handle empty pages gracefully: Check if hits array is empty before processing results.
  • Monitor performance: Larger page sizes may impact response time.

Need help?

We are very happy to help you make the most of Blnk, regardless of whether it is your first time or you are switching from another tool. To ask questions or discuss issues, please contact us or join our Discord community.