Set up the Solar API

  • Google Maps Platform secures its products by requiring API keys for authentication and billing purposes.

  • API keys can be created and managed through the Google Cloud Console or the Cloud SDK.

  • It's crucial to restrict API keys to enhance security by limiting their usage to specific APIs and IP addresses.

  • API keys should be included in every Solar API request using HTTPS for security.

European Economic Area (EEA) developers If your billing address is in the European Economic Area, effective on 8 July 2025, the Google Maps Platform EEA Terms of Service will apply to your use of the Services. Functionality varies by region.Learn more.

This document describes the prerequisites for using the Solar API, how to enable it,and then how to make an authenticated request.

Ensure that you meet the prerequisites.

Enable the API in your Google Cloud project.

Configure an API key or OAuth to make an authenticated API request.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-11-21 UTC.