Point Forecasts

Current

Current weather estimate.

get/api/v1/current/{location}

Request

  • Base URL: https://weatherapi.foreca.net
  • URL: https://weatherapi.foreca.net/api/v1/current/{location}
  • Auth: HTTP bearer

Path parameters

locationstring required

"Longitude,latitude" or location identifier (id) from the location endpoint

Query parameters

altstring

Altitude in meters

tempunitstring

Temperature unit

windunitstring

Wind unit: "MS" (m/s), "KTS" (knots), "KMH" (km/h), or "MPH" (mph) (default m/s)

tzstring

Time zone in response (IANA time zone database names)

langstring

Language (ISO 639-1 codes). Options: ar, bg, bn, ca, cs, da, de, el, en, en_gb = en, en_us = en, es, et, fa, fi, fr, gu, he, hi, hr, hu, id, is, it, ja, kn, ko, lt, lv, ml, nb, nl, no, pa, pl, pt = pt_pt, pt_br, pt_pt, ro, ru, sk, sq, sr, sv, ta, te, th, tr, uk, vi, zh (Simplified Chinese), zh_hk (Traditional Chinese). (default en)

roundingstring

Rounding of some variables to nearest integer: 0 or 1 (default 1 for no decimals)

Response

Success

Example response

{
  "current": {
    "time": "2021-12-20T09:28+02:00",
    "symbol": "n000",
    "symbolPhrase": "clear",
    "temperature": -11.76,
    "feelsLikeTemp": -18.97,
    "relHumidity": 69,
    "dewPoint": -15.81,
    "windSpeed": 4.25,
    "windDir": 16,
    "windDirString": "N",
    "windGust": 11.66,
    "precipProb": 1,
    "cloudiness": 3,
    "pressure": 1020.95,
    "visibility": 19934
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.