Skip to main content
POST
List Top Cities

Request contract

  • Method and path: POST /apis/v1/accu-weather/list-top-cities
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/accu-weather/list-top-cities
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
count
enum<integer>

Number of cities to return. Valid only for global rankings; defaults to 50.

Available options:
50,
100,
150
Examples:

50

100

150

details
boolean
default:false

Whether to include extended location details.

language
string

Language code for global rankings; defaults to en-us and must be omitted for regional rankings.

Minimum string length: 1
Example:

"en-us"

language_id
integer

Numeric AccuWeather language ID for regional rankings; defaults to 1 and must be omitted for global rankings.

Required range: x >= 1
Example:

1

ranking_scope
enum<string>
default:global

Rank cities globally or within one AccuWeather region.

Available options:
global,
region
region_code
string

AccuWeather region code. Required only when ranking_scope is region.

Minimum string length: 1
Example:

"NAM"

Response

Tool result data

cities
object[]