Skip to main content
POST
Cities

Request contract

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

latitude

Provider reference: minimum -90; maximum 90.

limit
number

limit

Provider reference: minimum 1; maximum 50.

longitude
number

longitude

Provider reference: minimum -180; maximum 180.

query
string

query

Response

SpotHero's cities (spothero.com/api/v1/cities/, ~150 in the US and Canada): id, name, slug, coordinates, country code and the city parking page URL. With latitude/longitude the nearest cities are returned first (limit, default 5); without, the full list, optionally filtered by query on the name.

The response contains the tool result directly.

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