Skip to main content
Retrieve real-time predictive analytics about ride demand, estimated pickup times, surge pricing signals, and driver supply needs. This endpoint is useful for building dispatcher dashboards, driver incentive screens, or demand-aware rider UX. Authentication required — include Authorization: Bearer <token> in the request header.

Request

GET /rides/insights/predictive No parameters.

Response

string
The model version used to generate these insights (e.g. demand-heuristics-v1).
string
ISO 8601 timestamp of when the insights were generated.
string
Confidence level of the forecast based on historical data volume. One of LOW, MEDIUM, or HIGH.
integer
Number of historical ride records used to generate the forecast.
object
Demand forecast for the next two hours.
object
Surge pricing recommendation based on current demand-supply balance.
object
Estimated pickup time guidance for riders booking now.
object
Analysis of active driver supply versus forecasted demand.

Example

Confidence level reflects the size of your historical ride data. New deployments with fewer than 20 historical rides will show LOW confidence. Accuracy improves as more rides are recorded.