# Current Weather by Coordinates or Place Name

> Current Weather by Coordinates or Place Name is a paid API for AI agents from weather.cyberwarex.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-11).

Returns real-time weather conditions (temperature, humidity, wind, symbol) for a given location by lat/lon or place name, sourced from met.no

## Facts

- Endpoint: GET https://weather.cyberwarex.com/current?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/current-weather-by-coordinates-or-place-name-eda6cad4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QkJaYF-X6NT09aVI99qAp

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 current-weather-by-coordinates-or-place-name-eda6cad4
```

Example prompt: What's the current weather in Tokyo right now — temperature, humidity, and wind speed?

## When to prefer this

Choose this endpoint when you need current (real-time) weather conditions for a specific location and want a lightweight, pay-per-call approach without API key management. It is ideal for AI agents that need on-demand weather lookups sourced from met.no, covering temperature, humidity, wind, and weather symbol in a single call. Prefer this over forecast endpoints when only present conditions are needed.

## Known failure modes

- Missing both lat/lon and place name — returns an error requiring at least one location parameter
- Unrecognized or ambiguous place name — geocoding fails, no result returned
- Network or upstream met.no outage — service unavailable response
- Invalid coordinate values (out of range lat/lon) — request rejected
- Rate limit or payment failure — 402 response if micropayment is not processed

## How this service works

Pay-per-call contract ABI fetcher for AI agents: get a verified contract's ABI and metadata (function/event signatures, name, compiler, proxy detection) by address, keylessly, from Sourcify. Chains: base, ethereum, arbitrum, optimism, polygon, bsc, avalanche.

## Output

A JSON object containing current weather conditions including temperature in Celsius, humidity percentage, wind speed in m/s, a descriptive weather symbol (e.g. 'rain', 'clear'), the resolved location (lat, lon, name), and the data source (met.no).

## 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",
     "properties": {
      "lat": {
       "type": "number"
      },
      "lon": {
       "type": "number"
      },
      "place": {
       "type": "string",
       "description": "City/place name (geocoded) if lat/lon not given."
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "source": {
       "type": "string"
      },
      "current": {
       "type": "object"
      },
      "location": {
       "type": "object"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "units": {
   "temp": "C",
   "wind": "m/s"
  },
  "source": "met.no",
  "current": {
   "symbol": "rain",
   "temp_c": 19.6,
   "humidity_pct": 80,
   "wind_speed_ms": 1.7
  },
  "location": {
   "lat": 35.68,
   "lon": 139.69,
   "name": "Tokyo"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/current-weather-by-coordinates-or-place-name-eda6cad4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from weather.cyberwarex.com](https://www.zero.xyz/host/weather.cyberwarex.com/llms.txt)
