Solar & Weather History API
Daily solar and weather history for any point on Earth from NASA POWER: one row per place and day with sunlight (all-sky and clear-sky irradiance, clearness index), mean, high and low temperature, humidity, rain and wind at 10 m and 50 m, from 1981 to the last few days.
$0.50 per 1,000 records
You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.
Get this data
Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.
Try it
Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key
For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
- Small runs answer in the same request; longer ones answer
202with a run to poll. fieldsreturns only the fields you name. The examples send the ones picked on this page.Idempotency-Keyis optional. A retry with it is never charged twice.- You pay for records returned. Zero records cost zero.
curl -X POST "https://pullrow.dev/v1/apis/nasa-power-weather/run" \
-H "Authorization: Bearer $PULLROW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"latitude":"43.65"},"max_items":50}'Inputs
Send them as input in the request body. Leave one out to use its default.
What's in each record
14 fields.
Basics
- Elevation m
Average ground height of the grid cell in metres, as NASA's model sees it.
Example 98.64
- Solar irradiance kWh m 2
All-sky sunlight reaching a flat surface (global horizontal irradiance) in kWh per square metre for the day (ALLSKY_SFC_SW_DWN).
Example 6.251
- Clear sky irradiance kWh m 2
Sunlight a flat surface would get under a cloudless sky, in kWh per square metre for the day (CLRSKY_SFC_SW_DWN).
Example 8.2267
- Clearness index
Share of the sunlight at the top of the atmosphere that reached the ground, 0 to 1 (ALLSKY_KT).
Example 0.55
- Temperature c
Mean air temperature 2 m above ground in degrees Celsius (T2M).
Example 10.06
- Temperature maximum c
Highest air temperature 2 m above ground in degrees Celsius (T2M_MAX).
Example 12.59
- Temperature minimum c
Lowest air temperature 2 m above ground in degrees Celsius (T2M_MIN).
Example 6.76
- Relative humidity (%)
Mean relative humidity 2 m above ground in percent (RH2M).
Example 70.56%
- Precipitation (mm)
Rain and snow (as water) for the day in millimetres, bias-corrected (PRECTOTCORR).
Example 0.11
- Wind speed ms
Mean wind speed 10 m above ground in metres per second (WS10M).
Example 5.59
- Wind speed 50m ms
Mean wind speed 50 m above ground in metres per second, a common height for wind turbines (WS50M).
Example 8.07
Location
- Latitude
Latitude of the place, as asked.
Example 43.65
- Longitude
Longitude of the place, as asked.
Example -79.38
Dates
- Date
The day the values cover, as a local solar day.
Example Jun 1, 2025
Technical detailsField names and types for developers
Field names and types
The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.
| Field name | Type | Shown on this page as | Filled |
|---|---|---|---|
date | date | Date | 3 of 3 |
latitude | number | Latitude | 3 of 3 |
longitude | number | Longitude | 3 of 3 |
elevation_m | number | Elevation m | 3 of 3 |
solar_irradiance_kwh_m2 | number | Solar irradiance kWh m 2 | 3 of 3 |
clear_sky_irradiance_kwh_m2 | number | Clear sky irradiance kWh m 2 | 3 of 3 |
clearness_index | number | Clearness index | 3 of 3 |
temperature_c | number | Temperature c | 3 of 3 |
temperature_max_c | number | Temperature maximum c | 3 of 3 |
temperature_min_c | number | Temperature minimum c | 3 of 3 |
relative_humidity_pct | number | Relative humidity (%) | 3 of 3 |
precipitation_mm | number | Precipitation (mm) | 3 of 3 |
wind_speed_ms | number | Wind speed ms | 3 of 3 |
wind_speed_50m_ms | number | Wind speed 50m ms | 3 of 3 |
How it reads the site
Runs on a reader we built and maintain by hand for this site.
Save as pipeline
A pipeline remembers this API, your inputs and the fields you picked. It can run on a schedule and email you the results.
Sample records
| Record | Elevation m | Solar irradiance kWh m 2 | Clear sky irradiance kWh m 2 | Clearness index | Temperature c | Temperature maximum c | Temperature minimum c | Relative humidity (%) | Precipitation (mm) | Wind speed ms | Wind speed 50m ms | Latitude | Longitude | Date |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 98.64 | 6.251 | 8.2267 | 0.55 | 10.06 | 12.59 | 6.76 | 70.56% | 0.11 | 5.59 | 8.07 | 43.65 | -79.38 | Jun 1, 2025 |
| 2 | 98.64 | 8.1293 | 8.2164 | 0.71 | 13.45 | 18.72 | 7.36 | 58.06% | 0 | 4.63 | 6.67 | 43.65 | -79.38 | Jun 2, 2025 |
| 3 | 73.15 | 5.8426 | 8.3179 | 0.52 | 15.45 | 20.16 | 11.2 | 72.53% | 0.05 | 5.73 | 8.1 | 51.51 | -0.13 | Jun 1, 2025 |
Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.
Reliability
Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.
Incidents and repairs
How it is kept working What a repair can't do
A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.
- You pay only for records returned. A run that returns none costs nothing.
- Values are NASA POWER estimates from weather models and satellites for the grid cell around the point (about 50 km for weather, about 100 km for sunlight), not readings from a ground station, so local conditions can differ.
- Weather starts on 1981-01-01 and sunlight on 1984-01-01. Recent days arrive late: weather about 4 days, all-sky sunlight about a week; clear-sky sunlight has gaps in recent months and the clearness index runs about three months behind.
- A day is left out while every measure asked for is still empty; a single empty measure is null. Days are local solar days (NASA's LST standard), not UTC days.
- Units are fixed: sunlight in kWh per square metre per day, temperatures in degrees Celsius, humidity in percent, rain in mm per day (NASA's bias-corrected total) and wind in metres per second.
- Up to 100 places and 20,000 rows per run. Requests are spaced a second apart and each covers up to ten years of one place, so a run takes about a second per place and per ten years.
- Data from NASA Langley Research Center's POWER (Prediction Of Worldwide Energy Resources) project, funded through the NASA Earth Science Division. NASA asks that work using it say so, naming the POWER Daily API version and the date accessed. NASA does not endorse this API.
Version history
A run uses the live version unless the request names another one with version.
Manage this API
Only your workspace sees this part.
Automatic repair
Off: a rebuilt version is stored and waits for you in the version history.
Delete this API
Removes the API, its versions and the saved records of its runs. Calls to its address then answer 404. Records already charged stay charged. This cannot be undone.