Spots API
Returns information on AirGarage spots.
Get nearby spots
GET
https://api.airgarage.com/spots
Get spots in a nearby region
Path Parameters
page
number
lon
number
lat
number
{
"name": "Church of All Saints",
"uuid": "dB2YV5Ngco4f7uKjdnGqgQ",
"address": {
"address_line1": "20 E Orange Dr",
"address_line2": "",
"city": "Phoenix",
"state": "CA",
"zipcode": "85012",
"country": "US",
"latitude": "33.512249",
"longitude": "-112.072150",
"distance_to_asu": 20.1
},
"flat_rate_event": null,
"price_hourly": 250,
"price_daily": 800,
"price_monthly": 5000,
"active": true,
"quantity": 50,
"quantity_monthly": 10,
"photo_url": null,
"daily_max": 1000,
"daily_min": null,
"minimum_booking_length": 5,
"streetview_url": null,
"spaces_available": [],
"available": 50,
"active_rentals": 0,
"monthly_rentals": 2,
"closure_today": null,
"closure_soon": null,
"dynamic_price": 250,
"dynamic_max": 1000,
"display_price": "$2.50",
"display_price_daily": "$8.00",
"display_daily_max": "$10.00",
"display_price_monthly": "$50.00",
"payment_phone": "5005550006",
"visitor_registration_phone": "9005550099",
"spaceforce_multiplier": 1,
"organization": 6,
"period_length": "hour",
"pk": 10,
"timezone": "America/Phoenix",
"has_cameras": false,
"tax_percent": 0,
"spothero_facility_id": 18146
}
When doing a GET request, our spots API returns 10 spots at a time. To see more spots, you can specify varying page numbers.
Example: https://api.airgarage.com/spots?page=2
Querying spots will return a count, previous and next page links, and the results that contain information about 10 spots.
{
"count": 1,
"next": "http://0.0.0.0:8000/api/spots/?page=3",
"previous": "http://0.0.0.0:8000/api/spots/?page=1",
"results": [
{
"name": "Church of All Saints",
"uuid": "dB2YV5Ngco4f7uKjdnGqgQ",
}
]
}
Get spot detail
GET
https://api.airgarage.com/spots/spots/[UUID]
Get info about a specific spot, including pricing, quantity available, allowed rental types, and address
Path Parameters
UUID
string
Spot identifier, example: dKnRSb4GvBDRwiY6osXa8Y
When doing a GET request with a specific uuid, the spots API returns the corresponding spot details.
Example: https://api.airgarage.com/spots/dB2YV5Ngco4f7uKjdnGqgQ
{
"name": "Church of All Saints",
"uuid": "dB2YV5Ngco4f7uKjdnGqgQ",
...
}
Last updated
Was this helpful?