Skip to main content
POST
Reference example

Request contract

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

Cost and request rules

Usage-based pricing. Default request estimate: $0.0004 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
query
string
required

Partial location name to complete.

Minimum string length: 1
Example:

"New York"

country_code
string

Optional country code restricting suggestions, such as US.

Minimum string length: 2
Example:

"US"

include_aliases
boolean
default:false

Whether to include matching alternate location names.

language
string
default:en-us

Language code for localized fields.

Example:

"en-us"

location_type
enum<string>
default:all

Kind of suggestion to return: all locations, cities, or points of interest.

Available options:
all,
city,
point_of_interest

Response

Tool result data

suggestions
object[]