{"uid":"cap_jJ7j9CNVhEOdSHI5XfxMV","slug":"nrel-solar-resource-estimates-by-lat-lon-90cf5e26","name":"NREL Solar Resource Estimates by Lat/Lon","description":"Get average solar resource estimates for any latitude/longitude via NREL. Returns annual + monthly averages for: Direct Normal Irradiance (DNI, kWh/m²/day — solar concentrators), Global Horizontal Irradiance (GHI, kWh/m²/day — flat-plate panels), and Tilted-At-Latitude irradiance (optimal fixed-panel orientation). Sourced from NREL National Solar Radiation Database (NSRDB). Useful for rooftop solar feasibility, off-grid design, and renewable-energy modeling.","url":"https://2s.io/api/energy/solar-resource","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","queryParams"],"properties":{"type":{"const":"http"},"method":{"const":"GET"},"queryParams":{"required":["lat","lon"],"properties":{"lat":{"type":"number","maximum":90,"minimum":-90},"lon":{"type":"number","maximum":180,"minimum":-180}}}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"lat":40.7128,"lon":-74.006}}},"response":{"data":{"ok":true,"items":[{"lat":40.7128,"lon":-74.006,"outputs":{"tiltedAtLatitudeKWhM2Day":{"annual":4.62,"monthly":{"apr":5.05,"aug":5.28,"dec":3.34,"feb":4.45,"jan":3.61,"jul":5.46,"jun":5.31,"mar":4.92,"may":5.24,"nov":3.44,"oct":4.26,"sep":5.1}},"directNormalIrradianceKWhM2Day":{"annual":3.79,"monthly":{"apr":4.1,"aug":4.18,"dec":2.97,"feb":3.89,"jan":3.23,"jul":4.32,"jun":4.23,"mar":4.09,"may":4.16,"nov":2.79,"oct":3.42,"sep":4.1}},"globalHorizontalIrradianceKWhM2Day":{"annual":3.93,"monthly":{"apr":4.77,"aug":5.17,"dec":1.75,"feb":2.89,"jan":2,"jul":5.85,"jun":5.85,"mar":3.91,"may":5.51,"nov":2.08,"oct":3.03,"sep":4.3}}},"sources":["Perez-SUNY/NREL, 2012"],"warnings":[]}],"total":1,"source":{"url":"https://developer.nlr.gov/","license":"Public domain (US DOE/NREL)","provider":"NREL Developer Network (National Renewable Energy Laboratory)"}},"meta":{"cost":{"usd":0.0012,"tier":0},"caller":"x402","version":null,"endpoint":"energy.solar-resource","settlement":{"txHash":"0x5998a529b700a908c324e85aea67d5710dead14a74d65ca2c3afef78b9377494","network":"eip155:8453","success":true}}}},"exampleRequest":{"lat":40.7128,"lon":-74.006},"tags":["x402"],"displayCostAmount":"0.0012","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.0012/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_k32N7trhrVdlTynU0csXQ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns annual and monthly solar irradiance averages (DNI, GHI, tilted-at-latitude) for any geographic coordinate, sourced from NREL's NSRDB.","exampleAgentPrompt":"What's the solar resource potential at latitude 33.45, longitude -112.07 — I need the annual and monthly DNI, GHI, and tilted irradiance figures for a rooftop solar feasibility study.","exampleUseCases":null,"resultDescription":"Returns annual and monthly averages for Direct Normal Irradiance (DNI, kWh/m²/day), Global Horizontal Irradiance (GHI, kWh/m²/day), and tilted-at-latitude irradiance for the specified coordinates, sourced from NREL's NSRDB.","failureModes":["Missing lat or lon parameters returns a 400 Bad Request","Coordinates outside valid range (-90 to 90 lat, -180 to 180 lon) return a validation error","Locations over oceans or polar extremes may have sparse or unavailable NSRDB data","Payment failure or insufficient USDC balance returns a 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need authoritative NREL/NSRDB solar resource data for a specific geographic coordinate — ideal for rooftop solar feasibility, off-grid system design, renewable energy modeling, or site selection where monthly and annual DNI/GHI/tilted irradiance breakdowns are needed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:57:27.840Z","isFirstParty":false}