AccuWeather Favorite API
The Favorite API from AccuWeather — 1 operation(s) for favorite.
The Favorite API from AccuWeather — 1 operation(s) for favorite.
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-favorite-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 Favorite API
description: AccuWeather's internal product API for the One platform.
version: v1
tags:
- name: Favorite
paths:
/api/favorite:
get:
tags:
- Favorite
summary: AccuWeather Resolves and Updates the Favorite Location Cookie
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
- name: Locale
in: query
description: ISO 639-2 and ISO 3166-1 code for the locale
schema:
type: string
example: en-us
example: en-us
- name: MeasurementDisplay
in: query
description: Display type for weather conditions and distance
schema:
$ref: '#/components/schemas/MeasurementDisplayType'
example: Imperial
- name: WindUnit
in: query
description: Additional display type for wind direction
schema:
$ref: '#/components/schemas/WindDirectionDisplayType'
example: Cardinal
- name: Theme
in: query
description: Theme for the application
schema:
$ref: '#/components/schemas/ThemeType'
example: System
responses:
'200':
description: resolved location
content:
application/json:
schema:
$ref: '#/components/schemas/FavoriteLocation'
examples:
_api_favorite200Example:
summary: Default _api_favorite 200 response
x-microcks-default: true
value:
id: '500123'
key: '347628'
name: New York
longName: New York
displayName: New York
displayTemperature: example-value
displayHighTemperature: example-value
displayLowTemperature: example-value
displayRealFeel: example-value
displayRealFeelShade: example-value
icon: 6
conditions: example-value
localTime: example-value
color: example-value
isBefore7PM: true
isDayTime: true
minuteCastForecast:
summary60: example-value
minutes:
- displayTime: null
minute: null
color: null
dbz: null
precipitationType: null
numberOfAlerts: 1
latitude: 40.7128
longitude: -74.006
'400':
description: Query parameter was missing or empty
x-microcks-operation:
delay: 0
dispatcher: FALLBACK
operationId: getApiFavorite
x-operation-id-source: derived
components:
schemas:
MeasurementDisplayType:
enum:
- Metric
- Imperial
- Hybrid
type: string
ThemeType:
enum:
- Light
- Dark
- System
type: string
WindDirectionDisplayType:
enum:
- Cardinal
- Degrees
type: string
MinuteCastForecast:
type: object
properties:
summary60:
type:
- string
- 'null'
minutes:
type:
- array
- 'null'
items:
$ref: '#/components/schemas/MinuteCastMinute'
additionalProperties: false
FavoriteLocation:
type: object
properties:
id:
type:
- string
- 'null'
key:
type:
- string
- 'null'
name:
type:
- string
- 'null'
longName:
type:
- string
- 'null'
displayName:
type:
- string
- 'null'
displayTemperature:
type:
- string
- 'null'
displayHighTemperature:
type:
- string
- 'null'
displayLowTemperature:
type:
- string
- 'null'
displayRealFeel:
type:
- string
- 'null'
displayRealFeelShade:
type:
- string
- 'null'
icon:
type: integer
format: int32
conditions:
type:
- string
- 'null'
localTime:
type:
- string
- 'null'
color:
type:
- string
- 'null'
isBefore7PM:
type: boolean
isDayTime:
type: boolean
minuteCastForecast:
$ref: '#/components/schemas/MinuteCastForecast'
numberOfAlerts:
type:
- integer
- 'null'
format: int32
latitude:
type:
- number
- 'null'
format: double
longitude:
type:
- number
- 'null'
format: double
additionalProperties: false
MinuteCastMinute:
type: object
properties:
displayTime:
type:
- string
- 'null'
minute:
type: integer
format: int32
color:
type:
- string
- 'null'
dbz:
type:
- number
- 'null'
format: float
precipitationType:
type:
- string
- 'null'
additionalProperties: false