Skip to main content
POST
Destination events

Request contract

  • Method and path: POST /apis/v1/spothero-com/parking/destination-events
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/spothero-com/parking/destination-events
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
destination_id
number
required

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.

page
number

page

Provider reference: minimum 1.

page_size
number

page_size

Provider reference: minimum 1; maximum 150.

starts
string

Only events starting at or after this UTC date/time (default now). Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}(T[0-9]{2}:[0-9]{2}(:[0-9]{2})?)?$.

Response

List upcoming events at a destination (spothero.com/api/v1/events/?destination_id=), each with SpotHero's parking window (local time) and the event parking page URL, after resolving the destination (title, time zone). starts bounds the list (default: now, UTC). 25 events per page by default (page_size up to 150); next_page when SpotHero reports more. An unknown destination is not_found; a destination without events returns an empty list.

The response contains the tool result directly.

The provider identifies events 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.