ArticlesWhy did the API not fetch all the requested data?

Explore other articles on this topic.

15.1.2025Knowledge

If your API call resulted less data than expected, it can be for example because of the following reasons:

Start/end date or period parameters are not correct

Note that startDate defaults to the current date and endDate defaults to day after the current date, if they have not been set. 

The maximum interval between startDate and endDate is 1 year. 

Offset/limit parameters are limiting the result set

The limit is a paging parameter to determine the maximum size of the result set matching the search criteria. By default the value is 1000, and can be up to 10000.

If the header 'X-More-Available' in response is true, there are more results available. You should ask the next page by increasing the paging offset with the current limit. offset is the paging parameter to determine the index of the first item from the whole result set matching the search criteria, and the default value is 0


Can't find the information you're looking for? Email support@happy-or-not.com to contact our Support.