docsraw-datahourly-comparison
Hourly Comparison
GET
/api/v1/data/hourly-comparisonHourly 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
| Name | Type | Required | Description |
|---|---|---|---|
station_id | string | required | ICAO station identifier (or use city) |
city | string | optional | City name (resolves to station) |
days | integer | optional | Rolling window (max 30) Default: 7 |
lookback_hours | integer | optional | Hours before reference (0–72) Default: 0 |
Response Fields
| Field | Type | Description |
|---|---|---|
data | array | Hourly records (forecast_f, observed_f, timestamps) |
metadata.total_records | integer | Number of hourly records |
metadata.station_id | string | Station identifier |
metadata.forecast_coverage_pct | float | Percentage 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}}