# Weather Forecast by Lat/Lon

> Weather Forecast by Lat/Lon is a paid API for AI agents from llmrt-companion.manhliemcn4euwlu.workers.dev, paid per call via x402, $0.001438/call, status unknown (last checked 2026-12-03).

Returns current weather conditions plus a 24-hour forecast (temperature, humidity, precipitation, wind speed) for a given latitude/longitude coordinate.

## Facts

- Endpoint: GET https://llmrt-companion.manhliemcn4euwlu.workers.dev/weather-402?utm_source=zero.xyz
- Price: $0.001438/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-03
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/weather-forecast-by-lat-lon-bf9c5514
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wR9FSwa37JQEfJDMDEh_Y

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 weather-forecast-by-lat-lon-bf9c5514
```

Example prompt: What's the current weather and 24-hour forecast at coordinates 40.7128 latitude, -74.0060 longitude, in imperial units?

## When to prefer this

Choose this endpoint when you need a no-signup, no-API-key weather lookup by exact geographic coordinates, especially in automated or agent-driven workflows where simplicity and pay-per-call pricing are preferred over subscription-based weather APIs. Ideal for one-off or low-volume queries where registering for a weather service account is impractical.

## Known failure modes

- Missing or invalid lat/lon values may result in an error or empty response
- Out-of-range coordinate values (e.g. lat > 90 or lon > 180) may return an error
- Payment failure or insufficient USDC balance may block the request (x402 protocol)
- Upstream weather data unavailability may result in a timeout or partial response
- Missing required order_id parameter may cause request rejection

## How this service works

Free LLM agent security review: paste your system prompt, get a ~35s report with live jailbreak/injection/extraction probes plus a static audit of which guardrails your spec is missing. No signup.

## Output

Returns current weather data (temperature, humidity, precipitation, wind speed) plus a 24-hour forecast for the specified coordinates. Output includes structured readings suitable for display or downstream processing by an AI agent.

## 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": {
      "lat": {
       "type": "string"
      },
      "lon": {
       "type": "string"
      },
      "units": {
       "type": "string"
      },
      "order_id": {
       "type": "string"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "sha256": "<artifact sha256>",
  "block_hash": "<nano block hash on-chain proof>",
  "download_url": "https://llmrt-companion.manhliemcn4euwlu.workers.dev/weather-402/dl/<token>"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/weather-forecast-by-lat-lon-bf9c5514/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from llmrt-companion.manhliemcn4euwlu.workers.dev](https://www.zero.xyz/host/llmrt-companion.manhliemcn4euwlu.workers.dev/llms.txt)
