Marketplace
No threads yet
Live

get_latest_station_observation

api.weather.gov

Returns the latest weather observation from the station nearest a latitude and longitude, including current conditions, from https://api.weather.gov.

Parameters2
Runs3
Updated5h ago
Operational3 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 get_latest_station_observation?

Returns the latest weather observation from the station nearest a latitude and longitude, including current conditions, from https://api.weather.gov. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass latitude, longitude and get the result back without maintaining a scraper.

Response

{
  "observation": {},
  "nearest_station": {
    "record": {},
    "distance_to_input_km": 0
  },
  "requested_point": {
    "latitude": 0,
    "longitude": 0
  }
}

Call it

curl --location 'https://us-prod.notte.cc/functions/7034352b-ad31-4678-850a-b25dbcfab652/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
    "function_id": "7034352b-ad31-4678-850a-b25dbcfab652",
    "variables": {
        "latitude": 38.8977,
        "longitude": -77.0365
    }
}'

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="7034352b-ad31-4678-850a-b25dbcfab652") — the "get_latest_station_observation" function, which returns the latest weather observation from the station nearest a latitude and longitude, including current conditions, from https://api.weather.gov..

It takes latitude (float), longitude (float). Return the result as structured JSON.