Pollen.com API: Get pollen forecast
Returns up to five days of pollen index and level for a US ZIP code, with top allergens for today and tomorrow where Pollen.com lists them.
Unofficial. Not affiliated with or endorsed by Pollen.com.
Inputs
Values from the run on Oct 23, 2026, shown under Output.
- Zip Code, required
zip_code US ZIP code, for example 20001.
78701
Exactly 5 characters.
Input as JSON
{ "zip_code": "78701"}Output
{ "forecasts": [ { "date": "2026-10-23", "level": "Medium", "page_link": "https://www.pollen.com/forecast/extended/pollen/78701" , "pollen_index": 6.7, "top_allergens": [ { "name": "Ragweed", "type": "weed" }, { "name": "Juniper", "type": "tree" }, { "name": "Grasses", "type": "grass" } ] }, { "date": "2026-10-24", "level": "Medium", "page_link": "https://www.pollen.com/forecast/extended/pollen/78701" , "pollen_index": 6.4, "top_allergens": [ { "name": "Ragweed", "type": "weed" }, { "name": "Juniper", "type": "tree" }, { "name": "Grasses", "type": "grass" } ] }, { "date": "2026-10-25", "level": "Medium-High", "page_link": "https://www.pollen.com/forecast/extended/pollen/78701" , "pollen_index": 8, "top_allergens": null } ], "location_name": "Austin, TX"}Code
curl https://api.fous.com/v1/runs \ -H "Authorization: Bearer $FOUS_API_KEY" \ -H "Content-Type: application/json" \ -d '{"method":"pollen.com/get_pollen_forecast","input":{"zip_code":"78701"}}' # Save as fous.py, then run: python3 fous.pyimport json, os, timefrom urllib.error import HTTPErrorfrom urllib.request import Request, urlopenAPI = "https://api.fous.com/v1/runs" KEY = os.environ["FOUS_API_KEY"]HEADERS = { "Authorization": f"Bearer {KEY}", "Content-Type": "application/json" ,}def call(url, body=None): data = json.dumps(body).encode() if body else None request = Request(url, data, HEADERS) try: with urlopen(request, timeout=120) as r: return r.status, json.load(r) except HTTPError as error: message = json.load(error)["error"]["message"] raise RuntimeError(message) from errorstatus, run = call(API, { "method": "pollen.com/get_pollen_forecast" , "input": { "zip_code": "78701" }})# 202: still going after 30 s. Ask again until it ends.while status == 202: time.sleep(2) status, run = call(f"{API}/{run['id']}")print(json.dumps(run["data"], indent=2))// Save as fous.mjs, then run: node fous.mjsconst api = "https://api.fous.com/v1/runs" ;const headers = { Authorization: `Bearer ${process.env.FOUS_API_KEY}`, "Content-Type": "application/json" ,};let response = await fetch(api, { method: "POST", headers, body: JSON.stringify({ "method": "pollen.com/get_pollen_forecast" , "input": { "zip_code": "78701" } }), signal: AbortSignal.timeout(120_000),});let run = await response.json();// 202: still going after 30 s. Ask again until it ends.while (response.status === 202) { await new Promise((done) => setTimeout(done, 2_000)); response = await fetch(`${api}/${run.id}`, { headers }); run = await response.json();}if (!response.ok) throw new Error(run.error.message);console.log(run.data);# Connect your agent to Fous once, over MCP (Streamable HTTP):# https://api.fous.com/mcp# Set FOUS_API_KEY first: create a key at https://app.fous.com/keys.# Claude Codeclaude mcp add \ --scope user \ --transport http fous https://api.fous.com/mcp \ --header "Authorization: Bearer ${FOUS_API_KEY:?Set FOUS_API_KEY to your Fous API key}"# Codexcodex mcp add fous \ --url https://api.fous.com/mcp \ --bearer-token-env-var FOUS_API_KEY# Cursor, VS Code, Windsurf, Cline and morenpx -y add-mcp https://api.fous.com/mcp -g -n fous \ --header "Authorization: Bearer ${FOUS_API_KEY:?Set FOUS_API_KEY to your Fous API key}"# Then ask your agent:# "Use Fous to run pollen.com/get_pollen_forecast# with {"zip_code":"78701"}"Over HTTP, the answer’s data holds the output. A run still going after 30 seconds answers 202 with its id: ask GET /v1/runs/{id} until it ends.
Schema
Input schema
{ "type": "object", "required": [ "zip_code" ], "properties": { "zip_code": { "type": "string", "maxLength": 5, "minLength": 5, "description": "US ZIP code, for example 20001." } }}Output schema
{ "type": "object", "required": [ "location_name", "forecasts" ], "properties": { "forecasts": { "type": "array", "items": { "type": "object", "required": [ "date", "pollen_index", "level", "top_allergens", "page_link" ], "properties": { "date": { "type": "string", "format": "date" }, "level": { "enum": [ "Low", "Low-Medium", "Medium", "Medium-High", "High" ], "type": "string" }, "page_link": { "type": "string", "format": "uri" }, "pollen_index": { "type": "number", "maximum": 12, "minimum": 0 }, "top_allergens": { "type": [ "array", "null" ], "items": { "type": "object", "required": [ "name", "type" ], "properties": { "name": { "type": "string" }, "type": { "enum": [ "tree", "grass", "weed" ], "type": "string" } }, "additionalProperties": false }, "description": "Allergens shown for this day; null if Pollen.com does not publish them for the day." } }, "additionalProperties": false } }, "location_name": { "type": "string", "description": "City and state for the ZIP code." } }, "additionalProperties": false}- Price
- 1 credit per completed run (1¢ with pay as you go); failed runs are free.
- Method
pollen.com/get_pollen_forecast- Returns
- location name, daily pollen index, level, top allergens, page link
Use it from your agent
Give your agent this line. It reads SKILL.md, gets a Fous API key and connects the Fous MCP server. Its run then takes the method pollen.com/get_pollen_forecast with the inputs above.
Ask your agent
- What's the pollen count going to be like over the next few days in ZIP code 90210?
- Can you check the five-day pollen outlook for 60614 and tell me which allergens are highest today and tomorrow?
- I have hay fever, is it a bad day for pollen in 33101? Give me the level and index.
- Pollen.com forecast for 98101 please, including tomorrow's top allergens.
- Is tree pollen expected to be high this week in 10001? I need the daily index and level.
See more
Gets AirNow current air quality, pollutant readings and today's and tomorrow's forecasts for a US city or ZIP code, or a covered Canadian or Mexican city.
airnow.gov/get_air_qualityGets The Weather Channel's daily forecast for a city, address, ZIP code or postcode: up to 15 upcoming days with highs, lows, conditions, rain chance, wind, humidity, UV and sun times.
weather.com/get_daily_forecastGets up to 10 days of MSN Weather forecasts for a city, address, or ZIP code, with optional hourly forecasts for the next 24 hours.
msn.com/get_forecastLooks up a US city, street address or ZIP code and returns up to 156 hourly National Weather Service forecasts for it.
weather.gov/get_hourly_forecastLooks up the National Weather Service seven-day day and night forecast for a U.S. city, address, or ZIP code. Forecast availability depends on NWS land-grid coverage.
weather.gov/get_forecastGets current conditions and RealFeel for a city or postal code on AccuWeather. The UV level follows standard UV-index ranges. Air quality is null unless it is shown with the current conditions.
accuweather.com/get_current_weatherGets the next 1 to 48 hourly forecasts for a city, address, ZIP code or postcode from The Weather Channel, with times local to the matched place.
weather.com/get_hourly_forecastGets current conditions and today's high and low from The Weather Channel for a city, postcode, ZIP code or street address worldwide. Street addresses are geocoded exactly first; some observations omit gusts or other measurements.
weather.com/get_current_weather