Skip to main content
GET
/
addresses
/
{geo_id}
/
metrics
/
monthly
Get Address Metrics Monthly
curl --request GET \
  --url https://api.shovels.ai/v2/addresses/{geo_id}/metrics/monthly \
  --header 'X-API-Key: <api-key>'
{
  "items": [
    {
      "geo_id": "abc123",
      "tag": "all",
      "permit_count": 42,
      "contractor_count": 15,
      "avg_construction_duration": 60,
      "avg_approval_duration": 14,
      "total_job_value": 12500000,
      "avg_inspection_pass_rate": 85,
      "date": "2023-01-01"
    }
  ],
  "size": 1,
  "next_cursor": "c29tZS1jdXJzb3I"
}

Authorizations

X-API-Key
string
header
required

Path Parameters

geo_id
string
required

Filter by the specified geolocation ID.

Query Parameters

metric_from
string<date>
required

Start date for metrics (inclusive)

metric_to
string<date>
required

End date for metrics (inclusive)

tag
string
required

Filter by tag

cursor
string | null

Cursor for pagination

size
integer
default:50
Required range: 1 <= x <= 100

Response

Successfully retrieved monthly address metrics

Schema for cursor-paginated address monthly metrics response.

items
AddressesMetricsMonthlyRead · object[]
required

The list of items returned in the response following given criteria.

size
integer
required

The number of items returned in the response.

next_cursor
string | null
required

The cursor for retrieving the next page of results.