# Revenue Swarm x402 Weather API

> Revenue Swarm x402 Weather API is a paid API for AI agents from eu-tender-x402-v2-production.up.railway.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-02).

Returns live weather conditions (temperature, wind speed) for a given city or coordinates, paid per-call via x402 USDC on Base.

## Facts

- Endpoint: GET https://eu-tender-x402-v2-production.up.railway.app/api/weather?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/revenue-swarm-x402-weather-api-38132845
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_cSx_-4XSjBGuVn8mWEIAW

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 revenue-swarm-x402-weather-api-38132845
```

Example prompt: What's the current temperature and wind speed in Reykjavik right now?

## When to prefer this

Choose this endpoint when you need real-time weather data (temperature, wind) for a city or coordinate pair and are operating in an x402-enabled agent stack that can pay per call in USDC on Base. Note: the service is branded around EU tenders and B2B intelligence; this weather endpoint appears to be a secondary or demo capability on the same host.

## Known failure modes

- Missing required city or lat/lon parameter — returns error
- Invalid or unrecognized city name — may return empty or error response
- Payment failure via x402 if USDC balance is insufficient — HTTP 402
- Upstream weather data provider unavailable — service error

## How this service works

Pay-per-call B2B sales lead and procurement intelligence plus Base wallet data for agents. Search EU tenders/RFPs or inspect a Base wallet. Payments use x402 USDC on Base.

## Output

A JSON object with current temperature (°C) and wind speed (m/s) at the requested location, plus a location name and product label (e.g. 'Live Weather').

## 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",
     "properties": {
      "lat": {
       "type": "number",
       "description": "Latitude, alternative to city"
      },
      "lon": {
       "type": "number",
       "description": "Longitude, alternative to city"
      },
      "city": {
       "type": "string",
       "description": "City or place name"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "current": {
   "temperature_2m": 8.2,
   "wind_speed_10m": 12.4
  },
  "product": "Live Weather",
  "location": {
   "name": "Reykjavik"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/revenue-swarm-x402-weather-api-38132845/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from eu-tender-x402-v2-production.up.railway.app](https://www.zero.xyz/host/eu-tender-x402-v2-production.up.railway.app/llms.txt)
