Search Decisions
Changed onReturns a list of zoning / land-use decisions matching the supplied filters. Decisions should meet ALL parameter filters (AND logic). Date range (decision_from/decision_to) and geo_id are required.
Request
- Base URLhttps://api.shovels.ai/v2
- AuthAPI key in header X-API-Key
Query parameters
Cursor for pagination
Count first-page matches in the top-level total_count object: {"value": 970, "relation": "eq"}. "eq" means an exact count up to 10,000. Above 10,000, value is 10,000 and relation is "gte", meaning at least that many matches. total_count is null when false, when a cursor is supplied, or when the count query times out.
Return decisions with decision_date on or after this date. Date format: YYYY-MM-DD.
Return decisions with decision_date on or before this date. Date format: YYYY-MM-DD.
Filter decisions by geographic area. Accepts:
- US state code (e.g. CA)
- Shovels geolocation ID for an address, city, county, or jurisdiction (e.g. a4xysKbZwqg)
ZIP and ZIP+4 inputs are not supported — the upstream rezone source emits no ZIP information, so decisions cannot be filtered by ZIP.
Resolve addresses and places to geolocation IDs via:
- Search Addresses
- Search Cities
- Search Counties
- Search Jurisdictions
Free-form text such as "123 Main St" is not accepted.
Filter by one or more asset classes (e.g. Residential, Commercial, Mixed-Use).
Filter by one or more decision categories (e.g. Rezoning, Variance).
Filter by one or more decision subcategories.
Filter by one or more property types.
Minimum project value in cents (inclusive).
Maximum project value in cents (inclusive).
Full-text query against decision title and description, tokenized with PostgreSQL plainto_tsquery('english', ...).
Response
A list of decisions.
Changes
- breaking
for the
queryrequest parametersize, default value was changed from50to10
- breaking
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info