Weatherbit · JSON Structure

Weatherbit History Subhourly Structure

HistorySubhourly schema from Weatherbit API

Type: object Properties: 8
WeatherForecastingHistorical DataAir QualityAlertsAgricultural Weather

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

Properties

city_name state_code country_code timezone lat lon sources data

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-subhourly-structure.json",
  "name": "HistorySubhourly",
  "description": "HistorySubhourly schema from Weatherbit API",
  "type": "object",
  "properties": {
    "city_name": {
      "type": "string",
      "description": "City name (Closest)",
      "example": "Seattle"
    },
    "state_code": {
      "type": "string",
      "description": "State abbreviation",
      "example": "WA"
    },
    "country_code": {
      "type": "string",
      "description": "Country abbreviation",
      "example": "US"
    },
    "timezone": {
      "type": "string",
      "description": "Local IANA time zone",
      "example": "America/New_York"
    },
    "lat": {
      "type": "double",
      "description": "Latitude",
      "example": 47.61
    },
    "lon": {
      "type": "double",
      "description": "Longitude",
      "example": -122.33
    },
    "sources": {
      "type": "array",
      "description": "List of data sources used in response",
      "items": {
        "type": "string",
        "example": "12345-89083"
      }
    },
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/HistoryObj"
      }
    }
  }
}