Climate Data

Daily climate

Temperature statistics of a given day in a location. The values are 15-day central moving averages of 30-year averages of daily values during 1991-2020.

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

Request

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

Path parameters

locationstring required

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

Query parameters

monthdaystring required

"month-day" as two two-digit numbers, separated by a dash, e.g., 05-27 for May 27

tempunitstring

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

Response

Success

Example response

{
  "climate": [
    {
      "month": "01",
      "day": "12",
      "avgMinTemp": -4.53,
      "avgTemp": -2.77,
      "avgMaxTemp": -0.87
    }
  ]
}

Changes

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