List cached models, runs, params, and forecast hours.
Example
curl https://mesoviewer.com/api/runs
Response shape
{
"data": [
{
"id": "hrrr",
"latest_run": "20260418_09z",
"runs": ["20260418_09z", ...],
"params": ["sbcape", "shr06", "srh01", ...],
"fhrs": ["f000", "f001", ..., "f018"]
},
{ "id": "rap", ... },
{ "id": "gfs", ... },
{ "id": "rrfs", ... }
]
}
Hourly forecast at many lat/lon points in one call (up to 1,000 points per request). The server builds its interpolant once per field and hour, so cost scales with the number of fields and hours; adding more points is nearly free.
Example
curl -X POST https://mesoviewer.com/api/forecast/bulk \
-H "Content-Type: application/json" \
-d '{
"model": "hrrr",
"params": ["mucape", "shr06"],
"hours": ["f003", "f007"],
"points": [
{ "id": "amarillo", "lat": 35.2, "lon": -101.8 },
{ "id": "okc", "lat": 35.5, "lon": -97.5 },
{ "id": "dallas", "lat": 32.8, "lon": -96.8 }
]
}'
Response shape
{
"request": { "model": "hrrr", "run": "20260418_09z",
"params": ["mucape","shr06"], "point_count": 3 },
"run_time": "2026-04-18T09:00:00+00:00",
"data": [
{
"point": { "id": "amarillo", "lat": 35.2, "lon": -101.8 },
"hours": [
{ "fhr": "f003", "lead_hours": 3,
"valid_time": "2026-04-18T12:00:00+00:00",
"mucape": {"value": 0, "unit": "J/kg"},
"shr06": {"value": 53.1, "unit": "kt"} },
{ "fhr": "f007", "lead_hours": 7,
"valid_time": "2026-04-18T16:00:00+00:00",
"mucape": {"value": 0, "unit": "J/kg"},
"shr06": {"value": 54.4, "unit": "kt"} }
]
},
{ "point": {"id":"okc","lat":35.5,"lon":-97.5}, "hours": [...] },
{ "point": {"id":"dallas","lat":32.8,"lon":-96.8}, "hours": [...] }
]
}
Hourly forecast at a single lat/lon for one or more parameters.
Query parameters
| Name | Required | Description |
|---|
lat | yes | Latitude in degrees (-90..90). |
lon | yes | Longitude in degrees (-180..180). |
model | no | Model id (default: hrrr). See /api/runs. |
run | no | Run id (default: the latest cached run for the model). |
params | no | Comma-separated param ids. Default: sbcape,shr06,srh01. |
hours | no | Comma-separated forecast hours (f003,f006) or all. Default: all. |
Example
curl "https://mesoviewer.com/api/forecast?lat=29.0&lon=-101.0&model=hrrr¶ms=mucape,shr06,srh03&hours=f003,f007"
Response shape
{
"request": { "model": "hrrr", "run": "20260418_09z", "lat": 29, "lon": -101,
"params": ["mucape", "shr06", "srh03"] },
"run_time": "2026-04-18T09:00:00+00:00",
"data": [
{
"fhr": "f003",
"lead_hours": 3,
"valid_time": "2026-04-18T12:00:00+00:00",
"mucape": { "value": 1558.74, "unit": "J/kg" },
"shr06": { "value": 49.37, "unit": "kt" },
"srh03": { "value": 138.17, "unit": "m²/s²" }
},
{
"fhr": "f007",
...
}
]
}