Daily High Temperature

Overview

Provides daily high temperatures for locations up to 10 days in the future.

Location

Provides a daily time series of high temperatures within a user-defined timespan at a specific location. The location is represented by a latitude/longitude pair.

GET /daily-high-temperature/{latitude}/{longitude}

Query String Parameters (Optional)

The default response contains results on a Celsius temperature scale for up to the next 6 days.

Name Type Description Accepted Values / Range Example
unit string temperature unit celsius, fahrenheit celsius
start string start date 1 year ago to 10 days in the future 2015-06-01
end string end date (inclusive) 1 year ago to 10 days in the future 2015-06-03

Request Example

See CORS for request header details.

$ curl -X GET -G "https://insight.api.wdtinc.com/daily-high-temperature/35.482/-97.535" \
  -d start="2015-06-01" \
  -d end="2015-06-03" \
  --user <username>:<password>

Response Example

See Status Codes for response code details.

HTTP/1.1 200 OK
{
  "latitude": 35.482,
  "longitude": -97.535,
  "startDate": "2015-06-01",
  "endDate": "2015-06-03",
  "unit": {
    "description": "degrees celsius",
    "label": "°C"
  },
  "series": [
    {
      "validDate": "2015-06-01",
      "value": 34.2,
      "products": [
        "skywise-conus-24hr-high-temperature-analysis"
      ]
    },
    {
      "validDate": "2015-06-02",
      "value": 35.1,
      "products": [
        "skywise-conus-24hr-high-temperature-analysis"
      ]
    },
    {
      "validDate": "2015-06-03",
      "value": 36.2,
      "products": [
        "skywise-conus-24hr-high-temperature-analysis"
      ]
    }
  ]
}