Current weather conditions and multi-day forecasts for any city worldwide. Returns temperature, conditions, wind, humidity, and pressure.
Includes 100 free calls per month
After the free quota, standard per-request pricing applies via x402 (USDC on Base).
Get current weather conditions for a city. Query param: city (required).
Get multi-day weather forecast for a city. Query params: city (required), days (1-7, default 3).
Easiest way: the APIHub CLI. Credits cover x402, no wallet needed.
# install and set up once
npx @apihubio/cli register
npx @apihubio/cli topup 10
# call this service
npx @apihubio/cli call -X GET "https://proxy.apihub.io/weather/current?city=NYC"Or call the proxy directly (curl / any HTTP client):
curl https://proxy.apihub.io/weather/current?city=NYC \
-H "Authorization: Bearer ahk_your_key"
# If credits available: charged automatically, returns 200
# Otherwise: returns 402 (pay via @x402/fetch or top up credits)Estimate your monthly cost for Weather API.