Current weather for a city or coordinates

Current weather at a city or coordinates: condition, temperature, humidity, wind, pressure, cloud cover and precipitation.

Request

GEThttps://weather.p.apihiver.com/v1/current?city=Mumbai
String. City name, e.g. Mumbai.
String. ISO country code to disambiguate, e.g. IN.
String. 'lat,lon' instead of a city, e.g. 19.076,72.8777.
String. metric (°C, m/s) or imperial (°F, mph) (default metric).
Language
Client
1curl --request GET \
2  --url 'https://weather.p.apihiver.com/v1/current?city=Mumbai&country=%7Bcountry%7D&coords=%7Bcoords%7D&units=%7Bunits%7D' \
3  --header 'Accept: application/json' \
4  --header 'X-API-Key: YOUR_API_KEY'

Current weather for a city or coordinates: Weather API reference

Current weather at a city or coordinates: condition, temperature, humidity, wind, pressure, cloud cover and precipitation. This endpoint is part of the Weather API: Current weather, 9-day forecasts, hourly forecasts, and sunrise/sunset/moon phase for any city or coordinates worldwide.

Example response (200, application/json)

Success.

1{
2  "time": "2026-09-26T18:00:00Z",
3  "source": "MET Norway",
4  "location": {
5    "lat": 19.07283,
6    "lon": 72.88261,
7    "name": "Mumbai",
8    "country": "India",
9    "timezone": "Asia/Kolkata",
10    "population": 12691836,
11    "country_code": "IN"
12  },
13  "condition": "Partly cloudy",
14  "wind_speed": 4.3,
15  "temperature": 26.9,
16  "pressure_hpa": 1010.5,
17  "wind_speed_unit": "m/s",
18  "humidity_percent": 83.9,
19  "temperature_unit": "°C",
20  "cloud_cover_percent": 71.1,
21  "wind_direction_degrees": 225.2,
22  "precipitation_next_hour_mm": 0
23}

Errors

  • 400 — A required parameter is missing or a value has the wrong format.
    1{
    2  "error": {
    3    "code": "INVALID_INPUT",
    4    "message": "Pass 'city' (e.g. Mumbai) or 'coords' (lat,lon)."
    5  }
    6}

Gateway errors (missing key, no subscription, rate limits) are listed in Error codes.