INRIX IQ logo

Overview

The parking API for off-street parking, showing parking lots and parking structures.

Usage

The v3 lots queries are based on a circle defined by a point (lat, lon) and a radius (meters).

Entry Datetime and Duration

The entrytime and duration parameters not only change the rates but also the occupancy prediction. Selecting an entrytime in the past or more than a few hours in the future is not supported.

Example /lots request

# obtain token from UAS and store in $token variable
# the point is represented as lat|lon

curl "https://api.parkme.com/lots?accesstoken=$token&point=34.017395736527334|-118.49404245615005&radius=75&locale=en-US"

API versions and extensions

When the API changes in a substantial way, we will bump the version number according to ‘semantic versioning’ standards and notify our customers. We expect our client software to be ‘open to extension’, that is, fields can be added to the API output without changing the version number. Client software should ignore any fields that are not described in this documentation or that were not present at the time of their implementation.

/lots/v3

GET List parking lots in a given area

Parameters

  = required
Name Located In Type Description
accesstoken Query String A valid access token provided from the GET appToken API response. Alternatively, the accesstoken can be added to the request header instead of a url parameter using format 'Authorization: Bearer xxxx.xxx.xxxx'.
point Query String Used to select a region based on a point and radius. If used, other Location parameters cannot be used, eg: < lat >|< long >.
radius Query Float Used to select a region based on a point and radius in meters. If 'radius' is used, 'point' must also be used and 'box' / 'geoid' cannot be used."
entry_time Query String yyyy-mm-ddTHH:MM format, add a Z for UTC, otherwise treated locally
duration Query Integer Duration in minutes. Can be pipe delimited for multiple durations, eg: 60|120|720|1400
limit Query Integer Maximum number of elements to return from a large collection (for pagination).
locale Query String The locale as defined by ISO 15897, default: en-US

Responses

200 Lot objects returned
{
  "copyright": "Copyright INRIX Inc.",
  "versionNumber": "5.2",
  "createdDate": "2019-04-10T18:09:34Z",
  "result": [
    {
      "paymentIDs": [
      ],
      "spacesTotal": 97,
      "operator": "ABM",
      "navigationAddress": {
        "street": "123 W 3rd St",
        "city": "Dayton",
        "state": "OH",
        "postal": "45402",
        "country": "US",
        "type": "NAVIGATION"
      },
      "name": "City of Dayton Municipal Parking Garage",
      "pois": [
      ],
      "rateCard": [
        "1 Hour: $2",
        "Each Add'l 30 Min: $1",
        "Daily Max: $8",
        "Evening (In After 5pm): $3",
        "Sat-Sun: $3",
        "Rates Reset At 4am",
        "Event Rates Supersede Other Rates"
      ],
      "type": "Non-restricted",
      "peps": [
        {
          "pepPt": [
            -84.1945320021,
            39.7592129757
          ],
          "pepAz": 1,
          "pepPrimary": null,
          "pepType": "IN"
        }
      ],
      "url": "https://www.parkme.com/lot/92947/city-of-dayton-municipal-parking-garage-dayton-oh",
      "hrs": [
        "Mon-Sun: 12am-11:59pm",
        "No Overnight Parking"
      ],
      "costIndex": 2,
      "occupancy": {
        "probability": 57,
        "pct": 65,
        "rank": 1,
        "bucket": 2,
        "available": null
      },
      "note": "Lost Ticket Pays Max",
      "lotCategory": "Public Parking",
      "reservations": [
      ],
      "id": 92947,
      "currencyIso": "USD",
      "phone": "(937) 225-4572",
      "ev_chargers": [
        {
          "site_code": "cdb05f03-42b0-11e3-8ff9-00259079a43a",
          "names": [
            {
              "name": "Test EV Charger",
              "locale": "en-US"
            }
          ],
          "display_point": {
            "coordinates": {
              "latitude": "48.2137165",
              "longitude": "-1.5050396"
            }
          },
          "ports": [
            {
              "connector_type": "TYPE_3",
              "id": "1",
              "voltage_volt": "400",
              "current_amps": "32",
              "level": "LEVEL 3",
              "power_kw": "22.00"
            }
          ],
          "manufacturer": "Renault",
          "network": "Renault",
          "reservable": "false"
        }
      ],
      "amenities": [
        {
          "id": 2,
          "name": "Max Height",
          "value": 82,
          "metric": 2.0828
        },
        {
          "id": 4,
          "name": "EV Chargers",
          "value": true
        },
        {
          "id": 9,
          "name": "Covered Parking Available",
          "value": true
        },
        {
          "id": 18,
          "name": "Credit Cards Accepted",
          "value": true
        }
      ],
      "format": "Structure",
      "currency": "$",
      "pmtTypes": [
        "Amex",
        "Bills",
        "Coins",
        "Debit card",
        "Discover",
        "MC/Visa"
      ],
      "handicapSpacesTotal": 0,
      "buildingAddress": {
        "street": "123 W 3rd St",
        "city": "Dayton",
        "state": "OH",
        "postal": "45402",
        "country": "US",
        "type": "LEGAL"
      },
      "point": {
        "type": "Point",
        "coordinates": [
          -84.1945268525,
          39.7595346846
        ]
      },
      "polygon": "qntqFxd{`ONxAsB^KmAb@IAKlAU",
      "phones": [
        {
          "type": "Lot",
          "number": "(937) 225-4572"
        },
        {
          "type": "Central Office",
          "number": "(937) 461-2916"
        }
      ],
      "calculatedRates": null,
      "isOpen": null,
      "tz": "EDT"
    }
  ]
}
400 Bad request
401 invalid or expired token
404 lot instance not found