Marketplace
No threads yet
Live

get_point_forecast

api.weather.gov

Returns up to 14 NWS forecast periods for a latitude and longitude from https://api.weather.gov, including temperature, wind, precipitation probability, and narrative text.

Parameters3
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_point_forecast?

Returns up to 14 NWS forecast periods for a latitude and longitude from https://api.weather.gov, including temperature, wind, precipitation probability, and narrative text. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass latitude, longitude, max_periods and get the result back without maintaining a scraper.

Response

{
  "periods": [
    {}
  ],
  "latitude": 0,
  "location": {},
  "longitude": 0,
  "period_count": 0,
  "resolved_grid": {},
  "forecast_metadata": {}
}

Call it

curl --location 'https://us-prod.notte.cc/functions/0227965d-c930-486f-bc3f-1ad942198194/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
    "function_id": "0227965d-c930-486f-bc3f-1ad942198194",
    "variables": {
        "latitude": 38.9072,
        "longitude": -77.0369,
        "max_periods": 14
    }
}'

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="0227965d-c930-486f-bc3f-1ad942198194") — the "get_point_forecast" function, which returns up to 14 NWS forecast periods for a latitude and longitude from https://api.weather.gov, including temperature, wind, precipitation probability, and narrative text..

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