Stay organized with collections
Save and categorize content based on your preferences.
The Solar API uses place data to determine building type and identifies
buildings based on satellite imagery. This page describes how to determine which
building's solar information is returned in a
buildingInsights
request.
Building types
The Solar API supports buildings of type
premise. This type
indicates a named location, usually a building or collection of buildings with a
common name.
Other types, such as
subpremise or
compounds — for example, detached buildings located on a single property, unless
registered as a premise —
are not supported.
Building roofs
The Solar API identifies optimal rooftop solar panel placement based on
satellite imagery. Residential buildings, particularly inclined or pitched
roofs, are identified with a high degree of accuracy, while buildings with flat
roofs (for example, apartment or commercial buildings) may vary in accuracy.
If the
buildingInsights response does not include the field solarPanelConfigs, the building was processed correctly, but we were unable to put panels on the roof. This may happen if the roof is too small to place panels or too shaded for panels to generate significant energy.
Use the place latitude and longitude coordinates in your Solar API
buildingInsights
request.
If the Solar API finds a matching building, check that the
place_id in the buildingInsights response matches the place_id
from the Geocoding API or the Place Autocomplete API.
To limit results to places with type premise, add a place type filter
to Geocoding API or Places API responses.
You can also offer a complementary experience by enabling users to select the
building on the map using the Maps JavaScript
API. Extract the building's latitude
and longitude from the mouse
event, then pass in
those coordinates in a
buildingInsights request.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-07 UTC."],[[["The Solar API uses place data and satellite imagery to identify buildings and determine their solar potential, focusing on buildings classified as \"premise\" in Google Places."],["The API primarily supports residential buildings with inclined roofs for accurate solar panel placement, while accuracy may vary for flat-roofed buildings."],["If the `solarPanelConfigs` field is missing from the API response, it indicates the building was analyzed, but solar panel placement was not feasible due to roof size or shading."],["Users can identify buildings for solar analysis by converting addresses to coordinates using Geocoding or Place Autocomplete APIs and passing the coordinates to the Solar API."],["A complementary approach involves users selecting a building directly on a map using the Maps JavaScript API, and using the extracted coordinates for solar analysis."]]],["The Solar API utilizes place data and satellite imagery to identify buildings and determine solar potential. It primarily supports `premise` type buildings, excluding `subpremise` types. Optimal solar panel placement is assessed, with higher accuracy for residential pitched roofs; flat roofs may vary. The API can be used by converting an address to coordinates via the Geocoding or Place Autocomplete APIs, or by using a location selected on a map. The results can be filtered to places of type premise, and the results from the building insights api can be compared to the results from the geocoding or places API.\n"]]