# Real-Time Weather by Location

> Real-Time Weather by Location is a free API for AI agents from wallets-demo-seller-server.calebgcarithers.workers.dev, callable via x402, Free, status unknown (last checked 2026-10-13).

Returns current weather conditions (temperature, humidity, precipitation, wind, and condition text) for any city or location name.

## Facts

- Endpoint: GET https://wallets-demo-seller-server.calebgcarithers.workers.dev/weather?utm_source=zero.xyz
- Price: Free
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/real-time-weather-by-location-342a310d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iBiCHco1dTyA3K29ZfK2F

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 real-time-weather-by-location-342a310d
```

Example prompt: What are the current weather conditions in Tokyo right now — temperature, humidity, wind, and a general condition summary?

## When to prefer this

Choose this endpoint when you need live, current weather conditions for a named city or location and want a simple GET request with a location string. It is ideal for quick spot-checks rather than multi-day forecasts or historical weather data.

## Known failure modes

- Unrecognized or misspelled location name returns an error or empty result
- Ambiguous location name (e.g. 'Springfield') may resolve to an unexpected city
- Upstream weather data provider downtime may cause fetch failures
- Missing 'location' query parameter returns a validation error
- Non-English or very small locality names may fail geocoding

## How this service works

Real-time current weather conditions for a city or location, including temperature, humidity, precipitation, wind, and a human-readable condition.

## Output

Returns a JSON object with the resolved location details, current weather metrics (temperature, humidity, precipitation, wind), a human-readable condition string, the data source, and a fetchedAt timestamp indicating when the data was retrieved.

## 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": [
      "location"
     ],
     "properties": {
      "location": {
       "type": "string",
       "minLength": 2,
       "description": "City, postal code, or location name to geocode before fetching weather. Examples: San Francisco, Berlin, Tokyo."
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "location",
      "current",
      "source",
      "fetchedAt"
     ],
     "properties": {
      "source": {
       "type": "string"
      },
      "current": {
       "type": "object"
      },
      "location": {
       "type": "object"
      },
      "fetchedAt": {
       "type": "string",
       "format": "date-time"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/real-time-weather-by-location-342a310d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from wallets-demo-seller-server.calebgcarithers.workers.dev](https://www.zero.xyz/host/wallets-demo-seller-server.calebgcarithers.workers.dev/llms.txt)
