Vehicle
Look up vehicles available for rental — by zone, by 4-letter code, or by id.
The vehicle model
Vehicle endpoints respond with the model below (wrapped in a data array).
{
"data": [
{
"type": "vehicle",
"vehicle_type": "scooter",
"id": "12345678-1337-abcd-1234-1234abcd0001",
"attributes": {
"batteryLevel": 95,
"location": { "latitude": 47.213553, "longitude": 17.382606 },
"code": "L33T",
"zoneId": "145",
"locked": true,
"status": "ready",
"maxRangeMeters": 80000
},
"price": { "currency": "EUR", "pricePerMinute": 15, "startPrice": 100, "vat": 0.25 }
}
]
}
| Field | Type | Description |
|---|---|---|
id | string | The vehicle's id (UUID v4). |
type | string | Always vehicle. |
vehicle_type | string | scooter or bicycle. |
batteryLevel | integer | State of charge, in percent (0–100). |
location | object | The vehicle's latitude/longitude. |
code | string | The 4-letter alphanumeric code, shown on the vehicle and as a QR code. |
zoneId | string | The zone the vehicle operates in. |
locked | boolean | Lock status of the vehicle. |
status | string | Availability: ready, riding, booked or unavailable. |
maxRangeMeters | integer | Maximum range, in meters, for this vehicle type. |
price | object | The vehicle's price — see below. |
Price — pricePerMinute and startPrice are incl. VAT and in minor units; vat is the VAT percentage; currency is the ISO 4217 code.
Get vehicle by code
Returns a vehicle by its 4-character code. The code is printed on the vehicle's handlebars in plain text and as a QR code (URI format `https://open.voi.com/scan/{code}`).
Get vehicle by ID
Returns a vehicle by its id (UUID v4).
Get vehicles by zone
Returns the vehicles available for rental in a zone. Only vehicles currently available for rental are included. We recommend refreshing the list every 7 seconds. There is no technical limit on the number of vehicles in a zone.