AccuWeather Resolve Location API
The Resolve Location API from AccuWeather — 1 operation(s) for resolve location.
The Resolve Location API from AccuWeather — 1 operation(s) for resolve location.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/accuweather-resolve-location-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: AccuWeather One Resolve Location API
description: AccuWeather's internal product API for the One platform.
version: v1
tags:
- name: Resolve Location
paths:
/api/resolve-location:
get:
tags:
- Resolve Location
summary: AccuWeather Takes in a Location as a Query Parameter
parameters:
- name: LocationType
in: query
description: The type of location to resolve. Eg. address, postalCode, place, locality
schema:
type: string
example: city
example: city
- name: PostalCode
in: query
description: The postal code of the location to resolve.
schema:
type: string
example: SW1A 1AA
example: SW1A 1AA
- name: City
in: query
description: The city of the location to resolve.
schema:
type: string
example: London
example: London
- name: AdminCode
in: query
description: The admin code for the location.
schema:
type: string
example: PA
example: PA
- name: CountryCode
in: query
description: The country code for the location.
schema:
type: string
example: US
example: US
- name: Position
in: query
description: Comma separated position of the location to resolve. Longitude, Latitude.
schema:
type: string
example: 51.500321,-0.145433
example: 51.500321,-0.145433
- name: Name
in: query
description: Simple name for a location, such as the name of a city
schema:
type: string
example: State Collage
example: State Collage
- name: LongName
in: query
description: Full name for a location, such as the name of an Admin or address
schema:
type: string
example: 385 Science Park Rd, State College, PA
example: 385 Science Park Rd, State College, PA
- name: LocationKey
in: query
description: AccuWeather Location key
schema:
type: string
example: '335315'
example: '335315'
- name: IsCurrent
in: query
description: if 'use current location' was selected
schema:
type: boolean
example: true
example: true
- name: RecentId
in: query
description: recent location's guid
schema:
type: string
example: tru4fa4496d-fca1-4c30-8784-fb612a45ee52e
example: tru4fa4496d-fca1-4c30-8784-fb612a45ee52e
- name: FavoriteId
in: query
description: favorite location's guid (Used for Edit)
schema:
type: string
example: tru4fa4496d-fca1-4c30-8784-fb612a45ee52e
example: tru4fa4496d-fca1-4c30-8784-fb612a45ee52e
- name: Language
in: query
description: Language for the query to use for the response.
schema:
type: string
example: en-us
example: en-us
responses:
'200':
description: Location resolved
content:
application/json:
schema:
$ref: '#/components/schemas/AutocompleteLocation'
examples:
_api_resolve-location200Example:
summary: Default _api_resolve-location 200 response
x-microcks-default: true
value:
locationType: address
city: London
adminCode: PA
countryCode: US
postalCode: example-value
position:
- 51.50032
- -0.145433
name: Buckingham Palace
longName: Buckingham Palace, Westminster, London, Greater London GBR
locationSettingsInfo:
id: 50603e3f-5433-4d14-9b5f-01c8cf619d9b
locationKey: '328328'
name: State Collage
longName: 385 Science Park Rd, State College, PA
displayName: 385 Science Park Rd, State College, PA or Eureka, CA USA
stationCode: EGRB
supportedDataSets:
- AirQualityCurrentConditions
- AirQualityForecasts
- Alerts
- DailyAirQualityForecast
- DailyPollenForecast
- ForecastConfidence
- FutureRadar
- MinuteCast
- ProximityNotification-Lightning
- Radar
supportsMinuteCast: true
latitude: 40.7128
longitude: -74.006
supportsEventConfidence: true
source: AccuWeather
'404':
description: Location was unable to be resolved
x-microcks-operation:
delay: 0
dispatcher: FALLBACK
operationId: getApiResolveLocation
x-operation-id-source: derived
components:
schemas:
AutocompleteLocation:
type: object
properties:
locationType:
type:
- string
- 'null'
description: Type of location, eg. address or postalcode
example: address
city:
type:
- string
- 'null'
description: City name of the location, usually used for display purposes when sourcing weather data.
example: London
adminCode:
type:
- string
- 'null'
description: The admin code for the location.
example: PA
countryCode:
type:
- string
- 'null'
description: County code for the location.
example: US
postalCode:
type:
- string
- 'null'
description: Postal Code of the location, usually used for display purposes when sourcing weather data.
position:
type:
- array
- 'null'
items:
type: number
format: double
description: City name of the location, usually used for display purposes when sourcing weather data.
example:
- 51.50032
- -0.145433
name:
type:
- string
- 'null'
description: Editable name of the location to display to the user.
example: Buckingham Palace
longName:
type:
- string
- 'null'
description: Longer name of the location to display to the user, typically the full address.
example: Buckingham Palace, Westminster, London, Greater London GBR
locationSettingsInfo:
$ref: '#/components/schemas/LocationSettingsInfo'
source:
$ref: '#/components/schemas/LocationSources'
additionalProperties: false
description: A location that can be used to plot on a map.
LocationSettingsInfo:
type: object
properties:
id:
type:
- string
- 'null'
description: Unique Id created for favorite and recent locations
example: 50603e3f-5433-4d14-9b5f-01c8cf619d9b
locationKey:
type:
- string
- 'null'
description: AccuWeather Surefind location key for this location.
example: '328328'
name:
type:
- string
- 'null'
description: Simple name for a location, such as the name of a city
example: State Collage
longName:
type:
- string
- 'null'
description: Full name for a location, such as the name of an Admin or address
example: 385 Science Park Rd, State College, PA
displayName:
type:
- string
- 'null'
description: 'Name used to display to the user as the placeholder
This differece from the LongName since will be sometimes display location name from
the AW API (Non-english/direct location key serach)'
example: 385 Science Park Rd, State College, PA or Eureka, CA USA
stationCode:
type:
- string
- 'null'
description: AccuWeather station code for this location.
example: EGRB
supportedDataSets:
type:
- array
- 'null'
items:
type: string
description: AccuWeather list of supported data sets for this location.
example:
- AirQualityCurrentConditions
- AirQualityForecasts
- Alerts
- DailyAirQualityForecast
- DailyPollenForecast
- ForecastConfidence
- FutureRadar
- MinuteCast
- ProximityNotification-Lightning
- Radar
supportsMinuteCast:
type:
- boolean
- 'null'
description: True if a location supports MinuteCast data.
readOnly: true
example: true
latitude:
type:
- number
- 'null'
description: Latitude for a location
format: double
longitude:
type:
- number
- 'null'
description: Longitude for a location
format: double
supportsEventConfidence:
type:
- boolean
- 'null'
description: True if a location supports probabilities on weather events.
readOnly: true
example: true
additionalProperties: false
description: Detailed keys for the location from AccuWeather to aid in weather data retrieval.
LocationSources:
enum:
- AccuWeather
- Radar
- Unknown
type: string
description: The parent provider of the location.