Get Parkings by provider
GET/providers/:provider
returns all the parkings of the indicated provider
This API requires authentication.
Request
Path Parameters
Return only parkings used by a particular provider (ie parkia
, elparking
, etc)
Query Parameters
Return only parkings with automated entrance and billing (defaults to null
)
Return only parkings that are available for online booking (defaults to null
)
Default value: 100
Number of records to return (defaults to 100
, 0
for everything)
Number of records to skip/offset (for pagination, defaults to 0
)
Header Parameters
Authentication header obtained from POST /authenticate
that identifies the user making this call.
Authentication header obtained from LMP Team that identifies the client making this call.
Authentication header obtained from LMP Team that identifies the user making this call.
Responses
- 200
- 400
OK
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- ]
- Array [
- ]
- Array [
- Array [
- ]
- ]
- Array [
- ]
- Array [
- ]
- ]
A unique identifier for this parking (in pluscode format)
The name of the parking
The address of the parking
The 2-letter country code where parking is located
The region where parking is located
Possible values: >= -90
and <= 90
The geo latitude of the parking
Possible values: >= -180
and <= 180
The geo longitude of the parking
The distance from search coordinates (in metres, only if lat/long is provided)
If this parking offers automated entries
If this parking can be booked via an API call
If available, BEST OFFER for FIRST HOUR stay in this parking (including 10% LMP commission)
If this parking is open 24 hours
Parking schedule in one sentence
Parking capacity
Phone number of the parking
Email of the parking
Country where the parking is located
services object[]
List of services available in this parking
Possible values: [open_24h
, elevator
, video_surveillance
, mobility_reduced
, mobile_coverage
, toilets
, amazon_lockers
, electric_recharge
, car_sharing
, car_rental
, key_delivery
, cash_payment
, card_payment
, atm
, contactLess
, motorcycle
, first_aid
, covered_parking
, car_wash
, taxi
, family_car
, city_car
, battery_recharge
, vending_machine
, carsharing
, security
, repair shop
, connection_public_transport
, bicycles
, locker
]
Name of the service
entrances object[]
List of parking entrances
Geographical latitude of the entry
Geographic longitude of the entry in degrees East
Address of the entrance
List of parking images
offers object[]required
A list of offers available for this parking
The identifier for this offer
True if this offer can be booked
True if offer supports automated entry and billing
If available, cost for FIRST HOUR stay in this parking (including 10% LMP commission)
Url with the parking details from the provider of the offer
rates object[]
List with different prices according to the time of reservation ordered from lowest to highest price
Magnitude of the time unit
The unit of time. It can be day or hour
Amount corresponding to the offer time (including 10% LMP commission)
Price currency
Formatted time and time unit
schedule_formatted object[]
A list of formatted open hours if is not 24 hours
Day of the week
Open hour in format HH:mm
Close hour in format HH:mm
If has part time schedules second open hour
If has part time schedules second close hour
True if is open 24 hours this particular day
True if has part time schedules
points_of_interest object[]
A list with the points of interest near the parking
Name of the point of interest
Distance from the parking to the point of interest
Distance from the parking to the point of interest formatted
[
{
"id": "8CGRC8MF+C93",
"name": "Parking Biblioteca Nacional",
"address": "Paseo de Recoletos, 20-22, 28001 Madrid",
"country": "ES",
"region": "Madrid",
"lat": 40.4235049,
"long": -3.6894324,
"distance": 267,
"automated": false,
"bookable": false,
"best_offer": 2.65,
"is_open_24h": true,
"schedules": "Open every day of the week 24h",
"capacity": 389,
"phone": "123456789",
"email": "sample@test.com",
"country_long": "Spain",
"services": [
{
"name": "open_24h"
}
],
"entrances": [
{
"latitude": 40.424317401479,
"longitude": -3.7031734820007,
"address": "Paseo de Recoletos, 20-22, 28001 Madrid"
}
],
"images": [
"https://cdn.letmepark.app/parkings/images/361a556989b17f0df01f3f43-e9a778a8e3c6e914161bb05b22a78b20.jpeg"
],
"offers": [
{
"lmppid": "parkweb-17891",
"bookable": true,
"automated": true,
"first_hour": 2.65,
"booking_url": "parking.com",
"rates": [
{
"time": 1,
"unit": "hour",
"price": 2.65,
"currency": "EUR",
"friendly_name": "1 hour"
}
]
}
],
"schedule_formatted": [
{
"day": "Monday",
"open": "00:00",
"close": "20:00",
"openPartTime": "21:00",
"closePartTime": "23:59",
"is_open_24h": false,
"has_partTime_schedule": true
}
],
"points_of_interest": [
{
"name": "Puerta de Alcalá",
"distance_mts": "650",
"friendly_distance": "650 meters"
}
]
}
]
Bad request (ie. Missing or invalid lat/long coordinates)