...
Rate limited calls may result in HTTP error status 403 429 TOO MANY REQUESTS responses.
Pagination*
The default records returned per call is (up to) 25, and the maximum number that can be returned is 100. We
...
provide limit and offset parameters to allow navigation through larger data sets. Responses include
...
a count field, which specifies the total number of records available via pagination. For performance reasons,
...
the offset parameter is limited to a maximum value
...
of 50000.
Here's an example of sequential requests to paginate through the most recent 300 listings, 50 at a time:
Panel |
---|
https://services.usta.com/v1/customer/me/roles?limit=50&offset=0
https://services.usta.com/v1/customer/me/roles?limit=50&offset=50
https://services.usta.com/v1/customer/me/roles?limit=50&offset=100
https://services.usta.com/v1/customer/me/roles?limit=50&offset=150
https://services.usta.com/v1/customer/me/roles?limit=50&offset=200
https://services.usta.com/v1/customer/me/roles?limit=50&offset=250 |
...