Skip to main content
POST
Search City by IP Address

Request contract

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

IPv4 or IPv6 address to resolve to the nearest AccuWeather city.

Examples:

"38.103.173.150"

"2001:4860:4860::8888"

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"

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