# OpenWeather Current Weather

> OpenWeather Current Weather is a paid API for AI agents from OpenWeather at openweather.mpp.paywithlocus.com, paid per call via MPP, $0.006/call, not verified (last probed 2026-10-09); live alternatives: NWS Multi-Period Weather Forecast ($0.001) and Weather Forecast ($0.001).

Agents call it through Zero, which pays per call: no API key and no wallet of your own. New accounts start with $5.

Live alternatives for the same use case:
- [NWS Multi-Period Weather Forecast](https://www.zero.xyz/c/nws-multi-period-weather-forecast-us-8ecf4277) ($0.001)
- [Weather Forecast](https://www.zero.xyz/c/zeroclick-x402-service-registry-weather-0cd7c167) ($0.001)

Returns real-time weather conditions for a given latitude/longitude, including temperature, humidity, wind, cloud cover, and sky description.

## Facts

- Endpoint: POST https://openweather.mpp.paywithlocus.com/openweather/current-weather?utm_source=zero.xyz
- Price: $0.006/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-09
- Last successful call: 2026-08-12
- Success rate: 100% of calls made through Zero
- Activations on Zero: 3
- Provider: OpenWeather
- Docs: https://openweathermap.org/api
- Website: https://openweathermap.org
- Tags: weather, forecast, conditions, temperature, data
- Canonical page: https://www.zero.xyz/c/openweather-current-weather-33db4ac5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_H_CvNkA3DoWduHHVjM4FE

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 openweather-current-weather-33db4ac5 -d '<json body>'
```

Example prompt: What are the current weather conditions at latitude 40.7128, longitude -74.0060 — give me the temperature in Celsius and the sky description in English.

## When to prefer this

Use this endpoint when you need a single, real-time weather snapshot for a precise geographic coordinate. Prefer this over the 5-day forecast endpoint when you only need current conditions and want the lowest latency and lowest cost per call. Ideal for location-aware apps, IoT triggers, or enriching records with live weather context.

## Known failure modes

- Invalid coordinates (lat outside -90 to 90 or lon outside -180 to 180) return an error
- Location over open ocean may return sparse or station-interpolated data
- Invalid units value falls back to standard (Kelvin)
- Invalid language code may fall back to English descriptions
- Network or upstream OpenWeatherMap outage results in service unavailability

## How this service works

Get current weather conditions for any location by latitude/longitude — temperature, feels_like, humidity, pressure, wind, clouds, visibility, and weather description.

## Output

Returns a JSON object with current weather data including temperature (current, min, max, feels-like), humidity, atmospheric pressure, wind speed and direction, cloud coverage percentage, visibility, weather description (e.g. 'clear sky'), sunrise/sunset timestamps, and the resolved city name and country code.

## Example request

```json
{
 "lat": 51.5074,
 "lon": -0.1278,
 "lang": "en",
 "units": "metric"
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "lat",
  "lon"
 ],
 "properties": {
  "lat": {
   "type": "number",
   "description": "Latitude (-90 to 90)"
  },
  "lon": {
   "type": "number",
   "description": "Longitude (-180 to 180)"
  },
  "lang": {
   "type": "string",
   "description": "Language code for descriptions (e.g. en, es, fr, de, zh_cn)"
  },
  "units": {
   "type": "string",
   "description": "Units: standard (Kelvin), metric (Celsius), imperial (Fahrenheit). Default: standard"
  }
 },
 "additionalProperties": true
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/openweather-current-weather-33db4ac5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from openweather.mpp.paywithlocus.com](https://www.zero.xyz/host/openweather.mpp.paywithlocus.com/llms.txt)
