The number of records you can retrieve depends on the endpoint type:
Search Endpoints
Use the size parameter to control how many records are returned (default: 50, max: 100):
If you need more than 100 permits, paginate through the results using the next_cursor value provided in the response.
- Make your initial request
- Check the response for
next_cursor
- Use that cursor value in your next request
- Repeat until no more results
Your API credits are based on records returned—a call returning 100 permits uses 100 credits, while a call returning 1 permit uses 1 credit.
Detail Endpoints
When retrieving specific records by ID, you can request up to 50 IDs per call:
The same limit applies to contractor lookups via GET /v2/contractors?id=....
Best Practices
- Set
size=100 on search endpoints to maximize records per request
- Batch detail lookups to avoid exceeding the 50 ID limit
- Handle pagination in your code to process complete datasets
- Store results locally to avoid re-fetching the same data
Related Articles