# DexL Agents Weather

> DexL Agents Weather is a paid API for AI agents from agents.dexl.io, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Returns current weather conditions and a multi-day forecast (up to 7 days) for any location, by place name or coordinates.

## Facts

- Endpoint: POST https://agents.dexl.io/v1/tools/weather
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dexl-agents-weather-69b3e8d9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_R66N4GjnQZeTXOf8jmMW5

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 dexl-agents-weather-69b3e8d9 -d '<json body>'
```

Example prompt: What's the current weather and 5-day forecast for Istanbul — temperature, humidity, wind, and daily highs and lows?

## When to prefer this

Choose this endpoint when your agent needs current weather or short-range forecasts for any global location and you want geocoding handled automatically from a plain place name. It is especially useful in agentic, pay-per-call workflows where you only pay $0.001 USDC per request and don't want to manage a separate geocoding or weather API key.

## Known failure modes

- Unrecognizable place name returns an error or empty geocode result
- Coordinates outside valid lat/lon range may cause a validation error
- Requesting more than 7 days returns a validation error (maximum is 7)
- Network or upstream weather data provider outage may cause a 5xx error
- Malformed input (e.g. non-numeric latitude) causes a 400 bad request

## How this service works

Current weather and a short forecast for anywhere on earth, by place name or by latitude and longitude. Returns temperature, apparent temperature, humidity, precipitation, wind speed and direction, plus a daily high and low for up to seven days. Place names are geocoded for you.

## Output

A JSON object with current conditions (temperature, apparent temperature, humidity, precipitation, wind speed and direction) and a daily forecast with high and low temperatures for up to 7 days. Also includes unit metadata and a cache indicator.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "days": {
   "type": "integer",
   "default": 3,
   "maximum": 7,
   "minimum": 1
  },
  "place": {
   "type": "string",
   "description": "Place name, e.g. \"Istanbul\""
  },
  "latitude": {
   "type": "number"
  },
  "longitude": {
   "type": "number"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "units": 1,
  "cached": false,
  "output": {}
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/dexl-agents-weather-69b3e8d9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.dexl.io](https://www.zero.xyz/host/agents.dexl.io/llms.txt)
