docsadvancederror-distribution
Error Distribution
GET
/api/v1/accuracy/error-distributionHistogram of absolute error in 1°F buckets (0-1, 1-2, 2-3, 3-4, 4-5, 5+). Shows how errors are distributed — e.g. '28% of KLAX forecasts miss by less than 1°F'.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
station_id | string | required | ICAO station identifier |
days | integer | optional | Rolling window Default: 90 |
metric | string | optional | high (default) or low — daily high vs daily low verification Default: high |
Response Fields
| Field | Type | Description |
|---|---|---|
buckets | array | Array of { range, count, pct } |
verification_pairs | integer | Total pairs |
cURL
curl -s -H "Authorization: Bearer $API_KEY" "https://api.deltadaemon.com/api/v1/accuracy/error-distribution?station_id=KLAX&days=90"
JSON
{"success": true,"data": {"station_id": "KLAX","city_name": "Los Angeles","buckets": [{"range": "0-1°F", "count": 24, "pct": 28.2},{"range": "1-2°F", "count": 18, "pct": 21.2},{"range": "2-3°F", "count": 15, "pct": 17.6},{"range": "3-4°F", "count": 12, "pct": 14.1},{"range": "4-5°F", "count": 8, "pct": 9.4},{"range": "5+°F", "count": 8, "pct": 9.4}],"verification_pairs": 85,"unique_days": 30},"metadata": {"generated_at": "2026-03-01T12:00:00Z","days_analyzed": 90,"station_id": "KLAX","query_time_ms": 4}}