# AccuWeather API

> AccuWeather returns current conditions and daily forecasts, available as a workflow and API.

AccuWeather’s Get current weather method returns current conditions, RealFeel, and related measurements for a required city or postal code. Get daily forecast returns available daily weather forecasts for a required city or postal code, with optional days and measurement units.

- Page: https://fous.com/workflows/accuweather
- Handle: `@accuweather`
- Category: [Weather](https://fous.com/workflows/category/weather)
- Source website: https://accuweather.com
- Last verified: Sep 29, 2026
- Fous is not affiliated with AccuWeather.

## Methods

### Get current weather

Operation `get_current_weather`, version 1. 1 credit per call.

Get current conditions and RealFeel for a city or postal code on AccuWeather. UV level follows standard UV-index ranges; air quality is null unless shown with current conditions.

**Input**

| Field | Type | Required | Example | Description |
|---|---|---|---|---|
| `units` | string | no | `"metric"` | Measurement system, for example metric; defaults to imperial. |
| `location` | string | yes | `"Boston"` | City, ZIP code, or postcode, for example Boston or 10001. |

**Input schema**

```json
{
  "type": "object",
  "required": [
    "location"
  ],
  "properties": {
    "units": {
      "enum": [
        "imperial",
        "metric"
      ],
      "type": "string",
      "default": "imperial",
      "description": "Measurement system, for example metric; defaults to imperial.",
      "examples": [
        "metric"
      ]
    },
    "location": {
      "type": "string",
      "description": "City, ZIP code, or postcode, for example Boston or 10001.",
      "examples": [
        "Boston",
        "10001"
      ]
    }
  },
  "additionalProperties": false,
  "examples": [
    {
      "location": "Boston"
    },
    {
      "units": "metric",
      "location": "10001"
    }
  ]
}
```

**Output**

| Field | Type | Example | Description |
|---|---|---|---|
| `humidity` | object |  |  |
| `humidity.unit` | string | `"%"` |  |
| `humidity.value` | number or null | `93` |  |
| `pressure` | object |  |  |
| `pressure.unit` | string | `"inHg"` |  |
| `pressure.value` | number or null | `29.85` |  |
| `uv_index` | object |  |  |
| `uv_index.level` | string or null | `"Low"` |  |
| `uv_index.value` | number or null | `0` |  |
| `dew_point` | object |  |  |
| `dew_point.unit` | string | `"°F"` |  |
| `dew_point.value` | number or null | `55` |  |
| `conditions` | string or null | `"Drizzle"` |  |
| `visibility` | object |  |  |
| `visibility.unit` | string | `"mi"` |  |
| `visibility.value` | number or null | `10` |  |
| `wind_gusts` | object |  |  |
| `wind_gusts.unit` | string | `"mph"` |  |
| `wind_gusts.value` | number or null | `12` |  |
| `wind_speed` | object |  |  |
| `wind_speed.unit` | string | `"mph"` |  |
| `wind_speed.value` | number or null | `12` |  |
| `air_quality` | string or null |  | Description when displayed on the current-weather page. |
| `cloud_cover` | object |  |  |
| `cloud_cover.unit` | string | `"%"` |  |
| `cloud_cover.value` | number or null | `100` |  |
| `temperature` | object |  |  |
| `temperature.unit` | string | `"°F"` |  |
| `temperature.value` | number or null | `57` |  |
| `matched_place` | string | `"Boston, MA US"` | Place matched by AccuWeather. |
| `realfeel_shade` | object |  |  |
| `realfeel_shade.unit` | string | `"°F"` |  |
| `realfeel_shade.value` | number or null | `51` |  |
| `wind_direction` | string or null | `"NNW"` |  |
| `accuweather_link` | string | `"https://www.accuweather.com/en/us/boston/02108/current-weather/348735"` |  |
| `observation_time` | string | `"2026-09-28T21:59-04:00"` | Local observation date and time with UTC offset. |
| `realfeel_temperature` | object |  |  |
| `realfeel_temperature.unit` | string | `"°F"` |  |
| `realfeel_temperature.value` | number or null | `51` |  |
| `accuweather_location_key` | string or null | `"348735"` |  |

**Example input**

```json
{
  "location": "Boston"
}
```

**Example output**

```json
{
  "humidity": {
    "unit": "%",
    "value": 93
  },
  "pressure": {
    "unit": "inHg",
    "value": 29.85
  },
  "uv_index": {
    "level": "Low",
    "value": 0
  },
  "dew_point": {
    "unit": "°F",
    "value": 55
  },
  "conditions": "Drizzle",
  "visibility": {
    "unit": "mi",
    "value": 10
  },
  "wind_gusts": {
    "unit": "mph",
    "value": 12
  },
  "wind_speed": {
    "unit": "mph",
    "value": 12
  },
  "air_quality": null,
  "cloud_cover": {
    "unit": "%",
    "value": 100
  },
  "temperature": {
    "unit": "°F",
    "value": 57
  },
  "matched_place": "Boston, MA US",
  "realfeel_shade": {
    "unit": "°F",
    "value": 51
  },
  "wind_direction": "NNW",
  "accuweather_link": "https://www.accuweather.com/en/us/boston/02108/current-weather/348735",
  "observation_time": "2026-09-28T21:59-04:00",
  "realfeel_temperature": {
    "unit": "°F",
    "value": 51
  },
  "accuweather_location_key": "348735"
}
```

### Get daily forecast

Operation `get_daily_forecast`, version 1. 1 credit per call.

Get up to 15 available daily forecasts for a city or postal code, with temperatures, RealFeel, day and night conditions, precipitation, wind, UV, and local sun times. Past or unavailable dates are omitted; fewer days may be returned when the public forecast is shorter.

**Input**

| Field | Type | Required | Example | Description |
|---|---|---|---|---|
| `days` | integer | no | `2` | Number of upcoming days, for example 10. |
| `units` | string | no | `"metric"` | Temperature and distance units, for example imperial. |
| `location` | string | yes | `"85003"` | City or ZIP/postcode, for example Phoenix or 85003. |

**Input schema**

```json
{
  "type": "object",
  "required": [
    "location"
  ],
  "properties": {
    "days": {
      "type": "integer",
      "default": 10,
      "maximum": 15,
      "minimum": 1,
      "description": "Number of upcoming days, for example 10.",
      "examples": [
        2,
        3,
        15
      ]
    },
    "units": {
      "enum": [
        "imperial",
        "metric"
      ],
      "type": "string",
      "default": "imperial",
      "description": "Temperature and distance units, for example imperial.",
      "examples": [
        "metric",
        "imperial"
      ]
    },
    "location": {
      "type": "string",
      "description": "City or ZIP/postcode, for example Phoenix or 85003.",
      "examples": [
        "85003",
        "Phoenix",
        "London"
      ]
    }
  },
  "additionalProperties": false,
  "examples": [
    {
      "days": 2,
      "units": "metric",
      "location": "85003"
    },
    {
      "days": 3,
      "units": "imperial",
      "location": "Phoenix"
    },
    {
      "days": 2,
      "units": "imperial",
      "location": "London"
    }
  ]
}
```

**Output**

| Field | Type | Example | Description |
|---|---|---|---|
| `days` | array |  |  |
| `days[].date` | string | `"2026-09-29"` |  |
| `days[].sunset` | string or null | `"2026-09-29T18:16-07:00"` |  |
| `days[].sunrise` | string or null | `"2026-09-29T06:21-07:00"` |  |
| `days[].weekday` | string | `"Tuesday"` |  |
| `days[].uv_index` | number or null | `3` |  |
| `days[].page_link` | string | `"https://www.accuweather.com/en/us/phoenix/85003/daily-weather-forecast/346935?day=2&unit=c"` |  |
| `days[].wind_speed` | number or null | `11` |  |
| `days[].rain_amount` | number or null | `10.3` |  |
| `days[].snow_amount` | number or null |  |  |
| `days[].realfeel_low` | number or null | `19` |  |
| `days[].realfeel_high` | number or null | `29` |  |
| `days[].day_conditions` | string or null | `"Mostly cloudy and cool with a couple of showers and a heavy thunderstorm; watch for flash flooding"` |  |
| `days[].wind_direction` | string or null | `"SSW"` |  |
| `days[].low_temperature` | number or null | `20` |  |
| `days[].high_temperature` | number or null | `29` |  |
| `days[].night_conditions` | string or null | `"Partly cloudy with a couple of showers"` |  |
| `days[].precipitation_chance_percent` | number or null | `91` |  |
| `place` | string | `"Phoenix, AZ, United States"` |  |
| `location_key` | string | `"346935"` |  |
| `wind_speed_unit` | string | `"km/h"` |  |
| `temperature_unit` | string | `"°C"` |  |
| `precipitation_unit` | string | `"mm"` |  |

**Example input**

```json
{
  "days": 2,
  "units": "metric",
  "location": "85003"
}
```

**Example output**

```json
{
  "days": [
    {
      "date": "2026-09-29",
      "sunset": "2026-09-29T18:16-07:00",
      "sunrise": "2026-09-29T06:21-07:00",
      "weekday": "Tuesday",
      "uv_index": 3,
      "page_link": "https://www.accuweather.com/en/us/phoenix/85003/daily-weather-forecast/346935?day=2&unit=c",
      "wind_speed": 11,
      "rain_amount": 10.3,
      "snow_amount": null,
      "realfeel_low": 19,
      "realfeel_high": 29,
      "day_conditions": "Mostly cloudy and cool with a couple of showers and a heavy thunderstorm; watch for flash flooding",
      "wind_direction": "SSW",
      "low_temperature": 20,
      "high_temperature": 29,
      "night_conditions": "Partly cloudy with a couple of showers",
      "precipitation_chance_percent": 91
    },
    {
      "date": "2026-09-30",
      "sunset": "2026-09-30T18:14-07:00",
      "sunrise": "2026-09-30T06:22-07:00",
      "weekday": "Wednesday",
      "uv_index": 6,
      "page_link": "https://www.accuweather.com/en/us/phoenix/85003/daily-weather-forecast/346935?day=3&unit=c",
      "wind_speed": 11,
      "rain_amount": 2.4,
      "snow_amount": null,
      "realfeel_low": 21,
      "realfeel_high": 31,
      "day_conditions": "A brief shower or two in the morning; otherwise, intervals of clouds and sunshine",
      "wind_direction": "SW",
      "low_temperature": 21,
      "high_temperature": 31,
      "night_conditions": "Clear",
      "precipitation_chance_percent": 69
    }
  ],
  "place": "Phoenix, AZ, United States",
  "location_key": "346935",
  "wind_speed_unit": "km/h",
  "temperature_unit": "°C",
  "precipitation_unit": "mm"
}
```

## Quick start

Call the API with a Fous API key (`FOUS_API_KEY`). To create one, turn on Developer mode in Fous Studio, then open Keys & connections → API keys (https://app.fous.com/keys).

```bash
# First set your key: export FOUS_API_KEY='YOUR_FOUS_API_KEY'
: "${FOUS_API_KEY:?Set FOUS_API_KEY before running this example}"

curl 'https://api.fous.com/v1/query' \
  --fail-with-body --silent --show-error --max-time 120 \
  -H "Authorization: Bearer $FOUS_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "api": "@accuweather",
  "visibility": "public",
  "operation": "get_current_weather",
  "version": 1,
  "input": {
    "location": "Boston"
  },
  "response": {
    "format": "json"
  }
}'
```

```python
# Save as fous.py and run with python3 fous.py. No packages needed.
# First set your key: export FOUS_API_KEY='YOUR_FOUS_API_KEY'
import json
import os
import urllib.error
import urllib.request

api_key = os.environ.get("FOUS_API_KEY")
if not api_key:
    raise RuntimeError("Set FOUS_API_KEY before running this example")

body = json.loads("{\n  \"api\": \"@accuweather\",\n  \"visibility\": \"public\",\n  \"operation\": \"get_current_weather\",\n  \"version\": 1,\n  \"input\": {\n    \"location\": \"Boston\"\n  },\n  \"response\": {\n    \"format\": \"json\"\n  }\n}")
request = urllib.request.Request(
    "https://api.fous.com/v1/query",
    data=json.dumps(body).encode("utf-8"),
    headers={
        "Authorization": f"Bearer {api_key}",
        "Content-Type": "application/json",
    },
    method="POST",
)
try:
    with urllib.request.urlopen(request, timeout=120) as response:
        result = json.load(response)
except urllib.error.HTTPError as error:
    raise RuntimeError(f"HTTP {error.code}: {error.read().decode('utf-8', errors='replace')}") from error
if result.get("success") is False:
    raise RuntimeError(result.get("error", {}).get("message", "Request failed"))
print(json.dumps(result["data"]["output"], indent=2))
```

```typescript
// Save as fous.mts and run with npx tsx fous.mts.
// First set your key: export FOUS_API_KEY='YOUR_FOUS_API_KEY'
const apiKey = process.env.FOUS_API_KEY;
if (!apiKey) throw new Error("Set FOUS_API_KEY before running this example");

const response = await fetch("https://api.fous.com/v1/query", {
  method: "POST",
  headers: {
    "Authorization": `Bearer ${apiKey}`,
    "Content-Type": "application/json",
  },
  signal: AbortSignal.timeout(120_000),
  body: JSON.stringify({
  "api": "@accuweather",
  "visibility": "public",
  "operation": "get_current_weather",
  "version": 1,
  "input": {
    "location": "Boston"
  },
  "response": {
    "format": "json"
  }
}),
});
type ApiResult = { success: boolean; data?: { output: unknown }; error?: { message: string } };
const result: ApiResult = await response.json();
if (!response.ok || result.success === false) {
  throw new Error(result.error?.message ?? `HTTP ${response.status}`);
}
if (!result.data) throw new Error("Missing API response data");
console.log(result.data.output);
```

Or describe the data in plain language: send `{"api":"@accuweather","prompt":"Describe the data you need, with every detail"}` to the same URL. Fous fills in the input, runs the method that fits and returns only the fields you asked for; `data.route.calls[].request` is the exact call it made. Routing is free; the run costs the same.

## Use cases

- Check current conditions before planning local activities
- Compare daily high and low temperatures across locations
- Review forecast precipitation chances for scheduling outdoor work
- Track wind speed and direction for operational planning
- Plan around forecast sunrise and sunset times

## FAQ

### Is Fous affiliated with AccuWeather?

No. Fous is not affiliated with AccuWeather. This workflow reads the public accuweather.com website and returns its data.

### How much does it cost?

Each run costs 1 credit. With pay-as-you-go, a credit costs 1¢; monthly plans cost less per credit.

### Do I need a AccuWeather account?

No. You only need a Fous account.

### How current is the data?

Fous gets the data from accuweather.com when you run it; repeating the same request within a day may return the saved result. Fous checks this workflow automatically; it last passed a check on Sep 29, 2026.

### What are the current conditions in a location?

Use Get current weather with a city or postal code to retrieve conditions, temperature, RealFeel, and related measurements.

### What is the daily forecast for a location?

Use Get daily forecast with a city or postal code to retrieve available daily forecasts, including temperatures, conditions, and precipitation chances.

### When are sunrise and sunset in the forecast?

Get daily forecast returns local sunrise and sunset times for available forecast days.

## Related

- [The Weather Channel API](https://fous.com/workflows/the-weather-channel.md): The Weather Channel returns current conditions, today’s high/low, up to 15 daily forecasts (sometimes fewer), 1–48 local hourly forecasts, and active severe weather alerts.
- [MSN Weather API](https://fous.com/workflows/msn-weather.md): MSN Weather provides current conditions and forecasts for places worldwide, including up to 10 days ahead and optional hourly forecasts for the next 24 hours.
- [National Weather Service API](https://fous.com/workflows/national-weather-service.md): National Weather Service provides U.S. day-and-night forecasts for seven days, hourly forecasts for up to 156 hours where available, active alerts, and latest nearby station observations.
- [IQAir API](https://fous.com/workflows/iqair.md): City air quality readings and forecasts from IQAir.
- [AirNow API](https://fous.com/workflows/airnow.md): Current and forecast air quality for reporting areas in the United States and covered cities in Canada and Mexico.
- [Weather Underground API](https://fous.com/workflows/weather-underground.md): Historical and current weather conditions from stations worldwide.
- [NOAA Space Weather API](https://fous.com/workflows/noaa-space-weather.md): NOAA Space Weather provides near-term aurora chances, current geomagnetic activity, a three-day Kp outlook, and NOAA alerts from the past 1–7 days.
- [Surfline API](https://fous.com/workflows/surfline.md): Surf conditions and forecasts for surf spots.
- [All Weather workflows](https://fous.com/workflows/category/weather)
