Skip to main content
GET
Get Missed Demand Estimation

Authorizations

Authorization
string
header
required

An API key, sent as Authorization: Bearer <key>. Create one in the SWITCH Copilot under Settings → API keys (needs the API keys permission in your company), or with POST /auth/api-keys. The key is shown once, at creation.

Path Parameters

provider
string
required

Identifier of the mobility provider whose data you analyse, e.g. acme-bikes. It must be the provider of a data source enabled for your company's station-based analytics; any other value is refused with 404 no_data_binding (kind: source). Your SWITCH contact tells you the provider identifiers and locations enabled for your company.

Query Parameters

geolabel
string
required

Location to analyse, e.g. milan: one of the locations (or their geolabels) that your company's station-based analytics are enabled for with this provider. Any other value is refused with 404 no_data_binding (kind: location).

start_date
string<date-time>
required

Start of the analysis period, an ISO 8601 date-time with a time zone, e.g. 2026-10-01T00:00:00Z.

end_date
string<date-time>
required

End of the analysis period, an ISO 8601 date-time with a time zone, e.g. 2026-10-31T23:59:59Z. Must be after start_date, at most 366 days later.

start_hour
integer | null

First hour of the day to include (0-23, local time of the city). Set together with end_hour; both bounds are included.

Required range: 0 <= x <= 23
end_hour
integer | null

Last hour of the day to include (0-23, local time of the city), not before start_hour. Set together with start_hour.

Required range: 0 <= x <= 23

Response

Missed demand data retrieved. Returns hourly demand patterns and station-level missed demand metrics.

Missed demand analysis response with hourly patterns and station metrics.

hourly_missed_demand
HourlyDemandData · object[]
required

Hourly missed demand patterns showing estimated demand during shortage periods by hour of day

Example:
station_missed_demand
StationDemandMetrics · object[]
required

Station-level missed demand metrics showing which stations have the highest estimated missed demand during shortages

Example:
total_missed
number
required

Total estimated missed demand across all stations and time periods

Required range: x >= 0
Examples:

456.7

123.4

789.1

avg_daily_missed
number
required

Average estimated missed demand per day during the analysis period

Required range: x >= 0
Examples:

15.2

8.9

23.6