Marketplace
No threads yet
Live

fetch_airport_observations

wunderground.com

Retrieves incremental metric airport temperature observations from https://wunderground.com for multiple global stations, with per-station failures and a polling cursor.

Parameters5
Runs6
Updated3d ago
Operational6 runs · 100% succeeded
30 days agotoday

Playground

Runs on Notte and spends your workspace credits — what comes back is the live response, not a sample.

What is fetch_airport_observations?

Retrieves incremental metric airport temperature observations from https://wunderground.com for multiple global stations, with per-station failures and a polling cursor. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass station_ids, since_utc, through_utc, timeout_seconds, max_workers and get the result back without maintaining a scraper.

Response

{
  "units": "<string>",
  "failures": [
    {
      "error": "<string>",
      "requested_station_id": "<string>"
    }
  ],
  "stations": [
    {
      "station_id": "<string>",
      "location_id": "<string>",
      "country_code": "<string>",
      "station_name": "<string>",
      "observation_count": 0,
      "requested_station_id": "<string>",
      "source_observation_count": 0
    }
  ],
  "since_utc": "<string>",
  "through_utc": "<string>",
  "observations": [
    {}
  ],
  "retrieved_at": "<string>",
  "pressure_unit": "<string>",
  "next_cursor_utc": "<string>",
  "visibility_unit": "<string>",
  "wind_speed_unit": "<string>",
  "temperature_unit": "<string>",
  "observation_count": 0,
  "precipitation_unit": "<string>",
  "failed_station_count": 0,
  "requested_station_count": 0,
  "source_observation_count": 0,
  "successful_station_count": 0,
  "duplicate_observation_count": 0
}

Call it

curl --location 'https://us-prod.notte.cc/functions/04a50d27-009e-4374-a5ae-eb4f4ce23a7d/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
    "function_id": "04a50d27-009e-4374-a5ae-eb4f4ce23a7d",
    "variables": {
        "station_ids": "DEFAULT_STATION_IDS",
        "since_utc": "",
        "through_utc": "",
        "timeout_seconds": 30,
        "max_workers": 24
    }
}'

Ask an agent

Paste this into Claude Code, Cursor or any MCP client to have an agent call this function for you.

prompt
Use the Anything API MCP server (https://anything.notte.cc/mcp).

Call run(function_id="04a50d27-009e-4374-a5ae-eb4f4ce23a7d") — the "fetch_airport_observations" function, which retrieves incremental metric airport temperature observations from https://wunderground.com for multiple global stations, with per-station failures and a polling cursor..

It takes station_ids (list[str]), since_utc (str), through_utc (str), timeout_seconds (int), max_workers (int). Return the result as structured JSON.