Destination
curl --request POST \
--url https://api.aisa.one/apis/v1/spothero-com/parking/destination \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"destination_id": 2
}
'import requests
url = "https://api.aisa.one/apis/v1/spothero-com/parking/destination"
payload = { "destination_id": 2 }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({destination_id: 2})
};
fetch('https://api.aisa.one/apis/v1/spothero-com/parking/destination', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/spothero-com/parking/destination",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'destination_id' => 2
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/spothero-com/parking/destination"
payload := strings.NewReader("{\n \"destination_id\": 2\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/spothero-com/parking/destination")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"destination_id\": 2\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/spothero-com/parking/destination")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"destination_id\": 2\n}"
response = http.request(request)
puts response.read_body{
"can_have_events": true,
"city": "Chicago",
"city_slug": "chicago",
"destination_id": 2,
"has_upcoming_events": true,
"is_airport": false,
"latitude": 41.881027831537345,
"longitude": -87.67415378888552,
"monthly_enabled": false,
"observed_at_ms": 1790020980107,
"postal_code": "60612",
"price_ranges": {
"airport": null,
"commuter": {
"high": "12.75",
"low": "8.75"
},
"currency": "USD",
"event": {
"high": "40.00",
"low": "37.00"
},
"monthly": null,
"overnight": {
"high": "22.00",
"low": "15.75"
},
"weekend": {
"high": "38.00",
"low": "38.00"
}
},
"relative_url": "united-center-parking",
"search_url": "https://spothero.com/search?kind=destination&id=2",
"source_url": "https://spothero.com/api/v1/destinations/2/?include=can_have_events%2Chas_upcoming_events%2Cdestination%2Cairport%2Cspothero_city_slug",
"state": "IL",
"street_address": "1901 West Madison Street",
"time_zone": "America/Chicago",
"title": "United Center",
"url": "https://spothero.com/destination/chicago/united-center-parking"
}SpotHero parking
Destination
Resolve a destination id to coordinates before search_parking, or show a venue’s typical price ranges.
POST
https://api.aisa.one
/
apis
/
v1
/
spothero-com
/
parking
/
destination
Destination
curl --request POST \
--url https://api.aisa.one/apis/v1/spothero-com/parking/destination \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"destination_id": 2
}
'import requests
url = "https://api.aisa.one/apis/v1/spothero-com/parking/destination"
payload = { "destination_id": 2 }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({destination_id: 2})
};
fetch('https://api.aisa.one/apis/v1/spothero-com/parking/destination', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/spothero-com/parking/destination",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'destination_id' => 2
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/spothero-com/parking/destination"
payload := strings.NewReader("{\n \"destination_id\": 2\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/spothero-com/parking/destination")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"destination_id\": 2\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/spothero-com/parking/destination")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"destination_id\": 2\n}"
response = http.request(request)
puts response.read_body{
"can_have_events": true,
"city": "Chicago",
"city_slug": "chicago",
"destination_id": 2,
"has_upcoming_events": true,
"is_airport": false,
"latitude": 41.881027831537345,
"longitude": -87.67415378888552,
"monthly_enabled": false,
"observed_at_ms": 1790020980107,
"postal_code": "60612",
"price_ranges": {
"airport": null,
"commuter": {
"high": "12.75",
"low": "8.75"
},
"currency": "USD",
"event": {
"high": "40.00",
"low": "37.00"
},
"monthly": null,
"overnight": {
"high": "22.00",
"low": "15.75"
},
"weekend": {
"high": "38.00",
"low": "38.00"
}
},
"relative_url": "united-center-parking",
"search_url": "https://spothero.com/search?kind=destination&id=2",
"source_url": "https://spothero.com/api/v1/destinations/2/?include=can_have_events%2Chas_upcoming_events%2Cdestination%2Cairport%2Cspothero_city_slug",
"state": "IL",
"street_address": "1901 West Madison Street",
"time_zone": "America/Chicago",
"title": "United Center",
"url": "https://spothero.com/destination/chicago/united-center-parking"
}Request contract
- Method and path: POST /apis/v1/spothero-com/parking/destination
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/spothero-com/parking/destination
{
"operationId": "spothero-com.parking.destination",
"method": "POST",
"path": "/apis/v1/spothero-com/parking/destination",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"examples": {
"provider": {
"summary": "Official provider example; checked against AIsa request constraints",
"value": {
"destination_id": 2
}
}
},
"schema": {
"additionalProperties": true,
"properties": {
"destination_id": {
"description": "SpotHero destination id (e.g. 2 United Center, 583 O'Hare); from `destination_id` fields of events, airports or a pasted `/search?kind=destination&id=` URL.\n\nProvider reference: minimum 1.",
"type": "number"
}
},
"required": [
"destination_id"
],
"type": "object"
}
}
},
"required": true
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.Authorizations
Body
application/json
Response
Read a SpotHero destination (venue, airport, neighbourhood) by id: title, address, coordinates, time zone, city slug and page URL (spothero.com/api/v1/destinations/{id}), plus SpotHero's average price ranges by rate category (commuter, overnight, weekend, event, monthly, airport) from api.spothero.com/v2/midfunnel-rates. Price ranges are advertised averages, not quotes for a window. An unknown id is not_found.
The response contains the tool result directly.
| Documented field | Provider type | Description |
|---|---|---|
can_have_events | boolean | |
city | string | |
city_slug | string | |
destination_id | number | |
has_upcoming_events | boolean | |
is_airport | boolean | |
latitude | number | |
longitude | number | |
monthly_enabled | boolean | |
observed_at_ms | number | |
postal_code | string | |
price_ranges | object | null when SpotHero has no average rates for this destination. |
relative_url | string | |
search_url | string | spothero.com search page anchored on this destination. |
source_url | string | |
state | string | |
street_address | string | |
time_zone | string | |
title | string | |
url | string | spothero.com destination page when both slugs are known. |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.