# x402helper.xyz Weather Endpoint

> x402helper.xyz Weather Endpoint is a paid API for AI agents from x402helper.xyz, paid per call via x402, $0.004/call, status unknown (last checked 2026-10-31).

Returns weather data for a given location (by lat/lon or US address) via a pay-per-call x402 USDC micropayment gateway.

## Facts

- Endpoint: GET https://x402helper.xyz/89e509/weather?utm_source=zero.xyz
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402helper-xyz-weather-endpoint-7e539032
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xMppBUJ1gvuIKQVyPVEGP

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 x402helper-xyz-weather-endpoint-7e539032
```

Example prompt: What's the current weather at latitude 40.7128, longitude -74.0060?

## When to prefer this

Use this endpoint when you need a simple pay-per-call weather lookup by GPS coordinates or US address with no subscription required — particularly in agentic workflows where x402 USDC micropayments are already supported. Avoid if you need forecasts, historical data, or international address lookups beyond the US.

## Known failure modes

- Missing required lat/lon pair or address returns an error
- Invalid latitude/longitude values outside [-90,90] or [-180,180] range rejected
- Non-US addresses may not be supported when using the address parameter
- Insufficient USDC payment or failed x402 micropayment results in 402 response
- Service unavailability or upstream weather provider outage returns failure

## How this service works

X402 micropayments server — AI agents pay USDC for OFAC screening, rates, and billing verification.

## Output

A JSON object with a 'success' boolean and a 'result' object containing weather data for the requested location (coordinates or US address).

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "lat": {
       "type": "number",
       "default": null,
       "description": "Latitude [-90,90] (with lon)"
      },
      "lon": {
       "type": "number",
       "default": null,
       "description": "Longitude [-180,180] (with lat)"
      },
      "address": {
       "type": "string",
       "default": null,
       "description": "US address (alternative to lat/lon)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {},
  "success": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402helper-xyz-weather-endpoint-7e539032/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402helper.xyz](https://www.zero.xyz/host/x402helper.xyz/llms.txt)
