GET/roofs
Address in, measured roof out
The main endpoint. Resolves the address, finds the buildings on the section, measures the dominant pitch of the primary building and returns footprint, pitch and surface area in one call.
GET /v1/roofs?address=12%20Example%20Street%2C%20Northwood%2C%20Christchurch
Authorization: Bearer rp_live_...{
"address": {
"full": "12 Example Street, Northwood, Christchurch 8051",
"territorialAuthority": "Christchurch City",
"latitude": -43.4731,
"longitude": 172.6163
},
"building": {
"id": 2048173,
"footprintM2": 186.4,
"pitchDegrees": 24,
"pitchSource": "lidar",
"pitchConfidence": "high",
"surfaceAreaM2": 204.1
},
"otherBuildings": [
{
"id": 2048174,
"footprintM2": 38.2,
"pitchDegrees": 15,
"pitchSource": "lidar",
"pitchConfidence": "medium",
"surfaceAreaM2": 39.6
}
],
"attribution": "Contains data sourced from LINZ, CC BY 4.0"
}