# x402 Weather Current Conditions API

> x402 Weather Current Conditions API is a paid API for AI agents from workspace-x402-paywall.onrender.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-11).

Returns current weather data for a given city or lat/lon coordinate, paid per-call via USDC on Base or Solana

## Facts

- Endpoint: GET https://workspace-x402-paywall.onrender.com/weather/current?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-weather-current-conditions-api-a8301820
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-KdfgUCteCrHBuTBbZ-7c

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 x402-weather-current-conditions-api-a8301820
```

Example prompt: What's the current weather in London right now? Give me temperature and conditions.

## When to prefer this

Choose this endpoint when you need a quick, pay-per-call current weather lookup without a subscription, and you are operating in a crypto-native or x402-enabled agent environment that can pay $0.005 USDC per call on Base or Solana. Ideal for low-frequency weather checks where subscription APIs are overkill.

## Known failure modes

- Missing or invalid location parameter returns an error
- Unknown city name may return no results or an error
- Payment failure (insufficient USDC balance) blocks the call
- Unrecognized field names in the fields parameter may be silently ignored or cause errors
- Service on Render free tier may have cold-start latency or downtime

## How this service works

66 pay-per-call APIs: AI text/image generation ($0.01), Polymarket odds, crypto prices, DeFi yields, FX rates, weather, IP/geo, FBI wanted, SEC tickers, clinical trials, 250M academic papers, Stack Overflow, meme-coin launchpads (pump.fun, Clanker, Four.meme, SunPump), tokenized stocks, Solana top 100, and 40+ more. $0.005/call standard. USDC on Base and Solana via x402.

## Output

A JSON object containing current weather data for the requested location, potentially including temperature, conditions, and location name. The response structure varies depending on which fields are requested via the optional fields parameter.

## 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",
       "description": "Requires a city name string or lat,lon coordinate string"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-weather-current-conditions-api-a8301820/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from workspace-x402-paywall.onrender.com](https://www.zero.xyz/host/workspace-x402-paywall.onrender.com/llms.txt)
