GET
/
jurisdictions
/
{geo_id}
/
metrics
/
current
curl --request GET \
  --url https://api.shovels.ai/v2/jurisdictions/{geo_id}/metrics/current \
  --header 'X-API-Key: <api-key>'
{
  "items": [
    {
      "geo_id": "MDEyMzQ1Njc4OWFiY2RlZg==",
      "tag": "solar",
      "permit_count": 180,
      "contractor_count": 60,
      "avg_construction_duration": 75,
      "avg_approval_duration": 21,
      "total_job_value": 75000000,
      "avg_inspection_pass_rate": 82,
      "permit_active_count": 120,
      "permit_in_review_count": 60,
      "property_type": "residential"
    }
  ],
  "size": 1,
  "pagination_type": "cursor"
}

Authorizations

X-API-Key
string
header
required

Path Parameters

geo_id
string
required

Filter by the specified jurisdiction ID.

Query Parameters

property_type
string
required

Filter by property type

tag
string
required

Filter by tag

cursor
string | null

Cursor for pagination

page
integer | null

Page number for offset-based pagination (only used if cursor is not provided)

Required range: x >= 1
size
integer
default:50

Number of items per page

Required range: 1 <= x <= 100

Response

200
application/json

Current metrics for the jurisdiction

Schema for Jurisdiction Metrics in list response.