Google Maps Platform Solar BuildingInsights API

The Solar BuildingInsights API from Google Maps Platform — 1 operation(s) for solar buildinginsights.

GitHub OpenAPI

Operations 1

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /v1/buildingInsights:findClosest Estimate solar potential for a building · Find closest buildingInsights #
Ask an LLM
“How much solar power could the roof of a building produce?”
“Can I find the building closest to a map point and see its rooftop solar potential?”
Tell an agent
Get rooftop solar potential for the building at {latitude}, {longitude}.
Find the closest building to {latitude}, {longitude} with {requiredQuality} imagery quality.

Documentation

Specifications

Schemas & Data

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/google-maps:google-maps-solar-buildinginsights-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

google-maps-solar-buildinginsights-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Solar API BuildingInsights Solar BuildingInsights API
  version: v1
  description: Generated from Google's published Discovery document for Solar API (solar v1, revision 20261110). 1 operation(s).
  contact:
    name: Google
    url: https://developers.google.com/
  termsOfService: https://developers.google.com/terms
servers:
- url: https://solar.googleapis.com
tags:
- name: Solar BuildingInsights
paths:
  /v1/buildingInsights:findClosest:
    get:
      operationId: solar.buildingInsights.findClosest
      summary: Find closest buildingInsights
      description: 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.
      parameters:
      - name: additionalInsights
        in: query
        required: false
        description: Optional. A list of additional_insights to be included in the response.
        schema:
          type: array
          items:
            enum:
            - ADDITIONAL_INSIGHTS_UNSPECIFIED
            - ROOF_GEOMETRY
            - DETECTED_ARRAYS
            type: string
      - name: exactQualityRequired
        in: query
        required: false
        description: Optional. Whether to require exact quality of the imagery. If set to false, the `required_quality` field is interpreted as the minimum required quality, such that HIGH quality imagery may be returned when `required_quality` is set to MEDIUM. If set to true, `required_quality` is interpreted as the exact required quality and only `MEDIUM` quality imagery is returned if `required_quality` is set to `MEDIUM`.
        schema:
          type: boolean
      - name: experiments
        in: query
        required: false
        description: Optional. Specifies the pre-GA experiments to enable. Requests using this field are classified as a pre-GA offering under the [Google Maps Platform Service Specific Terms](https://cloud.google.com/maps-platform/terms/maps-service-terms). See [launch stage descriptions](https://cloud.google.com/maps-platform/terms/launch-stages) for more details.
        schema:
          type: array
          items:
            enum:
            - EXPERIMENT_UNSPECIFIED
            - EXPANDED_COVERAGE
            - ROOF_GEOMETRY_INSIGHTS
            type: string
      - name: location.latitude
        in: query
        required: false
        description: The latitude in degrees. It must be in the range [-90.0, +90.0].
        schema:
          type: number
          format: double
      - name: location.longitude
        in: query
        required: false
        description: The longitude in degrees. It must be in the range [-180.0, +180.0].
        schema:
          type: number
          format: double
      - name: requiredQuality
        in: query
        required: false
        description: Optional. The minimum quality level allowed in the results. No result with lower quality than this will be returned. Not specifying this is equivalent to restricting to HIGH quality only.
        schema:
          enum:
          - IMAGERY_QUALITY_UNSPECIFIED
          - HIGH
          - MEDIUM
          - LOW
          - BASE
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BuildingInsights'
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/cloud-platform
      - apiKey: []
      tags:
      - Solar BuildingInsights
components:
  schemas:
    Obstacle:
      properties:
        polygonGeojson:
          additionalProperties:
            description: Properties of the object.
          readOnly: true
          description: 'Output only. A GeoJSON representation of the obstacle. An obstacle is defined as any non-buildable area where solar panels cannot be placed due to physical barriers (vents, chimneys, dormers, etc.). The GeoJSON data must be in RFC 7946 format and represent a Polygon for a single contiguous area. The Polygon will be represented by several loops when it contains holes. Example: { "type": "Polygon", "coordinates": [ [ [-1, -1, 0], [-1, 0, 0], [0, 0, 0], [-1, -1, 0] ] ] }'
          type: object
      description: Details of a single detected obstacle.
      type: object
    Money:
      description: Represents an amount of money with its currency type.
      properties:
        units:
          description: The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
          type: string
          format: int64
        nanos:
          format: int32
          description: Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
          type: integer
        currencyCode:
          description: The three-letter currency code defined in ISO 4217.
          type: string
      type: object
    BuildingInsights:
      description: Response message for `Solar.FindClosestBuildingInsights`. Information about the location, dimensions, and solar potential of a building.
      properties:
        imageryProcessedDate:
          $ref: '#/components/schemas/Date'
          description: When processing was completed on this imagery.
        detectedArrays:
          $ref: '#/components/schemas/BuildingInsightsDetectedArrays'
          description: Solar arrays detected on the building. This field is only populated if DETECTED_ARRAYS is included in the request's FindClosestBuildingInsightsRequest.additional_insights.
        center:
          $ref: '#/components/schemas/LatLng'
          description: A point near the center of the building.
        postalCode:
          description: Postal code (e.g., US zip code) this building is contained by.
          type: string
        administrativeArea:
          description: Administrative area 1 (e.g., in the US, the state) that contains this building. For example, in the US, the abbreviation might be "MA" or "CA."
          type: string
        regionCode:
          type: string
          description: Region code for the country (or region) this building is in.
        imageryDate:
          $ref: '#/components/schemas/Date'
          description: Date that the underlying imagery was acquired. This is approximate.
        statisticalArea:
          type: string
          description: Statistical area (e.g., US census tract) this building is in.
        solarPotential:
          $ref: '#/components/schemas/SolarPotential'
          description: Solar potential of the building.
        name:
          type: string
          description: The resource name for the building, of the format `buildings/{place_id}`.
        imageryQuality:
          type: string
          description: The quality of the imagery used to compute the data for this building.
          enum:
          - IMAGERY_QUALITY_UNSPECIFIED
          - HIGH
          - MEDIUM
          - LOW
          - BASE
        boundingBox:
          $ref: '#/components/schemas/LatLngBox'
          description: The bounding box of the building.
      type: object
    Date:
      type: object
      properties:
        month:
          type: integer
          format: int32
          description: Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
        day:
          description: Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
          format: int32
          type: integer
        year:
          type: integer
          format: int32
          description: Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
      description: 'Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp'
    LeasingSavings:
      description: Cost and benefit of leasing a particular configuration of solar panels with a particular electricity usage.
      type: object
      properties:
        savings:
          $ref: '#/components/schemas/SavingsOverTime'
          description: How much is saved (or not) over the lifetime period.
        leasesSupported:
          type: boolean
          description: 'Whether leases are supported in this juristiction by the financial calculation engine. If this field is false, then the values in this message should probably be ignored. This is independent of `leases_allowed`: in some areas leases are allowed, but under conditions that aren''t handled by the financial models.'
        leasesAllowed:
          description: Whether leases are allowed in this juristiction (leases are not allowed in some states). If this field is false, then the values in this message should probably be ignored.
          type: boolean
        annualLeasingCost:
          $ref: '#/components/schemas/Money'
          description: Estimated annual leasing cost.
    RoofSegmentSummary:
      type: object
      description: Information about a roof segment on the building, with some number of panels placed on it.
      properties:
        segmentIndex:
          type: integer
          description: Index in roof_segment_stats of the corresponding `RoofSegmentSizeAndSunshineStats`.
          format: int32
        pitchDegrees:
          type: number
          description: Angle of the roof segment relative to the theoretical ground plane. 0 = parallel to the ground, 90 = perpendicular to the ground.
          format: float
        azimuthDegrees:
          format: float
          type: number
          description: Compass direction the roof segment is pointing in. 0 = North, 90 = East, 180 = South. For a "flat" roof segment (`pitch_degrees` very near 0), azimuth is not well defined, so for consistency, we define it arbitrarily to be 0 (North).
        yearlyEnergyDcKwh:
          format: float
          description: How much sunlight energy this part of the layout captures over the course of a year, in DC kWh, assuming the panels described above.
          type: number
        panelsCount:
          type: integer
          format: int32
          description: The total number of panels on this segment.
    SizeAndSunshineStats:
      description: Size and sunniness quantiles of a roof, or part of a roof.
      type: object
      properties:
        groundAreaMeters2:
          format: float
          description: The ground footprint area covered by the roof or roof segment, in m^2.
          type: number
        sunshineQuantiles:
          type: array
          description: Quantiles of the pointwise sunniness across the area. If there are N values here, this represents the (N-1)-iles. For example, if there are 5 values, then they would be the quartiles (min, 25%, 50%, 75%, max). Values are in annual kWh/kW like max_sunshine_hours_per_year.
          items:
            type: number
            format: float
        areaMeters2:
          type: number
          description: The area of the roof or roof segment, in m^2. This is the roof area (accounting for tilt), not the ground footprint area.
          format: float
    CashPurchaseSavings:
      properties:
        outOfPocketCost:
          $ref: '#/components/schemas/Money'
          description: 'Initial cost before tax incentives: the amount that must be paid out-of-pocket. Contrast with `upfront_cost`, which is after tax incentives.'
        savings:
          $ref: '#/components/schemas/SavingsOverTime'
          description: How much is saved (or not) over the lifetime period.
        paybackYears:
          type: number
          format: float
          description: Number of years until payback occurs. A negative value means payback never occurs within the lifetime period.
        upfrontCost:
          $ref: '#/components/schemas/Money'
          description: 'Initial cost after tax incentives: it''s the amount that must be paid during first year. Contrast with `out_of_pocket_cost`, which is before tax incentives.'
        rebateValue:
          $ref: '#/components/schemas/Money'
          description: The value of all tax rebates.
      type: object
      description: Cost and benefit of an outright purchase of a particular configuration of solar panels with a particular electricity usage.
    SavingsOverTime:
      description: Financial information that's shared between different financing methods.
      properties:
        presentValueOfSavingsYear20:
          $ref: '#/components/schemas/Money'
          description: Using the assumed discount rate, what is the present value of the cumulative 20-year savings?
        savingsYear1:
          $ref: '#/components/schemas/Money'
          description: Savings in the first year after panel installation.
        savingsYear20:
          $ref: '#/components/schemas/Money'
          description: Savings in the first twenty years after panel installation.
        presentValueOfSavingsLifetime:
          $ref: '#/components/schemas/Money'
          description: Using the assumed discount rate, what is the present value of the cumulative lifetime savings?
        savingsLifetime:
          $ref: '#/components/schemas/Money'
          description: Savings in the entire panel lifetime.
        financiallyViable:
          description: Indicates whether this scenario is financially viable. Will be false for scenarios with poor financial viability (e.g., money-losing).
          type: boolean
      type: object
    RoofSegmentSizeAndSunshineStats:
      properties:
        center:
          $ref: '#/components/schemas/LatLng'
          description: A point near the center of the roof segment.
        azimuthDegrees:
          description: Compass direction the roof segment is pointing in. 0 = North, 90 = East, 180 = South. For a "flat" roof segment (`pitch_degrees` very near 0), azimuth is not well defined, so for consistency, we define it arbitrarily to be 0 (North).
          type: number
          format: float
        polygonGeojson:
          additionalProperties:
            description: Properties of the object.
          description: 'Output only. A GeoJSON representation of the detailed geometry for the roof segment plane. The polygon represents the physical roof facet, excluding overlapping vegetation and internal cutouts (e.g., courtyards). This field is only populated if ROOF_GEOMETRY is included in the request''s FindClosestBuildingInsightsRequest.additional_insights parameter. The GeoJSON data must be in RFC 7946 format and represent a Polygon for a single contiguous area. The Polygon will be represented by several loops when it contains holes. Example: { "type": "Polygon", "coordinates": [ [ [-1, -1, 0], [-1, 0, 0], [0, 0, 0], [-1, -1, 0] ] ] }'
          type: object
          readOnly: true
        stats:
          $ref: '#/components/schemas/SizeAndSunshineStats'
          description: Total size and sunlight quantiles for the roof segment.
        planeHeightAtCenterMeters:
          type: number
          format: float
          description: The height of the roof segment plane, in meters above sea level, at the point designated by `center`. Together with the pitch, azimuth, and center location, this fully defines the roof segment plane.
        boundingBox:
          $ref: '#/components/schemas/LatLngBox'
          description: The bounding box of the roof segment.
        pitchDegrees:
          type: number
          format: float
          description: Angle of the roof segment relative to the theoretical ground plane. 0 = parallel to the ground, 90 = perpendicular to the ground.
      type: object
      description: Information about the size and sunniness quantiles of a roof segment.
    BuildingInsightsDetectedArraysSolarArray:
      type: object
      description: Details of a single detected solar array.
      properties:
        polygonGeojson:
          description: 'A GeoJSON representation of the building area where solar panels were detected. The GeoJSON data must be in RFC 7946 format and represent a Polygon for a single contiguous area. The Polygon will be represented by several loops when it contains holes. Example: { "type": "Polygon", "coordinates": [ [ [-1, -1], [-1, 0], [0, 0], [-1, -1] ] ] }'
          type: object
          additionalProperties:
            description: Properties of the object.
    FinancialDetails:
      type: object
      description: 'Details of a financial analysis. Some of these details are already stored at higher levels (e.g., out of pocket cost). Total money amounts are over a lifetime period defined by the panel_lifetime_years field in SolarPotential. Note: The out of pocket cost of purchasing the panels is given in the out_of_pocket_cost field in CashPurchaseSavings.'
      properties:
        lifetimeSrecTotal:
          $ref: '#/components/schemas/Money'
          description: Amount of money the user will receive from Solar Renewable Energy Credits over the panel lifetime; this applies if the user buys (with or without a loan) the panels.
        percentageExportedToGrid:
          type: number
          description: The percentage (0-100) of solar electricity production we assumed was exported to the grid, based on the first quarter of production. This affects the calculations if net metering is not allowed.
          format: float
        costOfElectricityWithoutSolar:
          $ref: '#/components/schemas/Money'
          description: Total cost of electricity the user would have paid over the lifetime period if they didn't install solar.
        utilityIncentive:
          $ref: '#/components/schemas/Money'
          description: Amount of money available from utility incentives; this applies if the user buys (with or without a loan) the panels.
        federalIncentive:
          $ref: '#/components/schemas/Money'
          description: Amount of money available from federal incentives; this applies if the user buys (with or without a loan) the panels.
        stateIncentive:
          $ref: '#/components/schemas/Money'
          description: Amount of money available from state incentives; this applies if the user buys (with or without a loan) the panels.
        remainingLifetimeUtilityBill:
          $ref: '#/components/schemas/Money'
          description: Utility bill for electricity not produced by solar, for the lifetime of the panels.
        initialAcKwhPerYear:
          format: float
          description: How many AC kWh we think the solar panels will generate in their first year.
          type: number
        solarPercentage:
          type: number
          description: Percentage (0-100) of the user's power supplied by solar. Valid for the first year but approximately correct for future years.
          format: float
        netMeteringAllowed:
          type: boolean
          description: Whether net metering is allowed.
    GoogleRpcError:
      type: object
      description: The error envelope every Google API returns.
      properties:
        error:
          type: object
          properties:
            code:
              type: integer
            message:
              type: string
            status:
              type: string
            details:
              type: array
              items:
                type: object
    FinancialAnalysis:
      properties:
        financedPurchaseSavings:
          $ref: '#/components/schemas/FinancedPurchaseSavings'
          description: Cost and benefit of buying the solar panels by financing the purchase.
        averageKwhPerMonth:
          description: How much electricity the house uses in an average month, based on the bill size and the local electricity rates.
          type: number
          format: float
        cashPurchaseSavings:
          $ref: '#/components/schemas/CashPurchaseSavings'
          description: Cost and benefit of buying the solar panels with cash.
        financialDetails:
          $ref: '#/components/schemas/FinancialDetails'
          description: Financial information that applies regardless of the financing method used.
        panelConfigIndex:
          type: integer
          format: int32
          description: Index in solar_panel_configs of the optimum solar layout for this bill size. This can be -1 indicating that there is no layout. In this case, the remaining submessages will be omitted.
        leasingSavings:
          $ref: '#/components/schemas/LeasingSavings'
          description: Cost and benefit of leasing the solar panels.
        monthlyBill:
          $ref: '#/components/schemas/Money'
          description: The monthly electric bill this analysis assumes.
        defaultBill:
          description: Whether this is the bill size selected to be the default bill for the area this building is in. Exactly one `FinancialAnalysis` in `BuildingSolarPotential` should have `default_bill` set.
          type: boolean
      description: Analysis of the cost and benefits of the optimum solar layout for a particular electric bill size.
      type: object
    SolarPanelConfig:
      description: SolarPanelConfig describes a particular placement of solar panels on the roof.
      type: object
      properties:
        roofSegmentSummaries:
          description: Information about the production of each roof segment that is carrying at least one panel in this layout. `roof_segment_summaries[i]` describes the i-th roof segment, including its size, expected production and orientation.
          type: array
          items:
            $ref: '#/components/schemas/RoofSegmentSummary'
        panelsCount:
          type: integer
          description: Total number of panels. Note that this is redundant to (the sum of) the corresponding fields in roof_segment_summaries.
          format: int32
        yearlyEnergyDcKwh:
          description: How much sunlight energy this layout captures over the course of a year, in DC kWh, assuming the panels described above.
          format: float
          type: number
    LatLng:
      properties:
        latitude:
          description: The latitude in degrees. It must be in the range [-90.0, +90.0].
          type: number
          format: double
        longitude:
          description: The longitude in degrees. It must be in the range [-180.0, +180.0].
          format: double
          type: number
      description: An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges.
      type: object
    BuildingInsightsDetectedArrays:
      properties:
        detectionStatus:
          type: string
          description: Indicates the detection status of solar arrays for this building.
          enum:
          - DETECTION_STATUS_UNSPECIFIED
          - DETECTION_STATUS_DATA_UNAVAILABLE
          - DETECTION_STATUS_ARRAYS_DETECTED
          - DETECTION_STATUS_NO_ARRAYS_DETECTED
        arrays:
          description: A list of solar arrays detected on the building.
          items:
            $ref: '#/components/schemas/BuildingInsightsDetectedArraysSolarArray'
          type: array
        latestCaptureDate:
          $ref: '#/components/schemas/Date'
          description: The date indicating when the latest solar array data was captured.
      description: Information about solar arrays detected on the building.
      type: object
    SolarPanel:
      properties:
        yearlyEnergyDcKwh:
          description: How much sunlight energy this layout captures over the course of a year, in DC kWh.
          type: number
          format: float
        segmentIndex:
          type: integer
          format: int32
          description: Index in roof_segment_stats of the `RoofSegmentSizeAndSunshineStats` which corresponds to the roof segment that this panel is placed on.
        orientation:
          enum:
          - SOLAR_PANEL_ORIENTATION_UNSPECIFIED
          - LANDSCAPE
          - PORTRAIT
          type: string
          description: The orientation of the panel.
        center:
          $ref: '#/components/schemas/LatLng'
          description: The centre of the panel.
      type: object
      description: SolarPanel describes the position, orientation, and production of a single solar panel. See the panel_height_meters, panel_width_meters, and panel_capacity_watts fields in SolarPotential for information on the parameters of the panel.
    LatLngBox:
      properties:
        sw:
          $ref: '#/components/schemas/LatLng'
          description: The southwest corner of the box.
        ne:
          $ref: '#/components/schemas/LatLng'
          description: The northeast corner of the box.
      description: A bounding box in lat/lng coordinates.
      type: object
    SolarPotential:
      properties:
        wholeRoofStats:
          $ref: '#/components/schemas/SizeAndSunshineStats'
          description: Total size and sunlight quantiles for the part of the roof that was assigned to some roof segment. Despite the name, this may not include the entire building. See building_stats.
        maxSunshineHoursPerYear:
          description: Maximum number of sunshine hours received per year, by any point on the roof. Sunshine hours are a measure of the total amount of insolation (energy) received per year. 1 sunshine hour = 1 kWh per kW (where kW refers to kW of capacity under Standard Testing Conditions).
          format: float
          type: number
        panelLifetimeYears:
          description: The expected lifetime, in years, of the solar panels. This is used in the financial calculations.
          type: integer
          format: int32
        solarPanels:
          description: Each SolarPanel describes a single solar panel. They are listed in the order that the panel layout algorithm placed this. This is usually, though not always, in decreasing order of annual energy production.
          type: array
          items:
            $ref: '#/components/schemas/SolarPanel'
        financialAnalyses:
          items:
            $ref: '#/components/schemas/FinancialAnalysis'
          description: A FinancialAnalysis gives the savings from going solar assuming a given monthly bill and a given electricity provider. They are in order of increasing order of monthly bill amount. This field will be empty for buildings in areas for which the Solar API does not have enough information to perform financial computations.
          type: array
        panelWidthMeters:
          description: Width, in meters in portrait orientation, of the panel used in the calculations.
          format: float
          type: number
        obstacles:
          description: Details for each obstacle detected on the rooftop. An obstacle is defined as any non-buildable area where solar panels cannot be placed due to physical barriers (vents, chimneys, etc.). This field is only populated if ROOF_GEOMETRY is included in the request's FindClosestBuildingInsightsRequest.additional_insights.
          type: array
          items:
            $ref: '#/components/schemas/Obstacle'
        panelHeightMeters:
          format: float
          type: number
          description: Height, in meters in portrait orientation, of the panel used in the calculations.
        roofSegmentStats:
          type: array
          description: Size and sunlight quantiles for each roof segment.
          items:
            $ref: '#/components/schemas/RoofSegmentSizeAndSunshineStats'
        maxArrayAreaMeters2:
          format: float
          type: number
          description: Size, in square meters, of the maximum array.
        solarPanelConfigs:
          description: Each SolarPanelConfig describes a different arrangement of solar panels on the roof. They are in order of increasing number of panels. The `SolarPanelConfig` with panels_count=N is based on the first N panels in the `solar_panels` list. This field is only populated if at least 4 panels can fit on a roof.
          items:
            $ref: '#/components/schemas/SolarPanelConfig'
          type: array
        buildingStats:
          $ref: '#/components/schemas/SizeAndSunshineStats'
          description: Size and sunlight quantiles for the entire building, including parts of the roof that were not assigned to some roof segment. Because the orientations of these parts are not well characterised, the roof area estimate is unreliable, but the ground area estimate is reliable. It may be that a more reliable whole building roof area can be obtained by scaling the roof area from whole_roof_stats by the ratio of the ground areas of `building_stats` and `whole_roof_stats`.
        panelCapacityWatts:
          description: Capacity, in watts, of the panel used in the calculations.
          type: number
          format: float
        maxArrayPanelsCount:
          format: int32
          type: integer
          description: Size of the maximum array - that is, the maximum number of panels that can fit on the roof.
        carbonOffsetFactorKgPerMwh:
          description: Equivalent amount of CO2 produced per MWh of grid electricity. This is a measure of the carbon intensity of grid electricity displaced by solar electricity.
          format: float
          type: number
      description: Information about the solar potential of a building. A number of fields in this are defined in terms of "panels". The fields panel_capacity_watts, panel_height_meters, and panel_width_meters describe the parameters of the model of panel used in these calculations.
      type: object
    FinancedPurchaseSavings:
      description: Cost and benefit of using a loan to buy a particular configuration of solar panels with a particular electricity usage.
      type: object
      properties:
        rebateValue:
          $ref: '#/components/schemas/Money'
          description: The value of all tax rebates (including Federal Investment Tax Credit (ITC)).
        annualLoanPayment:
          $ref: '#/components/schemas/Money'
          description: Annual loan payments.
        loanInterestRate:
          description: The interest rate on loans assumed in this set of calculations.
          format: float
          type: number
        savings:
          $ref: '#/components/schemas/SavingsOverTime'
          description: How much is saved (or not) over the lifetime period.
  securitySchemes:
    apiKey:
      type: apiKey
      in: query
      name: key
      description: API key; accepted by methods that do not need user data.
    oauth2:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://accounts.google.com/o/oauth2/auth
          tokenUrl: https://oauth2.googleapis.com/token
          scopes:
            https://www.googleapis.com/auth/cloud-platform: See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
externalDocs:
  url: https://developers.google.com/maps/documentation/solar
x-provenance:
  method: harvested
  publisher: Google
  source: https://solar.googleapis.com/$discovery/rest?version=v1
  note: converted by discovery-to-openapi.py from Google's Discovery document (revision 20261110)