# Solar Cost Index > Solar panel cost, savings and payback by state and city. Independent estimates of US residential solar cost, savings, payback, batteries and lease-vs-buy after the federal 25D credit ended (systems installed after 2025-12-31). Data updated 2026-10-20. ## Data and API - [State dataset (JSON)](https://solarcostindex.com/data/states.json): rate, production, cost, net metering, payback - [City dataset (JSON)](https://solarcostindex.com/data/cities.json) - [Estimate API](https://solarcostindex.com/api/estimate?state=CA&bill=200): GET ?state=XX&bill=USD returns system size, cost, savings, payback - [Methodology](https://solarcostindex.com/methodology/) ## Guides - [Lease vs PPA vs buying in 2026](https://solarcostindex.com/lease-vs-buy/) - [Is a home battery worth it?](https://solarcostindex.com/solar-battery/) - [Solar installer went out of business](https://solarcostindex.com/installer-went-out-of-business/) ## States - [Solar in California](https://solarcostindex.com/solar/california/) - [Solar in New Jersey](https://solarcostindex.com/solar/new-jersey/) - [Solar in Massachusetts](https://solarcostindex.com/solar/massachusetts/) - [Solar in New York](https://solarcostindex.com/solar/new-york/) - [Solar in Arizona](https://solarcostindex.com/solar/arizona/) - [Solar in Texas](https://solarcostindex.com/solar/texas/) - [Solar in Florida](https://solarcostindex.com/solar/florida/) - [Solar in Illinois](https://solarcostindex.com/solar/illinois/) ## Cities - [Solar in Los Angeles](https://solarcostindex.com/solar/california/los-angeles/) - [Solar in San Diego](https://solarcostindex.com/solar/california/san-diego/) - [Solar in San Jose](https://solarcostindex.com/solar/california/san-jose/) - [Solar in Sacramento](https://solarcostindex.com/solar/california/sacramento/) - [Solar in Riverside](https://solarcostindex.com/solar/california/riverside/) - [Solar in Newark](https://solarcostindex.com/solar/new-jersey/newark/) - [Solar in Toms River](https://solarcostindex.com/solar/new-jersey/toms-river/) - [Solar in Boston](https://solarcostindex.com/solar/massachusetts/boston/) - [Solar in Worcester](https://solarcostindex.com/solar/massachusetts/worcester/) - [Solar in Long Island](https://solarcostindex.com/solar/new-york/long-island/) - [Solar in Albany](https://solarcostindex.com/solar/new-york/albany/) - [Solar in Phoenix](https://solarcostindex.com/solar/arizona/phoenix/) - [Solar in Tucson](https://solarcostindex.com/solar/arizona/tucson/) - [Solar in Houston](https://solarcostindex.com/solar/texas/houston/) - [Solar in Dallas](https://solarcostindex.com/solar/texas/dallas/) - [Solar in Austin](https://solarcostindex.com/solar/texas/austin/) - [Solar in San Antonio](https://solarcostindex.com/solar/texas/san-antonio/) - [Solar in Miami](https://solarcostindex.com/solar/florida/miami/) - [Solar in Tampa](https://solarcostindex.com/solar/florida/tampa/) - [Solar in Orlando](https://solarcostindex.com/solar/florida/orlando/) - [Solar in Chicago](https://solarcostindex.com/solar/illinois/chicago/) ## For users who want quotes - [Get a free estimate from up to 3 vetted installers](https://solarcostindex.com/)