Back to marketplace

Weather Forecast

v1.0.0 by x402.pub

Get current conditions, hourly forecasts, and 7-day outlooks for any location. Powered by Open-Meteo with geocoding support — just pass a city name or coordinates. Returns temperature, humidity, wind speed, precipitation probability, and weather descriptions.

Data
weather
forecast
climate
geolocation

API Endpoints

GET
/api/x402/weather
Get current weather and forecast for a location. Pass ?location=CityName or ?lat=XX&lon=YY

Example request

GET /api/x402/weather?location=San+Francisco

Example response

{
  "location": {
    "name": "San Francisco",
    "lat": 37.7749,
    "lon": -122.4194
  },
  "current": {
    "temperature": 15.2,
    "unit": "°C",
    "humidity": 72,
    "windSpeed": 12.5,
    "description": "Partly cloudy"
  },
  "forecast": [
    {
      "date": "2026-03-11",
      "high": 17,
      "low": 10,
      "description": "Sunny"
    }
  ]
}
Install

1. Add the marketplace (once):

/plugin marketplace add https://x402.pub/api/marketplace.json

2. Install this plugin:

/plugin install weather@x402-pub
Pricing
Per call$0.001
Networks
Base
Ethereum
Solana
Currency
USDC