# NoJunk Geo – Weather

> NoJunk Geo – Weather is a paid API for AI agents from nojunk-geo.mick8511.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-16).

Returns current weather conditions and a 7-day forecast for a given location (by coordinates or place name), paid per call via x402

## Facts

- Endpoint: GET https://nojunk-geo.mick8511.workers.dev/weather?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/nojunk-geo-weather-1ee1266f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Af0k8UZzLbJckK8cvfN8k

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 nojunk-geo-weather-1ee1266f
```

Example prompt: What's the 7-day weather forecast for Sunrise, Florida? Give me daily highs, lows, precipitation chances, and sunrise/sunset times.

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call weather forecast (current conditions + 7-day outlook) without a subscription, especially when you already have coordinates or a place name and want combined geocoding + weather in one call for $0.002 USDC. Prefer it over free-tier weather APIs when you need reliable micropayment-based access with no API key management.

## Known failure modes

- Ambiguous place name returns no geocode result — no charge incurred
- Invalid or out-of-range coordinates return an error
- Missing both q and lat/lon parameters causes a validation error
- Place name not found in OpenStreetMap Nominatim returns empty result
- Network timeout from upstream Open-Meteo or Nominatim services

## How this service works

NoJunk Geo weather: Coordinates or place name -> current conditions and 7-day daily forecast in metric and imperial units (Open-Meteo).

## Output

A JSON object containing the resolved place (with lat/lon and structured address), plus an array of 7 daily forecast entries each including date, high and low temperature in Celsius and Fahrenheit, weather condition label and WMO code, precipitation in mm, precipitation probability percentage, and sunrise/sunset times.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "q": {
       "type": "string",
       "maxLength": 200,
       "minLength": 1,
       "description": "Alternatively a place name or address; it is geocoded first (1 result) and the resolved place is returned"
      },
      "lat": {
       "type": "string",
       "description": "Latitude in decimal degrees (use with lon)"
      },
      "lon": {
       "type": "string",
       "description": "Longitude in decimal degrees (use with lat)"
      },
      "country": {
       "type": "string",
       "description": "Optional 2-letter ISO country code to restrict the place lookup when using q"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "lat": 26.1669711,
  "lon": -80.2567739,
  "daily": [
   {
    "date": "2026-10-15",
    "low_c": 25.3,
    "low_f": 77.5,
    "high_c": 30.1,
    "high_f": 86.2,
    "sunset": "2026-10-15T18:52",
    "sunrise": "2026-10-15T07:17",
    "condition": "Rain showers",
    "weather_code": 80,
    "precipitation_mm": 4.2,
    "precipitation_probability_pct": 65
   },
   {
    "date": "2026-10-16",
    "low_c": 25.3,
    "low_f": 77.5,
    "high_c": 30.1,
    "high_f": 86.2,
    "sunset": "2026-10-15T18:52",
    "sunrise": "2026-10-15T07:17",
    "condition": "Rain showers",
    "weather_code": 80,
    "precipitation_mm": 4.2,
    "precipitation_probability_pct": 65
   },
   {
    "date": "2026-10-17",
    "low_c": 25.3,
    "low_f": 77.5,
    "high_c": 30.1,
    "high_f": 86.2,
    "sunset": "2026-10-15T18:52",
    "sunrise": "2026-10-15T07:17",
    "condition": "Rain showers",
    "weather_code": 80,
    "precipitation_mm": 4.2,
    "precipitation_probability_pct": 65
   },
   {
    "date": "2026-10-18",
    "low_c": 25.3,
    "low_f": 77.5,
    "high_c": 30.1,
    "high_f": 86.2,
    "sunset": "2026-10-15T18:52",
    "sunrise": "2026-10-15T07:17",
    "condition": "Rain showers",
    "weather_code": 80,
    "precipitation_mm": 4.2,
    "precipitation_probability_pct": 65
   },
   {
    "date": "2026-10-19",
    "low_c": 25.3,
    "low_f": 77.5,
    "high_c": 30.1,
    "high_f": 86.2,
    "sunset": "2026-10-15T18:52",
    "sunrise": "2026-10-15T07:17",
    "condition": "Rain showers",
    "weather_code": 80,
    "precipitation_mm": 4.2,
    "precipitation_probability_pct": 65
   },
   {
    "date": "2026-10-20",
    "low_c": 25.3,
    "low_f": 77.5,
    "high_c": 30.1,
    "high_f": 86.2,
    "sunset": "2026-10-15T18:52",
    "sunrise": "2026-10-15T07:17",
    "condition": "Rain showers",
    "weather_code": 80,
    "precipitation_mm": 4.2,
    "precipitation_probability_pct": 65
   },
   {
    "date": "2026-10-21",
    "low_c": 25.3,
    "low_f": 77.5,
    "high_c": 30.1,
    "high_f": 86.2,
    "sunset": "2026-10-15T18:52",
    "sunrise": "2026-10-15T07:17",
    "condition": "Rain showers",
    "weather_code": 80,
    "precipitation_mm": 4.2,
    "precipitation_probability_pct": 65
   }
  ],
  "place": {
   "lat": 26.1669711,
   "lon": -80.2567739,
   "type": "city",
   "address": {
    "city": "Sunrise",
    "road": null,
    "state": "Florida",
    "county": "Broward County",
    "country": "United States",
    "postcode":
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/nojunk-geo-weather-1ee1266f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from nojunk-geo.mick8511.workers.dev](https://www.zero.xyz/host/nojunk-geo.mick8511.workers.dev/llms.txt)
