INRIX documentation logo

Description

The Occupancy Parking API is used in conjunction with the Off-Street Data or On-Street Data APIs to display or update historical occupancy.

What is the difference between occupancy and probability

Occupancy is a concept of the “fullness” of a lot.

Probability is the likelihood that a single space is available

Where should I use each one?

If supplying the lat and lng, the user must be within two miles of the specified Feature (Lot).

Please define the usage of the occupancy fields.

/occupancy

GET Get occupancy for a specific lot or street face

Responses

200 Occupancy objects returned
{
  "copyright": "Copyright INRIX Inc.",
  "versionNumber": "5.0",
  "createdDate": "2018-10-23T19:18:46.5582393Z",
  "responseId": "51219570-0e56-43b7-9cf0-cd45a9981ea5",
  "result": [
      {
          "available": 8,
          "start": null,
          "bucket": 1,
          "probability": 99,
          "pct": 59
      },
      {
          "available": 8,
          "start": null,
          "bucket": 1,
          "probability": 99,
          "pct": 59
      },
      {
          "available": 8,
          "start": null,
          "bucket": 1,
          "probability": 99,
          "pct": 59
      },
      {
          "available": 8,
          "start": null,
          "bucket": 1,
          "probability": 99,
          "pct": 59
      },
      {
          "available": 8,
          "start": null,
          "bucket": 1,
          "probability": 99,
          "pct": 59
      },
  ]
}
400 Bad request
401 invalid or expired token
404 lot instance not found

POST New occupancy update for a lot