W

Weather API

Freemium

Current weather, 9-day forecasts, hourly forecasts, and sunrise/sunset/moon phase for any city or coordinates worldwide.

No reviews yet
1.6Popularity100%Service Level1,160msLatency
Weatherweather forecasthourly forecastsunrise sunsetmoon phase

Documentation

Current weather, 9-day forecasts, hourly forecasts, and sunrise/sunset/moon phase for any city or coordinates worldwide.

What you get

  • Current conditions — temperature, humidity, wind, pressure, cloud cover
  • Daily forecast up to 9 days, hourly up to 48 hours
  • Sunrise, sunset, moonrise, moonset and moon phase
  • Look up by city name or coordinates, metric or imperial units

Great for travel and event apps, agriculture, delivery planning, smart-home and dashboards.

Quick start

Subscribe to a plan (the Basic plan is free), then call the API at https://weather.p.apihiver.com with your key in the X-API-Key header:

curl "https://weather.p.apihiver.com/v1/current?city=Mumbai" \
  -H "X-API-Key: YOUR_API_KEY"

Endpoints

MethodPathWhat it does
GET/v1/currentCurrent weather for a city or coordinates
GET/v1/forecastDaily forecast (up to 9 days)
GET/v1/hourlyHour-by-hour forecast (next 48 hours)
GET/v1/sun-moonSunrise, sunset, solar noon, moonrise, moonset and moon phase

Open the Endpoints tab to see every parameter, example request and example response, and to try the API live.

Errors

Every error is JSON with the same shape:

{"error": {"code": "INVALID_INPUT", "message": "Pass 'city' (e.g. Mumbai) or 'coords' (lat,lon)."}}
HTTPCodeMeaning
400INVALID_INPUTA parameter is missing or has the wrong format — the message says which
401UNAUTHORIZEDMissing or invalid X-API-Key
429—Plan quota or rate limit reached (see the X-RateLimit-* headers)
502 / 503 / 504—A data source or the API server is temporarily unavailable — retry after a few seconds

Data & privacy

Data comes from MET Norway (the Norwegian Meteorological Institute), CC BY 4.0, with GeoNames city lookup.

Weather API FAQ

Is the Weather API free?
Yes. The Basic plan is free and includes 500 requests per month — no card needed. Paid plans start at ₹299 per month for 10,000 requests.
How much does the Weather API cost?
Basic: free for 500 requests; Pro: ₹299/month for 10,000 requests; Ultra: ₹999/month for 50,000 requests; Mega: ₹2,499/month for 2,00,000 requests. Billing is monthly and you can cancel any time.
How do I use the Weather API?
Subscribe to a plan on APIHiver, create an API key in the Console, then send requests to https://weather.p.apihiver.com with your key in the X-API-Key header. You can also try every endpoint in the browser playground first.
What endpoints does the Weather API have?
It has 4 endpoints: Current weather for a city or coordinates (GET /v1/current); Daily forecast (up to 9 days) (GET /v1/forecast); Hour-by-hour forecast (next 48 hours) (GET /v1/hourly); Sunrise, sunset, solar noon, moonrise, moonset and moon phase (GET /v1/sun-moon).
What are the Weather API rate limits?
Basic: 2 requests per second; Pro: 5 requests per second; Ultra: 10 requests per second; Mega: 20 requests per second. Monthly quotas depend on the plan; every response includes X-RateLimit headers showing what's left.
Can I use one API key for the Weather API and other APIs?
Yes. One APIHiver key works for every API you subscribe to, so you don't need a separate account or key per provider.

Related APIs

E
Weather

Earthquake API

By APIHiver

Real-time earthquakes worldwide from the USGS: recent quakes, quakes near a location, historical search and event details.

Free – from ₹299/moView API
M
Education

Math Solver API

By APIHiver

Evaluate expressions, solve equations, and compute derivatives, integrals and simplifications — with exact and decimal answers.

313ms100%
Free – from ₹299/moView API
D
Healthcare

Drug Information API

By APIHiver

Medicine information from the US FDA: uses, dosage, warnings, side effects, reported adverse events and recalls.

2635ms100%
Free – from ₹299/moView API
H

BMI, daily calories (BMR/TDEE), ideal weight, body-fat percentage and water intake — using standard medical formulas.

Free – from ₹299/moView API
F
Healthcare

Food Nutrition API

By APIHiver

Nutrition facts, ingredients, Nutri-Score and allergens for millions of packaged foods — by barcode or name.

Free – from ₹299/moView API

Reviews

Loading reviews…

Log in to write a review.