# 2s.io Current Weather Conditions

> 2s.io Current Weather Conditions is a paid API for AI agents from 2s.io, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-15).

Returns real-time weather conditions (temperature, humidity, wind, precipitation, cloud cover, etc.) for any lat/lon coordinate worldwide using Open-Meteo data.

## Facts

- Endpoint: GET https://2s.io/api/weather/current
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/2s-io-current-weather-conditions-ad2dbf56
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fEp9BYtHfON6p6OkiH5J3

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 2s-io-current-weather-conditions-ad2dbf56
```

Example prompt: What are the current weather conditions at latitude 48.8566, longitude 2.3522 — give me temperature, wind speed, and whether it's raining, in metric units?

## When to prefer this

Choose this endpoint when you need real-time current weather conditions for any global coordinate, especially non-US locations (for US forecast data consider weather.zip/weather.forecast). Prefer this over generic weather APIs when you have precise lat/lon coordinates and need a broad set of meteorological variables (temperature, wind, precipitation, pressure, cloud cover) in a single call. It supports both metric and imperial units and is well-suited for geospatial pipelines or agent workflows needing situational weather awareness.

## Known failure modes

- Missing lat or lon parameter — returns 400 or validation error
- Latitude out of range (-90 to 90) or longitude out of range (-180 to 180) — returns error
- Payment failure or insufficient USDC balance — returns 402 Payment Required
- Upstream Open-Meteo service unavailable — returns 503 or timeout
- Invalid units value (not metric or imperial) — may return error or default to metric

## How this service works

Current weather conditions for any coordinate worldwide. Pass lat + lon (and optional units=metric|imperial, default metric). Returns temperature, feels-like, humidity, precipitation (rain/snow), cloud cover, sea-level pressure, wind speed/direction/gusts, day/night flag, and a human-readable conditions label from the WMO weather code — with local time + timezone. Global coverage (not just US — for US-only NWS data see weather.zip / weather.forecast). Source: Open-Meteo (CC BY 4.0).

## Output

Returns a JSON object with current temperature and feels-like (°C or °F), relative humidity, precipitation amount (rain/snow in mm or inches), cloud cover percentage, sea-level pressure, wind speed/direction/gusts, a human-readable WMO weather condition label, a day/night flag, and local time with timezone for the queried coordinate.

## 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",
    "queryParams"
   ],
   "properties": {
    "type": {
     "const": "http"
    },
    "method": {
     "const": "GET"
    },
    "queryParams": {
     "required": [
      "lat",
      "lon"
     ],
     "properties": {
      "lat": {
       "type": "number",
       "description": "Latitude (-90..90)."
      },
      "lon": {
       "type": "number",
       "description": "Longitude (-180..180)."
      },
      "units": {
       "type": "string",
       "description": "metric (°C, km/h, mm — default) or imperial (°F, mph, inch)."
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/2s-io-current-weather-conditions-ad2dbf56/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 2s.io](https://www.zero.xyz/host/2s.io/llms.txt)
