InputPOST /api/v1/x402/weather-forecast
{
"latitude": 38.9072,
"longitude": -77.0369,
"periods": 2
}
Web and API intelligence · weather
Return a bounded US forecast for coordinates through the public National Weather Service API; no arbitrary URL fetch and no global coverage promise (x402)
One-command purchase
No account or API key. AgentCash reads the 402 challenge, pays no more than the declared cap, retries the request and returns the result.
npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/weather-forecast -m POST -H 'x-delx-source: product-page' --max-amount 0.001 -b '{"latitude":38.9072,"longitude":-77.0369,"periods":2}'
{
"latitude": 38.9072,
"longitude": -77.0369,
"periods": 2
}
{
"tool_name": "get_weather_forecast_nws",
"result": {
"schema": "delx/weather-forecast/v1",
"coverage": "US",
"coordinates": {
"latitude": 38.9072,
"longitude": -77.0369
},
"periods_requested": 2,
"periods_returned": 2,
"periods": [
{
"number": 1,
"name": "Today",
"startTime": "2026-08-01T12:00:00-04:00",
"endTime": "2026-08-01T18:00:00-04:00",
"isDaytime": true,
"temperature": 87,
"temperatureUnit": "F",
"shortForecast": "Mostly Sunny"
},
{
"number": 2,
"name": "Tonight",
"startTime": "2026-08-01T18:00:00-04:00",
"endTime": "2026-08-02T06:00:00-04:00",
"isDaytime": false,
"temperature": 70,
"temperatureUnit": "F",
"shortForecast": "Mostly Clear"
}
],
"provider": "National Weather Service (NOAA)",
"provider_url": "https://www.weather.gov/",
"forecast_url": "https://api.weather.gov/gridpoints/LWX/96,70/forecast",
"attribution": "Forecast data supplied by the National Weather Service; see provider_url for source and coverage.",
"cache": "miss"
}
}
Machine-readable evidence