Urban Sharing - Predictions API (1.0.0)

Download OpenAPI specification:

Release History

DateVersionNotes
Fri Nov 14 20251.0.0Initial release of Predictions API

Predictions v0

List systems

List systems

Responses

Response samples

Content type
application/json
{
  • "data": [
    ]
}

Get stations

List system's stations

path Parameters
systemId
required
string

Responses

Response samples

Content type
application/json
{
  • "data": [
    ]
}

Get station statuses

List system's stations statuses

path Parameters
systemId
required
string

Responses

Response samples

Content type
application/json
{
  • "data": [
    ]
}

Get occupation predictions

Predicts occupancy for the selected station attribute at the given timestamps

path Parameters
systemId
required
string
query Parameters
timestamps
Array of strings

Example: timestamps[]=2023-01-01T00:00:00Z&timestamps[]=in-60-minutes

Timestamps to predict for

category
required
string
Enum: "AVAILABLE_BIKES" "AVAILABLE_MECHANICAL_BIKES" "AVAILABLE_ELECTRIC_BIKES" "AVAILABLE_DOCKS"
Example: category=AVAILABLE_BIKES

The category of prediction

Responses

Response samples

Content type
application/json
{
  • "data": [
    ]
}

Get probability predictions

Predicts occupancy for the selected station attribute at the given timestamps

path Parameters
systemId
required
string
query Parameters
timestamps
Array of strings

Example: timestamps[]=2023-01-01T00:00:00Z&timestamps[]=in-60-minutes

Timestamps to predict for

category
required
string
Enum: "AVAILABLE_BIKES" "AVAILABLE_MECHANICAL_BIKES" "AVAILABLE_ELECTRIC_BIKES" "AVAILABLE_DOCKS"
Example: category=AVAILABLE_BIKES

The category of prediction

Responses

Response samples

Content type
application/json
{
  • "data": [
    ]
}