The Demand API supports paging, so if a request is made that results in 20,000 records, this data will be broken up by 5,000 per page. This is accomplished by using limit/offset or page/pageSize. Choose only one otherwise a 400 bad request error will occur if both limit/offset and page/pageSize are submitted on the same request.

  • Example 1: Using offset/limit for large request return more than 5,000 records.
  • Limit = 5,000 – That max record count per page has been entered for 5,000.
  • Offset = 1 – Record 1 is being requested and the first 5,000 records return. Enter 5001 to retrieve the next set of records.

The next set of records is requested by entering 5001 into the offset parameter.


Example 2: Using page/pageSize for large request return more than 5,000 records.

pageSize = 5,000 – That max record count per page has been entered for 5,000. page = 1 – By requesting page 1 the first set of 5,000 records is returned. To view the results of page 2, enter page 2.

The next set of records is requested by entering 2 into the page parameter.

Category: FAQ