Discover/AccuWeather API
live

AccuWeather APIaccuweather.com

Access real-time weather conditions, multi-day forecasts, allergen levels, and severe weather alerts for any city via the AccuWeather API.

Endpoint health
verified 2d ago
get_weather
search_locations
list_cities
3/3 passing latest checkself-healing
Endpoints
3
Updated
26d ago

What is the AccuWeather API?

The AccuWeather API covers 3 endpoints that return current conditions, daily and hourly forecasts, health/allergen data, severe weather alerts, and radar metadata for any city worldwide. The get_weather endpoint resolves a plain city name to a location key and returns a single response with temperature, humidity, wind speed, precipitation probability, and allergen levels — no separate geocoding step required.

Try it
City name to get weather for (e.g., 'Istanbul', 'New York', 'London')
api.parse.bot/scraper/903a2550-8d7e-4c35-91eb-ede1171b74f6/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/903a2550-8d7e-4c35-91eb-ede1171b74f6/get_weather?city=London' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace accuweather-com-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

"""Walkthrough: AccuWeather SDK — bounded, re-runnable; every call capped."""
from parse_apis.accuweather_scraper_api import AccuWeather, LocationNotFound

client = AccuWeather()

# Get full weather for a city — current conditions, forecast, allergens.
weather = client.weathers.get(city="London")
print(f"Location: {weather.location.name}, {weather.location.country}")
print(f"Current: {weather.current_conditions.temperature}°F, {weather.current_conditions.condition}")
print(f"Humidity: {weather.current_conditions.humidity}%")

# Walk the daily forecast (already bounded by the endpoint's single-page response).
for day in weather.forecast.daily[:3]:
    print(f"  {day.date}: {day.condition} (H:{day.high} L:{day.low}, Rain:{day.precipitation_probability}%)")

# Allergen info from the same Weather object.
for allergen in weather.allergens[:3]:
    print(f"  Allergen: {allergen.type} — {allergen.level}")

# Search locations — find cities matching a query.
location = client.locationresults.search(query="Istanbul", limit=1).first()
if location:
    print(f"Found: {location.english_name} (key={location.key}, rank={location.rank})")

# List provinces/states for a country.
for city in client.cities.list(country_code="us", limit=5):
    print(f"  State: {city.name} — {city.url}")

# Typed error handling — catch a not-found city.
try:
    client.weathers.get(city="Xyzzyville999")
except LocationNotFound as exc:
    print(f"Location not found: {exc.city}")

print("exercised: weathers.get / locationresults.search / cities.list / LocationNotFound")
All endpoints · 3 totalmissing one? ·

Get comprehensive weather data for a city including current conditions, daily and hourly forecasts, alerts, allergens, and radar metadata. Resolves city name to a location key internally, then fetches multiple data sources. Returns temperature in Fahrenheit, wind speed in mph.

Input
ParamTypeDescription
cityrequiredstringCity name to get weather for (e.g., 'Istanbul', 'New York', 'London')
Response
{
  "type": "object",
  "fields": {
    "radar": "object with radar_base_url and params for map tile requests",
    "alerts": "array of alert objects or string 'none' if no alerts",
    "forecast": "object with daily (array of date/condition/high/low/precipitation_probability) and hourly (array of time/condition/temperature/precipitation_probability)",
    "location": "object with name, key, country, localized_name, admin_area",
    "allergens": "array of objects with type and level fields",
    "current_conditions": "object with temperature (°F), humidity (%), wind_speed (mph), condition, is_day_time, observation_time"
  },
  "sample": {
    "data": {
      "radar": {
        "params": [
          "zoom",
          "lon",
          "lat",
          "imgwidth",
          "imgheight"
        ],
        "radar_base_url": "https://api.accuweather.com/maps/v1/radar/static/globalSIR/tile"
      },
      "alerts": "none",
      "forecast": {
        "daily": [
          {
            "low": 57,
            "date": "Thu6/11",
            "high": 60,
            "condition": "Rain at times",
            "precipitation_probability": 91
          }
        ],
        "hourly": [
          {
            "time": "6 AM",
            "condition": "Mostly cloudy",
            "temperature": 50,
            "precipitation_probability": 20
          }
        ]
      },
      "location": {
        "key": "328328",
        "name": "London",
        "country": "gb",
        "admin_area": "London",
        "localized_name": "London"
      },
      "allergens": [
        {
          "type": "Tree Pollen",
          "level": "Low"
        }
      ],
      "current_conditions": {
        "humidity": 87,
        "condition": "Mostly cloudy",
        "wind_speed": 7.4,
        "is_day_time": true,
        "temperature": 50,
        "observation_time": "2026-06-11T05:26:00+01:00"
      }
    },
    "status": "success"
  }
}

About the AccuWeather API

What the API Returns

The get_weather endpoint accepts a city string (e.g., 'New York', 'Istanbul') and returns six top-level objects in one call: current_conditions (temperature in °F, humidity %, wind speed in mph, textual condition, is_day_time flag, and observation timestamp), forecast (daily array with date, condition, high/low temps, and precipitation probability; hourly array with time, condition, and temperature), alerts (array of active alert objects or the string 'none'), allergens (array of {type, level} pairs), location (name, country, admin area, and AccuWeather location key), and radar (base URL, API key, and tile params for map rendering).

Location Discovery

search_locations takes a free-text query and returns matching place records including the unique AccuWeather Key field, EnglishName, Type (e.g., 'City'), GeoPosition (latitude, longitude, elevation), Country, AdministrativeArea, and timezone details. This endpoint is useful when you need to resolve an ambiguous city name or retrieve the numeric key for downstream calls.

list_cities accepts an ISO 2-letter country_code (case-insensitive) and returns an array of province-level or major administrative division entries for that country. Each entry includes a name, url (the AccuWeather browse page), and type (always 'Province/City'). This is useful for building country-level location pickers or auditing geographic coverage.

Units and Coverage

Temperature values in current_conditions are returned in degrees Fahrenheit. Wind speed is in mph. There is no request parameter to switch units — callers should convert on the client side if needed. Allergen data and radar metadata are included in the get_weather response without additional parameters; availability may vary by region depending on what AccuWeather publishes for the queried location.

Reliability & maintenanceVerified

The AccuWeather API is a managed, monitored endpoint for accuweather.com — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when accuweather.com changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official accuweather.com API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
2d ago
Latest check
3/3 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Display current temperature, humidity, and wind speed for a user's city in a mobile weather widget.
  • Build a pollen and allergen tracker using the allergens array returned by get_weather.
  • Render a live radar map tile layer using the radar object's base URL and params from get_weather.
  • Trigger push notifications when the alerts array in get_weather contains active severe weather objects.
  • Populate a city autocomplete or search dropdown using search_locations with the returned Key and EnglishName.
  • Generate a country-level location picker by iterating provinces from list_cities with a given ISO country code.
  • Show a 5-day forecast with precipitation probability using the forecast.daily array from get_weather.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does AccuWeather have an official developer API?+
Yes. AccuWeather publishes an official developer API at developer.accuweather.com with tiered plans and documented endpoints. The Parse API surfaces a curated subset of that data through a simplified interface.
What does the `get_weather` endpoint return beyond basic temperature?+
In addition to temperature (°F), humidity, and wind speed, the response includes an allergens array with type and level fields, an alerts array for active severe weather, a forecast object with both daily (high/low, precipitation probability) and hourly (time, condition, temperature) arrays, and a radar object with the tile base URL and API key for rendering map overlays.
Are air quality index (AQI) values available from this API?+
Not currently. The API covers allergen levels, current conditions, and forecasts, but AQI is not a field in any of the three endpoints. You can fork this API on Parse and revise it to add an air quality endpoint if AccuWeather exposes that data for your target locations.
Can I retrieve weather data in metric units (Celsius, km/h)?+
The get_weather endpoint returns temperature in °F and wind speed in mph with no unit parameter. You will need to convert values on the client side. You can fork this API on Parse and revise the endpoint to include a unit conversion layer or map to AccuWeather's metric response variant.
What are the geographic limitations of the `list_cities` endpoint?+
The endpoint returns province-level or major administrative division names for a given ISO 2-letter country code. It does not return individual city records or population data, and coverage depends on what AccuWeather's browse pages index for that country. You can fork this API on Parse and revise it to drill down to city-level listings within a specific province.
Page content last updated . Spec covers 3 endpoints from accuweather.com.
Related APIs in WeatherSee all →
weatherunderground.com API
Get real-time weather data and 10-day forecasts for any location, with access to current conditions like temperature, humidity, and wind speed. Search for locations and receive detailed weather narratives to plan your day or week ahead.
openweathermap.org API
Search for cities and retrieve live weather conditions and forecasts (current, minutely precipitation, hourly and daily) by coordinates or by city name.
wunderground.com API
Access real-time weather conditions, multi-day forecasts, and detailed historical weather data from thousands of personal and airport weather stations worldwide. Search and retrieve current observations, hourly history, and monthly records to power your weather applications and analysis.
weather.com.cn API
Get real-time weather conditions, 7-day to 40-day forecasts, air quality data, and weather alerts for any city in China. Track hourly observations and life indices to plan your activities with complete weather intelligence.
weatherforecast.com API
Get detailed 12-day weather forecasts for any location worldwide, with temperature, wind, rain, humidity, and UV index data updated three times daily. Search locations and retrieve comprehensive weather information suitable for travel planning, research, and general forecasting needs.
bom.gov.au API
Get accurate weather forecasts for Australian cities with temperature, precipitation, UV index, and conditions from the Bureau of Meteorology. Search for any location and retrieve multi-day forecasts to plan your activities with confidence.
weatherspark.com API
Get historical weather data, current METAR reports, and monthly climate summaries for any location by searching WeatherSpark's comprehensive weather database. Access detailed weather insights including temperature trends, precipitation patterns, and atmospheric conditions to power weather-dependent applications and analysis.
meteo.pl API
Get detailed weather forecasts with temperature, pressure, wind, precipitation, and cloud data for any location using multiple weather models (UM, GFS) from Poland's Institute of Meteorology and Water Management. Search locations and access available forecasts to plan ahead with comprehensive meteorological information.