Skip to main content
POST
Reference example

Request contract

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

Latitude followed by longitude in decimal degrees, separated by a comma. Latitude must be -90 to 90 and longitude -180 to 180.

Pattern: ^\s*[+-]?(?:\d+(?:\.\d*)?|\.\d+)\s*,\s*[+-]?(?:\d+(?:\.\d*)?|\.\d+)\s*$
Example:

"40.779,-73.969"

details
boolean
default:false

Whether to include extended location details.

language
string
default:en-us

Language code for localized fields.

Minimum string length: 1
Example:

"en-us"

location_type
enum<string>
default:location

Kind of nearby location to return.

Available options:
location,
city,
point_of_interest
top_level
boolean
default:false

Whether to prefer the highest-ranked broader location instead of a neighborhood-level match.

Response

Tool result data

locations
object[]