Pagination

We recommend not using a pageSize higher than 100. This ensures optimal performance, minimizes memory usage, and works well across a wide range of scenarios.

Some endpoints currently have no enforced limits, but this may change. It’s important to always implement proper pagination handling.

  • The whole Reports module
  • /finance/{version}/accounts/aggregate-pairs-daily
  • /finance/{version}/accounts/aggregate-daily
  • /finance/{version}/accounts/aggregate
  • /finance/{version}/accounts/export
  • /finance/{version}/accounts/export-daily
  • /finance/{version}/accounts/export-gross-daily

Best Practices:

  • Always specify a pageSize, ideally 100, to ensure predictable and consistent data handling.
  • Never assume that a single response contains all available data.
  • Compare the number of items returned with the expected count.
  • If the counts differ, continue calling the endpoint with the next page.