The number of records you can retrieve depends on the endpoint type:Documentation Index
Fetch the complete documentation index at: https://docs.shovels.ai/llms.txt
Use this file to discover all available pages before exploring further.
| Endpoint Type | Max Records | Example |
|---|---|---|
| Search endpoints | 100 per page | GET /v2/permits/search?size=100 |
| Detail endpoints | 50 IDs per call | GET /v2/permits?id=123,456,... |
Search Endpoints
Use thesize parameter to control how many records are returned (default: 50, max: 100):
Pagination for Larger Results
If you need more than 100 permits, paginate through the results using thenext_cursor value provided in the response.
Cursor-Based Pagination
- Make your initial request
- Check the response for
next_cursor - Use that cursor value in your next request
- Repeat until no more results
Detail Endpoints
When retrieving specific records by ID, you can request up to 50 IDs per call:GET /v2/contractors?id=....
Best Practices
- Set
size=100on 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
