# Day and Night Weather Forecast (NWS) for U.S. Locations

> Day and Night Weather Forecast (NWS) for U.S. Locations is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-12-02).

Returns the current official day and night forecast periods from the U.S. National Weather Service for a given U.S. latitude/longitude.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/pulse-weather-day-night-forecast-agent-builders?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/day-and-night-weather-forecast-nws-for-u-s-locations-55317caa
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WjZq7SLGV0YBcbQpGlVVd

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability day-and-night-weather-forecast-nws-for-u-s-locations-55317caa -d '<json body>'
```

Example prompt: What's the current National Weather Service day and night forecast for Washington DC — coordinates 38.9047 latitude, -77.0164 longitude?

## When to prefer this

Choose this endpoint when you need official, authoritative U.S. government weather forecasts broken down by day and night periods for a specific U.S. coordinate. It is ideal for agents that need structured NWS forecast data with active alert awareness, rather than commercial weather APIs. Best suited for U.S.-only use cases where official government forecast authority matters.

## Known failure modes

- Non-U.S. coordinates provided — the NWS only covers U.S. territories, so international lat/lon will return an error or empty response
- Invalid or out-of-range latitude/longitude values causing a lookup failure
- NWS API downtime or upstream outage resulting in no data returned
- Location is in a U.S. territory not covered by NWS point forecasts (e.g. some remote areas)

## How this service works

Day and night forecast for Agent builders: Day and night forecast from the U.S. National Weather Service. U.S. locations only; returns current official forecast periods or active alerts.

## Output

Returns a structured list of official NWS forecast periods (e.g. 'Today', 'Tonight', 'Tuesday', 'Tuesday Night') with forecast details including temperature, wind, precipitation, and sky conditions, as well as any currently active weather alerts for the specified U.S. location.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "latitude": {
   "type": "number",
   "default": 38.9047
  },
  "longitude": {
   "type": "number",
   "default": -77.0164
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/day-and-night-weather-forecast-nws-for-u-s-locations-55317caa/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.datapackvibe.com](https://www.zero.xyz/host/market.datapackvibe.com/llms.txt)
