Api Endpoint

Current Weather

Weather forecast API: current weather and up to 16-day forecast for any city or lat/lon - temperature, feels-like, humidity, wind, rain chance, UV, sunrise/sunset; metric or imperial. Open-Meteo data. City weather. Payment settles only after a successful (2xx) response; input errors are never charged.

Open interactive test console

Offering

Provider
beggar-bot-demand.beggarbot.workers.dev
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://beggar-bot-demand.beggarbot.workers.dev/v1/weather/current
MIME type
application/json
First seen
2026-11-25T17:08:43.656Z
Last seen
Tags
weather forecast, current weather, weather, temperature, city weather

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.02 USDC
Atomic price: 20000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "20000",
    "payTo": "0x719227f384b66BFEF00093D6d8d32fA9dC2B40e7"
  }
]

Observed health

Status
Healthy
Latest latency
378 ms
Average latency
122 ms
HTTP status
402
Last checked
Reachability
100% over 2 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET",
        "HEAD",
        "DELETE"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "city": {
          "type": "string",
          "description": "city name"
        },
        "lat": {
          "type": "string",
          "description": "latitude"
        },
        "lon": {
          "type": "string",
          "description": "longitude"
        },
        "days": {
          "type": "string",
          "description": "1-16 (default 3)"
        },
        "units": {
          "type": "string",
          "description": "metric|imperial"
        }
      }
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "properties": {
    "source": {
      "type": "string"
    },
    "lat": {
      "type": "number"
    },
    "lon": {
      "type": "number"
    },
    "place": {
      "type": "string"
    },
    "timezone": {
      "type": "string"
    },
    "units": {
      "type": "object",
      "properties": {
        "temp": {
          "type": "string"
        },
        "wind": {
          "type": "string"
        },
        "precip": {
          "type": "string"
        }
      }
    },
    "current": {
      "type": "object",
      "properties": {
        "time": {
          "type": "string"
        },
        "summary": {
          "type": "string"
        },
        "weather_code": {
          "type": "number"
        },
        "temp": {
          "type": "number"
        },
        "feels_like": {
          "type": "number"
        },
        "humidity_pct": {
          "type": "number"
        },
        "precip": {
          "type": "number"
        },
        "cloud_pct": {
          "type": "number"
        },
        "wind": {
          "type": "number"
        },
        "is_day": {
          "type": "boolean"
        }
      }
    },
    "daily": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "date": {
            "type": "string"
          },
          "tmin": {
            "type": "number"
          },
          "tmax": {
            "type": "number"
          },
          "precip": {
            "type": "number"
          }
        }
      }
    }
  }
}