Weatherbit · JSON Structure

Weatherbit History Day Obj Structure

HistoryDayObj schema from Weatherbit API

Type: object Properties: 28
WeatherForecastingHistorical DataAir QualityAlertsAgricultural Weather

HistoryDayObj is a JSON Structure definition published by Weatherbit, describing 28 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

datetime ts revision_status slp pres rh dewpt temp max_temp max_temp_ts min_temp min_temp_ts wind_spd wind_dir wind_gust_spd max_wind_spd max_wind_dir max_wind_spd_ts ghi t_ghi dni t_dni dhi t_dhi max_uv precip precip_gpm snow

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/weatherbit/refs/heads/main/json-structure/weatherbit-history-day-obj-structure.json",
  "name": "HistoryDayObj",
  "description": "HistoryDayObj schema from Weatherbit API",
  "type": "object",
  "properties": {
    "datetime": {
      "type": "string",
      "description": "Date in format \"YYYY-MM-DD\". All datetime is in (UTC)",
      "example": "2015-01-03"
    },
    "ts": {
      "type": "int32",
      "description": "Unix timestamp of datetime (Midnight UTC)",
      "example": 1501970516
    },
    "revision_status": {
      "type": "string",
      "description": "Data revision status (interim or final)",
      "example": "final"
    },
    "slp": {
      "type": "double",
      "description": "Average sea level pressure (mb)",
      "example": 1020.1
    },
    "pres": {
      "type": "double",
      "description": "Average pressure (mb)",
      "example": 885.1
    },
    "rh": {
      "type": "double",
      "description": "Average relative humidity as a percentage (%)",
      "example": 85.0
    },
    "dewpt": {
      "type": "double",
      "description": "Average dewpoint - Default (C)",
      "example": -1.5
    },
    "temp": {
      "type": "double",
      "description": "Average temperature - Default (C)",
      "example": 1.0
    },
    "max_temp": {
      "type": "double",
      "description": "Max temperature - Default (C)",
      "example": 1.5
    },
    "max_temp_ts": {
      "type": "double",
      "description": "Time of max memperature - Unix Timestamp",
      "example": 1501970816
    },
    "min_temp": {
      "type": "double",
      "description": "Min temperature - Default (C)",
      "example": 11.7
    },
    "min_temp_ts": {
      "type": "double",
      "description": "Time of max temperature - unix timestamp",
      "example": 1501970516
    },
    "wind_spd": {
      "type": "double",
      "description": "Average wind speed - default (m/s)",
      "example": 14.98
    },
    "wind_dir": {
      "type": "int32",
      "description": "Average wind direction (degrees)",
      "example": 325
    },
    "wind_gust_spd": {
      "type": "double",
      "description": "Wind gust speed - default (m/s)",
      "example": 40.98
    },
    "max_wind_spd": {
      "type": "double",
      "description": "Max 2min Wind Speed - default (m/s)",
      "example": 19.98
    },
    "max_wind_dir": {
      "type": "int32",
      "description": "Direction of wind at time of max 2min wind (degrees)",
      "example": 325
    },
    "max_wind_spd_ts": {
      "type": "double",
      "description": "Time of max 2min wind - unix timestamp",
      "example": 1501970516
    },
    "ghi": {
      "type": "int32",
      "description": "Average hourly global horizontal solar irradiance (W/m^2)",
      "example": 125
    },
    "t_ghi": {
      "type": "int32",
      "description": "Total global horizontal solar irradiance (W/m^2)",
      "example": 4500
    },
    "dni": {
      "type": "int32",
      "description": "Average direct normal solar irradiance (W/m^2)",
      "example": 125
    },
    "t_dni": {
      "type": "int32",
      "description": "Total direct normal solar irradiance (W/m^2)",
      "example": 4500
    },
    "dhi": {
      "type": "int32",
      "description": "Average hourly diffuse horizontal solar irradiance (W/m^2)",
      "example": 125
    },
    "t_dhi": {
      "type": "int32",
      "description": "Total diffuse horizontal solar irradiance (W/m^2)",
      "example": 4500
    },
    "max_uv": {
      "type": "double",
      "description": "Max UV Index (1-11+)",
      "example": 6.0
    },
    "precip": {
      "type": "double",
      "description": "Liquid equivalent precipitation - default (mm)",
      "example": 3.0
    },
    "precip_gpm": {
      "type": "double",
      "description": "Satellite estimated liquid equivalent precipitation - default (mm)",
      "example": 3.0
    },
    "snow": {
      "type": "double",
      "description": "Snowfall - default (mm)",
      "example": 30.0
    }
  }
}