Skip to main content
POST
Search parking

Request contract

  • Method and path: POST /apis/v1/spothero-com/parking/search-parking
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/spothero-com/parking/search-parking
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

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

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
cursor
string

next_cursor from a previous page of this function. When given, the other search inputs must be omitted.

destination_id
number

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.

Provider reference: minimum 1.

ends
string

Local wall-clock time at the parking location, YYYY-MM-DDTHH:mm or YYYY-MM-DDTHH:mm:ss, no offset (SpotHero interprets it in the facility's time zone). Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}(:[0-9]{2})?$.

latitude
number

latitude

Provider reference: minimum -90; maximum 90.

longitude
number

longitude

Provider reference: minimum -180; maximum 180.

max_distance_meters
number

Search radius; SpotHero's default is used when omitted.

Provider reference: minimum 100; maximum 20000.

oversize
boolean

Search for an oversize vehicle (default false).

page_size
number

Results per page (default 10, at most 25).

Provider reference: minimum 1; maximum 25.

show_unavailable
boolean

Include facilities that cannot be booked for the window, with their unavailable_reasons (default false).

starts
string

Local wall-clock time at the parking location, YYYY-MM-DDTHH:mm or YYYY-MM-DDTHH:mm:ss, no offset (SpotHero interprets it in the facility's time zone). Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}(:[0-9]{2})?$.

Response

Search hourly/daily (transient) parking around a coordinate for an arrival/departure window (api.spothero.com/v2/search/transient, the request behind spothero.com/search). Each result is a facility with its address, distance from the origin, rating, live availability, access hours, restrictions, vehicle limits and one or more priced quotes for the window: total_price (what SpotHero charges, service fee included) and advertised_price (the headline rate without the fee), itemised. Event rates can widen the priced window; read each quote's starts/ends. Pass a SpotHero destination_id to anchor the search on a venue (its coordinates from destination) and to get spot_url links. Pages via cursor/next_cursor. Prices are USD in the US and CAD in Canada, taxes not itemised.

The response contains the tool result directly.

The provider identifies results as the primary payload key.

These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.