docsraw-datahourly-comparison

Hourly Comparison

GET/api/v1/data/hourly-comparison

Hourly forecast vs observation pairs for a station over a recent window. Each record includes forecast and observed values per hour. Use for intraday analysis and hourly model validation.

Parameters

NameTypeRequiredDescription
station_idstringrequiredICAO station identifier (or use city)
citystringoptionalCity name (resolves to station)
daysintegeroptionalRolling window (max 30) Default: 7
lookback_hoursintegeroptionalHours before reference (0–72) Default: 0

Response Fields

FieldTypeDescription
dataarrayHourly records (forecast_f, observed_f, timestamps)
metadata.total_recordsintegerNumber of hourly records
metadata.station_idstringStation identifier
metadata.forecast_coverage_pctfloatPercentage of hours with forecast data
cURL
curl -s -H "Authorization: Bearer $API_KEY" "https://api.deltadaemon.com/api/v1/data/hourly-comparison?station_id=KBOS&days=7"
JSON
{
"success": true,
"data": [],
"metadata": {
"generated_at": "2026-02-22T08:00:00Z",
"total_records": 0,
"station_id": "KBOS",
"lookback_hours": 0,
"forecast_coverage_pct": 0
}
}