AccuWeather Autocomplete API

The Autocomplete API from AccuWeather — 1 operation(s) for autocomplete.

Operations 1

GET /api/autocomplete AccuWeather Retrieves a List of Locations Matching the Specified Query

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/accuweather-autocomplete-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

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 Specification

accuweather-autocomplete-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: AccuWeather One Active Storms Autocomplete API
  description: AccuWeather's internal product API for the One platform.
  version: v1
servers:
- url: https://dataservice.accuweather.com
  description: Base URL reconciled from apis.yml
tags:
- name: Autocomplete
paths:
  /api/autocomplete:
    get:
      tags:
      - Autocomplete
      summary: AccuWeather Retrieves a List of Locations Matching the Specified Query
      parameters:
      - name: Query
        in: query
        description: The partial query to search against. Eg. 'New' to get things like New York or New Market
        required: true
        schema:
          type: string
          example: New
        example: New
      - name: Latitude
        in: query
        description: The latitude where responses will be biased.
        schema:
          type: number
          format: double
        example: 40.7128
      - name: Longitude
        in: query
        description: The longitude where responses will be biased.
        schema:
          type: number
          format: double
        example: -74.006
      - 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: Locations found
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AutocompleteLocation'
              examples:
                _api_autocomplete200Example:
                  summary: Default _api_autocomplete 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
        '400':
          description: Parameters are bad, details in body.
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
components:
  schemas:
    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.
    MeasurementDisplayType:
      enum:
      - Metric
      - Imperial
      - Hybrid
      type: string
    LocationSources:
      enum:
      - AccuWeather
      - Radar
      - Unknown
      type: string
      description: The parent provider of the location.
    WindDirectionDisplayType:
      enum:
      - Cardinal
      - Degrees
      type: string
    ThemeType:
      enum:
      - Light
      - Dark
      - System
      type: string
    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.