Skip to main content
POST
Reference example

Request contract

  • Method and path: POST /apis/v1/accu-weather/get-location
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/accu-weather/get-location
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
location_key
string
required

AccuWeather location key.

Minimum string length: 1
Example:

"349727"

details
boolean
default:false

Whether to include extended location details.

language
string
default:en-us

Language code for localized fields.

Example:

"en-us"

Response

Tool result data

administrative_area
object
required
country
object
required
geo_position
object
required
key
string
required
localized_name
string
required
rank
integer
required
type
string
required
data_sets
string[]
english_name
string
is_alias
boolean
primary_postal_code
string
region
object
time_zone
object