The Solar API provides access to the solar potential of hundreds of millions of buildings.
Google Solar API Documentation