cURL
curl --request GET \ --url https://api.shovels.ai/v2/cities/{geo_id}/metrics/current \ --header 'X-API-Key: <api-key>'
{ "items": [ { "geo_id": "MDEyMzQ1Njc4OWFiY2RlZg==", "tag": "solar", "permit_count": 1234, "contractor_count": 78, "avg_construction_duration": 45, "avg_approval_duration": 7, "total_job_value": 987654321, "avg_inspection_pass_rate": 90, "permit_active_count": 345, "permit_in_review_count": 56, "property_type": "residential" } ], "size": 1 }
Returns current city metrics.
Filter by the specified city ID.
Filter by property type
Filter by tag
Cursor for pagination
1 <= x <= 100
Current metrics for the city
Schema for cursor-paginated city current metrics response.
The list of items returned in the response following given criteria.
Show child attributes
The number of items returned in the response.
The cursor for retrieving the next page of results.
Was this page helpful?