# Revenue Swarm x402 Weather API

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

Returns current 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-v3-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-32efaf22
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YzSbpbNUyYI8ExeDafrBW

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-32efaf22
```

Example prompt: What's the current temperature and wind speed in Reykjavik right now? Pay the $0.001 USDC per-call fee via x402.

## When to prefer this

Use this endpoint when you need real-time current weather (temperature and wind) for a city or coordinate pair and are operating within an x402 USDC micropayment environment on Base. Prefer this over free weather APIs when your agent stack already handles x402 payments and you want a single consistent pay-per-call weather lookup integrated with the Revenue Swarm ecosystem.

## Known failure modes

- Missing both city and lat/lon returns a validation error
- Invalid city name may return no location match or an error
- Network timeout from upstream weather provider
- x402 payment failure if wallet has insufficient USDC balance

## 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 containing current temperature at 2m height and wind speed at 10m, the location name, and a product label ('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-32efaf22/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from eu-tender-x402-v3-production.up.railway.app](https://www.zero.xyz/host/eu-tender-x402-v3-production.up.railway.app/llms.txt)
