Point Forecasts

Daily

Daily forecasts, up to 14 days.

get/api/v1/forecast/daily/{location}

Request

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

Path parameters

locationstring required

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

Query parameters

periodsstring

Number of time steps (default 7, maximum 15)

altstring

Altitude in meters

tempunitstring

Temperature unit: "C", "F" (default "C")

windunitstring

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

datasetstring

Variable set: "standard" or "full" (default "standard")

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, value 0 is recommended with dataset=full)

offset_hoursstring

Include past data up to -48 hours

Response

Success

Example response

{
  "forecast": [
    {
      "date": "2026-08-12",
      "cloudiness": 26,
      "confidence": "g",
      "maxDewPoint": 8.52,
      "maxFeelsLikeTemp": 18.03,
      "maxRelHumidity": 85,
      "maxTemp": 18.03,
      "maxTempEnsemble": {
        "p000": 16.99,
        "p025": 17.89,
        "p050": 18.33,
        "p075": 18.66,
        "p100": 19.33
      },
      "maxWindGust": 13.02,
      "maxWindSpeed": 6.83,
      "minDewPoint": 4.35,
      "minFeelsLikeTemp": 6.71,
      "minRelHumidity": 39,
      "minTemp": 9.12,
      "minTempEnsemble": {
        "p000": 8.69,
        "p025": 9.19,
        "p050": 9.44,
        "p075": 9.69,
        "p100": 10.44
      },
      "minVisibility": 8281,
      "moonPhase": 356,
      "moonrise": "04:20:34",
      "moonset": "21:22:59",
      "precipAccum": 0.31,
      "precipAccumEnsemble": {
        "p010": 0.05,
        "p025": 0.2,
        "p050": 0.47,
        "p075": 0.88,
        "p090": 1.28
      },
      "precipProb": 39,
      "pressure": 1018.5,
      "solarRadiationSum": 5585,
      "sunhours": 12.3303,
      "sunrise": "05:25:32",
      "sunriseEpoch": 1786501532,
      "sunset": "21:24:35",
      "sunsetEpoch": 1786559075,
      "symbol": "d210",
      "symbolPhrase": "light rain",
      "uvIndex": 3.22,
      "windDir": 313
    }
  ]
}

Changes

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