---
title: "GET /v1/buildingInsights:findClosest"
method: GET
path: "/v1/buildingInsights:findClosest"
tags: ["buildingInsights"]
---

# GET /v1/buildingInsights:findClosest

`GET /v1/buildingInsights:findClosest`

Locates the building whose centroid is closest to a query point. Returns an error with code `NOT_FOUND` if there are no buildings within approximately 50m of the query point.

## Query parameters

- `additionalInsights` string[]
- `exactQualityRequired` boolean
- `experiments` string[]
- `location.latitude` number
- `location.longitude` number
- `requiredQuality` 'IMAGERY_QUALITY_UNSPECIFIED' | 'HIGH' | 'MEDIUM' | 'LOW' | 'BASE'

## Response `200`

Successful response

---

[API](https://skmtc.dev/google/apis/solar.md) · [All operations](https://skmtc.dev/google/apis/solar/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/google/solar/revisions/5dc8972af7ee/schema)
