There are keys in the web.configuration file that allow configuration of the service.
The maximum allowed $top value that you can specify in the OData query option of a URL is 10,000. Any value larger than 10,000 results in a 500 Internal Server Error. You can change this limit by modifying MaximumTopValue.
The maximum number of objects returned in a single page is 100 if a $top value is not included in a URL. You can change this limit by modifying PageSize.