Best time to ride

GET /v1/rides/{ride}/best-timesanswers “when should I ride this?” for any day in the next 30.

Ask for a day

Pass the ride and, optionally, a park-local date:

curl "https://api.parkypass.com/v1/rides/magic-kingdom_seven-dwarfs-mine-train/best-times"

What comes back

predicted_hours has a predicted wait for each park-local hour, with lower and upper bounds. typical_hours has the usual wait for that weekday. summary picks the best one or two windows and the worst; summary.basis says whether it used predictions (about the next week) or typical waits (further out).

Response
{  "schema_version": 1,  "ride_id": "magic-kingdom_seven-dwarfs-mine-train",  "ride_name": "Seven Dwarfs Mine Train",  "park_id": "disney-walt-disney-world-resort-magic-kingdom-park",  "park_name": "Magic Kingdom Park",  "time_zone": "America/New_York",  "date": "2026-10-06",  "day_of_week": "Tuesday",  "predicted_hours": [    {      "hour": 9,      "local_time": "09:00",      "predicted_wait_minutes": 45,      "lower_bound": 38,      "upper_bound": 52,      "park_closed": false    },    {      "hour": 20,      "local_time": "20:00",      "predicted_wait_minutes": 25,      "lower_bound": 20,      "upper_bound": 31,      "park_closed": false    }  ],  "typical_hours": [    {      "hour": 9,      "local_time": "09:00",      "typical_wait_minutes": 40,      "days_observed": 8    },    {      "hour": 20,      "local_time": "20:00",      "typical_wait_minutes": 28,      "days_observed": 8    }  ],  "summary": {    "basis": "predicted",    "best_windows": [      {        "start": "20:00",        "end": "22:00",        "start_hour": 20,        "end_hour": 22,        "average_wait_minutes": 27.5      }    ],    "worst_window": {      "start": "12:00",      "end": "14:00",      "start_hour": 12,      "end_hour": 14,      "average_wait_minutes": 70    }  },  "prediction_generated_at": "2026-10-05T10:22:35.000Z",  "data_status": "predicted",  "note": "Hours are park-local. Predictions and typical waits are estimates, not guarantees.",  "docs_url": "https://parkypass.com/developers",  "attribution": {    "text": "Live data from parkypass.com",    "url": "https://parkypass.com/parks/magic-kingdom/seven-dwarfs-mine-train",    "required": true  },  "generated_at": "2026-10-05T16:45:02.118Z"}

Show it

JavaScript
const { summary } = data;const best = summary.best_windows.map((w) => `${w.start}–${w.end} (~${Math.round(w.average_wait_minutes)} min)`);console.log("Best:", best.join(", "));            // Best: 20:00–22:00 (~28 min)console.log("Avoid:", summary.worst_window?.start); // Avoid: 12:00

Hours are already in the park’s time zone; show them as they are.