return a the paging information from the API