# Pollen.com API

> Pollen.com provides pollen forecasts and allergen data for US ZIP codes as a workflow and API.

Pollen.com returns up to five days of pollen levels for a US ZIP code through Get pollen forecast. Get pollen forecast needs a US ZIP code and returns forecast dates, levels, pollen indexes, and location details. Top allergens are included only for today and tomorrow when published.

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

## Methods

### Get pollen forecast

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

Get up to five days of pollen levels for a US ZIP code, with top allergens where Pollen.com lists them. Allergen names are available for today and tomorrow only.

**Input**

| Field | Type | Required | Example | Description |
|---|---|---|---|---|
| `zip_code` | string | yes | `"20001"` | US ZIP code, for example 20001. |

**Input schema**

```json
{
  "type": "object",
  "required": [
    "zip_code"
  ],
  "properties": {
    "zip_code": {
      "type": "string",
      "pattern": "^[0-9]{5}$",
      "description": "US ZIP code, for example 20001.",
      "examples": [
        "20001",
        "78701"
      ]
    }
  },
  "additionalProperties": false,
  "examples": [
    {
      "zip_code": "20001"
    },
    {
      "zip_code": "78701"
    }
  ]
}
```

**Output**

| Field | Type | Example | Description |
|---|---|---|---|
| `forecasts` | array |  |  |
| `forecasts[].date` | string | `"2026-09-29"` |  |
| `forecasts[].level` | string | `"Low-Medium"` |  |
| `forecasts[].page_link` | string | `"https://www.pollen.com/forecast/extended/pollen/20001"` |  |
| `forecasts[].pollen_index` | number | `3.9` |  |
| `forecasts[].top_allergens` | array or null |  | Allergens shown for this day; null if Pollen.com does not publish them for the day. |
| `location_name` | string | `"Washington, DC"` | City and state for the ZIP code. |

**Example input**

```json
{
  "zip_code": "20001"
}
```

**Example output**

```json
{
  "forecasts": [
    {
      "date": "2026-09-29",
      "level": "Low-Medium",
      "page_link": "https://www.pollen.com/forecast/extended/pollen/20001",
      "pollen_index": 3.9,
      "top_allergens": [
        {
          "name": "Ragweed",
          "type": "weed"
        },
        {
          "name": "Sagebrush",
          "type": "weed"
        },
        {
          "name": "Chenopods",
          "type": "weed"
        }
      ]
    },
    {
      "date": "2026-09-30",
      "level": "Low-Medium",
      "page_link": "https://www.pollen.com/forecast/extended/pollen/20001",
      "pollen_index": 3.5,
      "top_allergens": [
        {
          "name": "Ragweed",
          "type": "weed"
        },
        {
          "name": "Sagebrush",
          "type": "weed"
        },
        {
          "name": "Chenopods",
          "type": "weed"
        }
      ]
    },
    {
      "date": "2026-10-01",
      "level": "Low-Medium",
      "page_link": "https://www.pollen.com/forecast/extended/pollen/20001",
      "pollen_index": 3.5,
      "top_allergens": null
    }
  ],
  "location_name": "Washington, DC"
}
```

## 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": "@pollen-com",
  "visibility": "public",
  "operation": "get_pollen_forecast",
  "version": 1,
  "input": {
    "zip_code": "20001"
  },
  "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\": \"@pollen-com\",\n  \"visibility\": \"public\",\n  \"operation\": \"get_pollen_forecast\",\n  \"version\": 1,\n  \"input\": {\n    \"zip_code\": \"20001\"\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": "@pollen-com",
  "visibility": "public",
  "operation": "get_pollen_forecast",
  "version": 1,
  "input": {
    "zip_code": "20001"
  },
  "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":"@pollen-com","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 pollen levels for a US ZIP code.
- Compare pollen indexes across forecast days.
- Identify listed top allergens for today and tomorrow.
- Add local pollen forecasts to a planning process.

## FAQ

### Is Fous affiliated with Pollen.com?

No. Fous is not affiliated with Pollen.com. This workflow reads the public pollen.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 Pollen.com account?

No. You only need a Fous account.

### How current is the data?

Fous gets the data from pollen.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 pollen levels for my ZIP code?

Get pollen forecast returns up to five days of pollen levels for the supplied US ZIP code.

### Which allergens are listed for today or tomorrow?

Get pollen forecast returns top allergens for today and tomorrow when Pollen.com publishes them.

### What city and state does a ZIP code represent?

Get pollen forecast returns the city and state for the supplied ZIP code.

## Related

- [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.
- [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.
- [AccuWeather API](https://fous.com/workflows/accuweather.md): AccuWeather provides current conditions and RealFeel, plus up to 15 available daily forecasts; shorter public forecasts may return fewer days.
- [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.
- [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.
- [IQAir API](https://fous.com/workflows/iqair.md): City air quality readings and forecasts from IQAir.
- [Zippopotam.us API](https://fous.com/workflows/zippopotam-us.md): Zippopotam.us returns places, regions and coordinates for postal codes in supported countries, and finds postal codes, places and coordinates by town and region.
- [Weather Underground API](https://fous.com/workflows/weather-underground.md): Historical and current weather conditions from stations worldwide.
- [All Weather workflows](https://fous.com/workflows/category/weather)
