{
  "openapi": "3.0.3",
  "info": {
    "title": "OnPoint Forecast Rapid: NOAA | a TWN API",
    "description": "**Description:**\n\nQuarter-hourly forecast data from the HRRR model for latitude/longitude points, ZIP/Postal Codes, Designated Market Areas, and OnPoint™ points. Quarter-hourly forecast goes out 18 hours and is available in 15 minute increments.\n\nTWN APIs are built upon the [OnPoint™ Platform](https://business.theweathernetwork.com/onpoint/) which ensures data that is gap-free, homogeneous, and ready for immediate analysis. We offer one of the highest resolution grids on the market, covering every landmass in the world and up to 200 miles offshore.\n\n**Authorization:**\n\nRequests are authorized by a header named `X-API-KEY` with a value of your API key. If you do not have a TWN API key [sign up for a free developer account](https://developer.weathersourceapis.com/account/sign-up/) to trial the data, or contact sales at [business@theweathernetwork.com](mailto:business@theweathernetwork.com) to explore the right subscription package for your business.\n\nWhen using the \\\"Try it out\\\" capability in the documentation, your API key should be added by clicking the green \\\"Authorize\\\" button at the top of the page. You may use the evaluation API Key `C0W60UOFRML47ytbXk4xlLBfv` to access example locations found in this documentation.\n",
    "termsOfService": "https://www.pelmorex.com/en/legal/terms-of-service-pws-weather-source-llc/",
    "contact": {
      "name": "The Weather Network for Business",
      "url": "https://developer.weathersourceapis.com/",
      "email": "business@theweathernetwork.com"
    },
    "version": "2.0.4"
  },
  "servers": [
    {
      "url": "https://hrrrforecast.twnapis.com/v2"
    },
    {
      "url": "https://hrrrforecast.weathersourceapis.com/v2"
    }
  ],
  "security": [
    {
      "ApiKeyAuth": []
    }
  ],
  "tags": [
    {
      "name": "points",
      "description": "Latitude/Longitude HRRR forecast data"
    },
    {
      "name": "postcodes",
      "description": "Postcode HRRR forecast data"
    },
    {
      "name": "dmas",
      "description": "Designated Market Area HRRR forecast data"
    },
    {
      "name": "onpoints",
      "description": "OnPoint™ point HRRR forecast data"
    }
  ],
  "paths": {
    "/points/{latitude},{longitude}/quarterhours": {
      "get": {
        "tags": [
          "points"
        ],
        "summary": "The complete quarter-hourly HRRR forecast for a Latitude/Longitude point.",
        "description": "Returns the complete set of HRRR forecast data for a Latitude/Longitude point.\n\n*Alternatively using a query that specifies just the quarterhours required for your purposes will improve the query response time.*\n\n**IMPORTANT:** To authenticate to the OnPoint Forecast Rapid: NOAA API, each request must contain your API key set to a custom header named `X-API-KEY`. If you do not have a TWN API key [sign up for a free 30-day developer account](https://developer.weathersourceapis.com/account/sign-up/). You may use the evaluation API Key `C0W60UOFRML47ytbXk4xlLBfv` to access example locations found in this documentation.\n\nWhen using the \\\"Try it out\\\" capability in the documentation, the API key should be added by clicking the green \\\"Authorize\\\" button at the top of the page.\n",
        "parameters": [
          {
            "name": "latitude",
            "in": "path",
            "description": "A latitude value between -90° and 90°.",
            "required": true,
            "schema": {
              "maximum": 90,
              "minimum": -90,
              "type": "number",
              "format": "float",
              "example": 38.8552
            }
          },
          {
            "name": "longitude",
            "in": "path",
            "description": "A longitude value between -180° (West) and 180° (East).",
            "required": true,
            "schema": {
              "maximum": 180,
              "minimum": -180,
              "type": "number",
              "format": "float",
              "example": -77.0513
            }
          },
          {
            "name": "fields",
            "in": "query",
            "description": "A comma separated list of field names to return. The timestamp field is always returned.\n\n**Limiting the query to needed fields will improve the query response time.**\n\nIn addition to individual field names, following convenience field groups are also supported:\n* all *(all fields)*\n* allCldCvr *(cldCvr)*\n* allHum *(relHum, spcHum)*\n* allPrecip *(precip, snowfall, snowfallKuchera, hailSize)*\n* allPres *(mslPres, sfcPres)*\n* allRad *(radSolar, radSolarDirect)*\n* allTemp *(dewPt, feelsLike, heatIndex, temp, wetBulb, windChill)*\n* allWind *(windDir, windDir80m, windDir100m, windSpd, windSpd80m, windSpd100m)*\n* popular *(cldCvr, feelsLike, precip, relHum, snowfall, temp, windDir, windSpd)*\n",
            "required": true,
            "style": "form",
            "explode": false,
            "schema": {
              "type": "array",
              "example": [
                "all"
              ],
              "items": {
                "type": "string",
                "enum": [
                  "timestampInit",
                  "temp",
                  "wetBulb",
                  "dewPt",
                  "feelsLike",
                  "windChill",
                  "heatIndex",
                  "relHum",
                  "spcHum",
                  "sfcPres",
                  "mslPres",
                  "windSpd",
                  "windDir",
                  "windSpd80m",
                  "windDir80m",
                  "windDir100m",
                  "windSpd100m",
                  "precip",
                  "snowfall",
                  "snowfallKuchera",
                  "cldCvr",
                  "radSolar",
                  "radSolarDirect",
                  "cin",
                  "cape",
                  "hailSize",
                  "all",
                  "allCldCvr",
                  "allHum",
                  "allPrecip",
                  "allPres",
                  "allRad",
                  "allTemp",
                  "allWind",
                  "popular"
                ]
              }
            }
          },
          {
            "name": "unitScale",
            "in": "query",
            "description": "The unit scale for returned values.<br>",
            "required": false,
            "schema": {
              "type": "string",
              "example": "IMPERIAL",
              "enum": [
                "IMPERIAL",
                "METRIC",
                "SI"
              ],
              "default": "IMPERIAL"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Quarter-hourly HRRR forecast response for a Latitude/Longitude point.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/hrrrForecastPointHourObj"
                }
              }
            }
          },
          "default": {
            "$ref": "#/components/responses/errorResponse"
          }
        }
      }
    },
    "/postcodes/{postcode},{countryCode}/quarterhours": {
      "get": {
        "tags": [
          "postcodes"
        ],
        "summary": "The complete quarter-hourly HRRR forecast for a postcode.",
        "description": "Returns the complete set of HRRR forecast data for a postcode.\n\n*Alternatively using a query that specifies just the hours required for your purposes will improve the query response time.*\n\n**IMPORTANT:** To authenticate to the OnPoint Forecast Rapid: NOAA API, each request must contain your API key set to a custom header named `X-API-KEY`. If you do not have a TWN API key [sign up for a free 30-day developer account](https://developer.weathersourceapis.com/account/sign-up/). You may use the evaluation API Key `C0W60UOFRML47ytbXk4xlLBfv` to access example locations found in this documentation.\n\nWhen using the \\\"Try it out\\\" capability in the documentation, the API key should be added by clicking the green \\\"Authorize\\\" button at the top of the page.\n",
        "parameters": [
          {
            "name": "postcode",
            "in": "path",
            "description": "A postcode string.",
            "required": true,
            "schema": {
              "type": "string",
              "example": "22222"
            }
          },
          {
            "name": "countryCode",
            "in": "path",
            "description": "An uppercase 2-character [ISO 3166-1 Alpha-2 country code](https://developer.weathersourceapis.com/apis/countries-with-postal-code-support/).",
            "required": true,
            "schema": {
              "pattern": "^([A-Z]){2}$",
              "type": "string",
              "example": "US"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "description": "A comma separated list of field names to return. The timestamp field is always returned.\n\n**Limiting the query to needed fields will improve the query response time.**\n\nIn addition to individual field names, following convenience field groups are also supported:\n* all *(all fields)*\n* allCldCvr *(cldCvr)*\n* allHum *(relHum, spcHum)*\n* allPrecip *(precip, snowfall, snowfallKuchera, hailSize)*\n* allPres *(mslPres, sfcPres)*\n* allRad *(radSolar, radSolarDirect)*\n* allTemp *(dewPt, feelsLike, heatIndex, temp, wetBulb, windChill)*\n* allWind *(windDir, windDir80m, windDir100m, windSpd, windSpd80m, windSpd100m)*\n* popular *(cldCvr, feelsLike, precip, relHum, snowfall, temp, windDir, windSpd)*\n",
            "required": true,
            "style": "form",
            "explode": false,
            "schema": {
              "type": "array",
              "example": [
                "all"
              ],
              "items": {
                "type": "string",
                "enum": [
                  "timestampInit",
                  "temp",
                  "wetBulb",
                  "dewPt",
                  "feelsLike",
                  "windChill",
                  "heatIndex",
                  "relHum",
                  "spcHum",
                  "sfcPres",
                  "mslPres",
                  "windSpd",
                  "windDir",
                  "windSpd80m",
                  "windDir80m",
                  "windDir100m",
                  "windSpd100m",
                  "precip",
                  "snowfall",
                  "snowfallKuchera",
                  "cldCvr",
                  "radSolar",
                  "radSolarDirect",
                  "cin",
                  "cape",
                  "hailSize",
                  "all",
                  "allCldCvr",
                  "allHum",
                  "allPrecip",
                  "allPres",
                  "allRad",
                  "allTemp",
                  "allWind",
                  "popular"
                ]
              }
            }
          },
          {
            "name": "unitScale",
            "in": "query",
            "description": "The unit scale for returned values.<br>",
            "required": false,
            "schema": {
              "type": "string",
              "example": "IMPERIAL",
              "enum": [
                "IMPERIAL",
                "METRIC",
                "SI"
              ],
              "default": "IMPERIAL"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Quarter-hourly HRRR forecast response for a postcode.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/hrrrForecastPostcodeHourObj"
                }
              }
            }
          },
          "default": {
            "$ref": "#/components/responses/errorResponse"
          }
        }
      }
    },
    "/dmas/{dmaId}/quarterhours": {
      "get": {
        "tags": [
          "dmas"
        ],
        "summary": "The complete quarter-hourly HRRR forecast for a DMA",
        "description": "Returns the complete set of HRRR forecast data for a Designated Market Area.\n\n*Alternatively using a query that specifies just the hours required for your purposes will improve the query response time.*\n\n**IMPORTANT:** To authenticate to the OnPoint Forecast Rapid: NOAA API, each request must contain your API key set to a custom header named `X-API-KEY`. If you do not have a TWN API key [sign up for a free 30-day developer account](https://developer.weathersourceapis.com/account/sign-up/). You may use the evaluation API Key `C0W60UOFRML47ytbXk4xlLBfv` to access example locations found in this documentation.\n\nWhen using the \\\"Try it out\\\" capability in the documentation, the API key should be added by clicking the green \\\"Authorize\\\" button at the top of the page.\n",
        "parameters": [
          {
            "name": "dmaId",
            "in": "path",
            "description": "A [Designated Market Area ID](https://developer.weathersourceapis.com/apis/supported-dmas/).",
            "required": true,
            "schema": {
              "type": "integer",
              "example": 529
            }
          },
          {
            "name": "fields",
            "in": "query",
            "description": "A comma separated list of field names to return. The timestamp field is always returned.\n\n**Limiting the query to needed fields will improve the query response time.**\n\nIn addition to individual field names, following convenience field groups are also supported:\n* all *(all fields)*\n* allCldCvr *(cldCvr)*\n* allHum *(relHum, spcHum)*\n* allPrecip *(precip, snowfall, snowfallKuchera, hailSize)*\n* allPres *(mslPres, sfcPres)*\n* allRad *(radSolar, radSolarDirect)*\n* allTemp *(dewPt, feelsLike, heatIndex, temp, wetBulb, windChill)*\n* allWind *(windDir, windDir80m, windDir100m, windSpd, windSpd80m, windSpd100m)*\n* popular *(cldCvr, feelsLike, precip, relHum, snowfall, temp, windDir, windSpd)*\n",
            "required": true,
            "style": "form",
            "explode": false,
            "schema": {
              "type": "array",
              "example": [
                "all"
              ],
              "items": {
                "type": "string",
                "enum": [
                  "timestampInit",
                  "temp",
                  "wetBulb",
                  "dewPt",
                  "feelsLike",
                  "windChill",
                  "heatIndex",
                  "relHum",
                  "spcHum",
                  "sfcPres",
                  "mslPres",
                  "windSpd",
                  "windDir",
                  "windSpd80m",
                  "windDir80m",
                  "windDir100m",
                  "windSpd100m",
                  "precip",
                  "snowfall",
                  "snowfallKuchera",
                  "cldCvr",
                  "radSolar",
                  "radSolarDirect",
                  "cin",
                  "cape",
                  "hailSize",
                  "all",
                  "allCldCvr",
                  "allHum",
                  "allPrecip",
                  "allPres",
                  "allRad",
                  "allTemp",
                  "allWind",
                  "popular"
                ]
              }
            }
          },
          {
            "name": "unitScale",
            "in": "query",
            "description": "The unit scale for returned values.<br>",
            "required": false,
            "schema": {
              "type": "string",
              "example": "IMPERIAL",
              "enum": [
                "IMPERIAL",
                "METRIC",
                "SI"
              ],
              "default": "IMPERIAL"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Quarter-hourly HRRR forecast response for a Designated Market Area.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/hrrrForecastDmaHourObj"
                }
              }
            }
          },
          "default": {
            "$ref": "#/components/responses/errorResponse"
          }
        }
      }
    },
    "/onpoints/{onpointId}/quarterhours": {
      "get": {
        "tags": [
          "onpoints"
        ],
        "summary": "The complete quarter-hourly HRRR forecast for an OnPoint™ point.",
        "description": "Returns the complete set of HRRR forecast data for an OnPoint™ point.\n\n*Alternatively using a query that specifies just the hours required for your purposes will improve the query response time.*\n\n**IMPORTANT:** To authenticate to the OnPoint Forecast Rapid: NOAA API, each request must contain your API key set to a custom header named `X-API-KEY`. If you do not have a TWN API key [sign up for a free 30-day developer account](https://developer.weathersourceapis.com/account/sign-up/). You may use the evaluation API Key `C0W60UOFRML47ytbXk4xlLBfv` to access example locations found in this documentation.\n\nWhen using the \\\"Try it out\\\" capability in the documentation, the API key should be added by clicking the green \\\"Authorize\\\" button at the top of the page.\n",
        "parameters": [
          {
            "name": "onpointId",
            "in": "path",
            "description": "An OnPoint™ ID.",
            "required": true,
            "schema": {
              "type": "integer",
              "example": 10725864
            }
          },
          {
            "name": "fields",
            "in": "query",
            "description": "A comma separated list of field names to return. The timestamp field is always returned.\n\n**Limiting the query to needed fields will improve the query response time.**\n\nIn addition to individual field names, following convenience field groups are also supported:\n* all *(all fields)*\n* allCldCvr *(cldCvr)*\n* allHum *(relHum, spcHum)*\n* allPrecip *(precip, snowfall, snowfallKuchera, hailSize)*\n* allPres *(mslPres, sfcPres)*\n* allRad *(radSolar, radSolarDirect)*\n* allTemp *(dewPt, feelsLike, heatIndex, temp, wetBulb, windChill)*\n* allWind *(windDir, windDir80m, windDir100m, windSpd, windSpd80m, windSpd100m)*\n* popular *(cldCvr, feelsLike, precip, relHum, snowfall, temp, windDir, windSpd)*\n",
            "required": true,
            "style": "form",
            "explode": false,
            "schema": {
              "type": "array",
              "example": [
                "all"
              ],
              "items": {
                "type": "string",
                "enum": [
                  "timestampInit",
                  "temp",
                  "wetBulb",
                  "dewPt",
                  "feelsLike",
                  "windChill",
                  "heatIndex",
                  "relHum",
                  "spcHum",
                  "sfcPres",
                  "mslPres",
                  "windSpd",
                  "windDir",
                  "windSpd80m",
                  "windDir80m",
                  "windDir100m",
                  "windSpd100m",
                  "precip",
                  "snowfall",
                  "snowfallKuchera",
                  "cldCvr",
                  "radSolar",
                  "radSolarDirect",
                  "cin",
                  "cape",
                  "hailSize",
                  "all",
                  "allCldCvr",
                  "allHum",
                  "allPrecip",
                  "allPres",
                  "allRad",
                  "allTemp",
                  "allWind",
                  "popular"
                ]
              }
            }
          },
          {
            "name": "unitScale",
            "in": "query",
            "description": "The unit scale for returned values.<br>",
            "required": false,
            "schema": {
              "type": "string",
              "example": "IMPERIAL",
              "enum": [
                "IMPERIAL",
                "METRIC",
                "SI"
              ],
              "default": "IMPERIAL"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Quarter-hourly HRRR forecast response for an OnPoint™ point.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/hrrrForecastOnpointHourObj"
                }
              }
            }
          },
          "default": {
            "$ref": "#/components/responses/errorResponse"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "fieldListHourObj": {
        "title": "fieldListObj",
        "required": [
          "fields"
        ],
        "type": "object",
        "properties": {
          "fields": {
            "$ref": "#/components/schemas/fields"
          }
        },
        "description": "A list of returned field names the associated units.",
        "example": {
          "fields": {
            "timestamp": "Timestamp as string: RFC 3339",
            "timestampInit": "Timestamp as string: RFC 3339",
            "temp": "Fahrenheit",
            "wetBulb": "Fahrenheit",
            "dewPt": "Fahrenheit",
            "feelsLike": "Fahrenheit",
            "windChill": "Fahrenheit",
            "heatIndex": "Fahrenheit",
            "relHum": "Percent value in [0,100]",
            "spcHum": "Grams of Moisture per Kilograms of Air",
            "sfcPres": "Millibars",
            "mslPres": "Millibars",
            "windSpd": "Miles per Hour",
            "windDir": "Degrees [0,360] (0 = North)",
            "windSpd80m": "Miles per Hour",
            "windDir80m": "Degrees [0,360] (0 = North)",
            "windSpd100m": "Miles per Hour",
            "windDir100m": "Degrees [0,360] (0 = North)",
            "precip": "Inches",
            "snowfall": "Inches",
            "snowfallKuchera": "Inches",
            "cldCvr": "Percent value in [0,100]",
            "radSolar": "Watts per Square Meter",
            "radSolarDirect": "Watts per Square Meter",
            "cin": "Joules per kilogram",
            "cape": "Joules per kilogram",
            "hailSize": "Meters"
          }
        }
      },
      "hrrrForecastHourArr": {
        "type": "array",
        "description": "An array of hourly weather HRRR forecast objects.",
        "items": {
          "$ref": "#/components/schemas/hrrrForecastHourObj"
        }
      },
      "hrrrForecastHourObj": {
        "required": [
          "timestamp"
        ],
        "type": "object",
        "properties": {
          "timestamp": {
            "$ref": "#/components/schemas/timestamp"
          },
          "timestampInit": {
            "$ref": "#/components/schemas/timestampInit"
          },
          "temp": {
            "$ref": "#/components/schemas/temp"
          },
          "wetBulb": {
            "$ref": "#/components/schemas/wetBulb"
          },
          "dewPt": {
            "$ref": "#/components/schemas/dewPt"
          },
          "feelsLike": {
            "$ref": "#/components/schemas/feelsLike"
          },
          "windChill": {
            "$ref": "#/components/schemas/windChill"
          },
          "heatIndex": {
            "$ref": "#/components/schemas/heatIndex"
          },
          "relHum": {
            "$ref": "#/components/schemas/relHum"
          },
          "spcHum": {
            "$ref": "#/components/schemas/spcHum"
          },
          "sfcPres": {
            "$ref": "#/components/schemas/sfcPres"
          },
          "mslPres": {
            "$ref": "#/components/schemas/mslPres"
          },
          "windSpd": {
            "$ref": "#/components/schemas/windSpd"
          },
          "windDir": {
            "$ref": "#/components/schemas/windDir"
          },
          "windSpd80m": {
            "$ref": "#/components/schemas/windSpd80m"
          },
          "windDir80m": {
            "$ref": "#/components/schemas/windDir80m"
          },
          "windDir100m": {
            "$ref": "#/components/schemas/windDir100m"
          },
          "windSpd100m": {
            "$ref": "#/components/schemas/windSpd100m"
          },
          "precip": {
            "$ref": "#/components/schemas/precip"
          },
          "snowfall": {
            "$ref": "#/components/schemas/snowfall"
          },
          "snowfallKuchera": {
            "$ref": "#/components/schemas/snowfallKuchera"
          },
          "cldCvr": {
            "$ref": "#/components/schemas/cldCvr"
          },
          "radSolar": {
            "$ref": "#/components/schemas/radSolar"
          },
          "radSolarDirect": {
            "$ref": "#/components/schemas/radSolarDirect"
          },
          "cin": {
            "$ref": "#/components/schemas/cin"
          },
          "cape": {
            "$ref": "#/components/schemas/cape"
          },
          "hailSize": {
            "$ref": "#/components/schemas/hailSize"
          }
        },
        "description": "An hourly weather HRRR forecast object."
      },
      "hrrrForecastPointHourObj": {
        "required": [
          "fieldList",
          "forecast",
          "location",
          "timestampRange"
        ],
        "type": "object",
        "properties": {
          "location": {
            "$ref": "#/components/schemas/pointObj"
          },
          "timestampRange": {
            "$ref": "#/components/schemas/timestampRangeObj"
          },
          "fieldList": {
            "$ref": "#/components/schemas/fieldListHourObj"
          },
          "forecast": {
            "$ref": "#/components/schemas/hrrrForecastHourArr"
          }
        },
        "description": "Hourly Latitude/Longitude HRRR forecast object"
      },
      "hrrrForecastPostcodeHourObj": {
        "required": [
          "fieldList",
          "forecast",
          "location",
          "timestampRange"
        ],
        "type": "object",
        "properties": {
          "location": {
            "$ref": "#/components/schemas/postcodeObj"
          },
          "timestampRange": {
            "$ref": "#/components/schemas/timestampRangeObj"
          },
          "fieldList": {
            "$ref": "#/components/schemas/fieldListHourObj"
          },
          "forecast": {
            "$ref": "#/components/schemas/hrrrForecastHourArr"
          }
        },
        "description": "Hourly Postcode HRRR forecast object"
      },
      "hrrrForecastDmaHourObj": {
        "required": [
          "fieldList",
          "forecast",
          "location",
          "timestampRange"
        ],
        "type": "object",
        "properties": {
          "location": {
            "$ref": "#/components/schemas/dmaObj"
          },
          "timestampRange": {
            "$ref": "#/components/schemas/timestampRangeObj"
          },
          "fieldList": {
            "$ref": "#/components/schemas/fieldListHourObj"
          },
          "forecast": {
            "$ref": "#/components/schemas/hrrrForecastHourArr"
          }
        },
        "description": "Hourly Designated Market Area HRRR forecast object"
      },
      "hrrrForecastOnpointHourObj": {
        "required": [
          "fieldList",
          "forecast",
          "location",
          "timestampRange"
        ],
        "type": "object",
        "properties": {
          "location": {
            "$ref": "#/components/schemas/onpointObj"
          },
          "timestampRange": {
            "$ref": "#/components/schemas/timestampRangeObj"
          },
          "fieldList": {
            "$ref": "#/components/schemas/fieldListHourObj"
          },
          "forecast": {
            "$ref": "#/components/schemas/hrrrForecastHourArr"
          }
        },
        "description": "Hourly OnPoint™ HRRR forecast object"
      },
      "timestampInit": {
        "type": "string",
        "description": "The model initialization timestamp formatted as an RFC3339 date-time value.",
        "format": "date-time",
        "example": "2019-12-20T23:00:00-05:00"
      },
      "cldCvr": {
        "maximum": 100,
        "minimum": 0,
        "type": "number",
        "description": "Cloud Cover as a percent value. Only available at the top of each hour, NULL otherwise",
        "format": "float",
        "example": 100
      },
      "dewPt": {
        "type": "number",
        "description": "Dew Point in Degrees Fahrenheit (imperial), Celsius (metric), or Kelvin (si).",
        "format": "float",
        "example": 45.92
      },
      "feelsLike": {
        "type": "number",
        "description": "Feels Like Temperature in Degrees Fahrenheit (imperial), Celsius (metric), or Kelvin (si).",
        "format": "float",
        "example": 46.75
      },
      "heatIndex": {
        "type": "number",
        "description": "Heat Index in Degrees Fahrenheit (imperial), Celsius (metric), or Kelvin (si).",
        "format": "float",
        "example": 46.75
      },
      "mslPres": {
        "type": "number",
        "description": "Mean Sea Level Pressure in millibars. Only available at the top of each hour, NULL otherwise",
        "format": "float",
        "example": 1017.46
      },
      "precip": {
        "type": "number",
        "description": "Total precipitation in inches (imperial) or centimeters (metric, si).",
        "format": "float",
        "example": 0
      },
      "radSolar": {
        "type": "number",
        "description": "Solar Radiation in watts per square meter.",
        "format": "float",
        "example": 0
      },
      "radSolarDirect": {
        "type": "number",
        "description": "Direct Solar Radiation in watts per square meter.",
        "format": "float",
        "example": 0
      },
      "relHum": {
        "maximum": 100,
        "minimum": 0,
        "type": "number",
        "description": "Relative humidity as a percent value.",
        "format": "float",
        "example": 96.87
      },
      "sfcPres": {
        "type": "number",
        "description": "Surface pressure in millibars.",
        "format": "float",
        "example": 1013.83
      },
      "snowfall": {
        "type": "number",
        "description": "Total snowfall in inches (imperial) or centimeters (metric, si).",
        "format": "float",
        "example": 0
      },
      "spcHum": {
        "type": "number",
        "description": "Specific humidity in grams per kilograms.",
        "format": "float",
        "example": 6.49
      },
      "temp": {
        "type": "number",
        "description": "Temperature in Degrees Fahrenheit (imperial), Celsius (metric), or Kelvin (si).",
        "format": "float",
        "example": 46.75
      },
      "wetBulb": {
        "type": "number",
        "description": "Wet Bulb Temperature in Degrees Fahrenheit (imperial), Celsius (metric), or Kelvin (si).",
        "format": "float",
        "example": 46.32
      },
      "windChill": {
        "type": "number",
        "description": "Wind Chill in Degrees Fahrenheit (imperial), Celsius (metric), or Kelvin (si).",
        "format": "float",
        "example": 46.75
      },
      "windDir": {
        "maximum": 360,
        "minimum": 0,
        "type": "number",
        "description": "Wind direction at 10 meters in Degrees (0 or 360 = North, 90 = East, South = 180, West = 270).",
        "format": "float",
        "example": 302.6
      },
      "windDir80m": {
        "maximum": 360,
        "minimum": 0,
        "type": "number",
        "description": "Wind direction at 80 meters in Degrees (0 or 360 = North, 90 = East, South = 180, West = 270).",
        "format": "float",
        "example": 111.89
      },
      "windDir100m": {
        "maximum": 360,
        "minimum": 0,
        "type": "number",
        "description": "Wind direction at 100 meters in Degrees (0 or 360 = North, 90 = East, South = 180, West = 270). This value is only updated at the top of each hour. Intra-hourly values will be NULL.",
        "format": "float",
        "example": 111.89
      },
      "windSpd": {
        "type": "number",
        "description": "Wind speed at 10 meters in miles per hour (imperial) or km/hour (metric, si).",
        "format": "float",
        "example": 0.84
      },
      "windSpd80m": {
        "type": "number",
        "description": "Wind speed at 80 meters in miles per hour (imperial) or km/hour (metric, si).",
        "format": "float",
        "example": 4.38
      },
      "windSpd100m": {
        "type": "number",
        "description": "Wind speed at 100 meters in miles per hour (imperial) or km/hour (metric, si). This value is only updated at the top of each hour. Intra-hourly values will be NULL.",
        "format": "float",
        "example": 6.66
      },
      "snowfallKuchera": {
        "type": "number",
        "description": "Total snowfall_kuchera in inches (imperial) or centimeters (metric, si) over the last 1 hour period. Only available at the top of each hour, NULL otherwise.",
        "format": "float",
        "example": 1.2
      },
      "cin": {
        "type": "number",
        "description": "CIN measured in joules per kilogram (J/kg). Only available at the top of each hour, NULL otherwise.",
        "format": "float",
        "example": -100.1
      },
      "cape": {
        "type": "number",
        "description": "CAPE measured in joules per kilogram (J/kg). Only available at the top of each hour, NULL otherwise.",
        "format": "float",
        "example": 2012.42
      },
      "hailSize": {
        "type": "number",
        "description": "Hail size in meters at the surface. Only available at the top of each hour, NULL otherwise.",
        "format": "float",
        "example": 0.2
      },
      "errorObj": {
        "type": "object",
        "properties": {
          "errorCode": {
            "maximum": 600,
            "minimum": 100,
            "type": "integer",
            "example": 404
          },
          "errorMessage": {
            "type": "string",
            "example": "NOT FOUND. Item not found."
          }
        }
      },
      "fields": {
        "type": "object",
        "additionalProperties": {
          "type": "string",
          "description": "Unit value for field identified in the related key.",
          "example": "Fahrenheit"
        }
      },
      "timestamp": {
        "type": "string",
        "description": "A timestamp formatted as an RFC3339 date-time value.",
        "format": "date-time",
        "example": "2020-12-20T23:00:00-05:00"
      },
      "pointObj": {
        "required": [
          "boundingPoints",
          "elevation",
          "grid",
          "latitude",
          "longitude",
          "timezone"
        ],
        "type": "object",
        "properties": {
          "latitude": {
            "$ref": "#/components/schemas/latitude"
          },
          "longitude": {
            "$ref": "#/components/schemas/longitude"
          },
          "timezone": {
            "$ref": "#/components/schemas/timezone"
          },
          "countryCode": {
            "$ref": "#/components/schemas/countryCode"
          },
          "countryName": {
            "$ref": "#/components/schemas/countryName"
          },
          "subdivCode": {
            "$ref": "#/components/schemas/subdivCode"
          },
          "subdivName": {
            "$ref": "#/components/schemas/subdivName"
          },
          "boundingPoints": {
            "$ref": "#/components/schemas/boundingPoints"
          },
          "grid": {
            "$ref": "#/components/schemas/grid"
          },
          "elevation": {
            "$ref": "#/components/schemas/elevation"
          }
        },
        "description": "Metadata object for a postcode"
      },
      "latitude": {
        "maximum": 90,
        "minimum": -90,
        "type": "number",
        "description": "A latitude value between -90° and 90°.",
        "format": "float",
        "example": 38.8552
      },
      "longitude": {
        "maximum": 180,
        "minimum": -180,
        "type": "number",
        "description": "A longitude value between -180° (West) and 180° (East).",
        "format": "float",
        "example": -77.0513
      },
      "timezone": {
        "type": "string",
        "description": "An Olson timezone ID.",
        "example": "America/New_York"
      },
      "countryCode": {
        "type": "string",
        "description": "An [ISO 3166-1 Alpha-2 country code](https://developer.weathersourceapis.com/apis/countries-with-postal-code-support/).",
        "example": "US"
      },
      "countryName": {
        "type": "string",
        "description": "A common country name.",
        "example": "United States of America"
      },
      "subdivCode": {
        "type": "string",
        "description": "An ISO 3166-2 country subdivision code.",
        "example": "US-VA"
      },
      "subdivName": {
        "type": "string",
        "description": "A common country subdivision name.",
        "example": "Virginia"
      },
      "boundingPoints": {
        "type": "array",
        "description": "A list of OnPoint™ points related to the location",
        "items": {
          "$ref": "#/components/schemas/boundingPoints_inner"
        }
      },
      "onpointId": {
        "type": "integer",
        "description": "An OnPoint™ ID.",
        "example": 10725864
      },
      "grid": {
        "type": "string",
        "description": "The OnPoint™ grid on which the resource exists.",
        "example": "NORTH_AMERICA_GRID",
        "enum": [
          "GLOBAL_GRID",
          "NORTH_AMERICA_GRID"
        ]
      },
      "distance": {
        "type": "number",
        "description": "A distance from the provided point in miles.",
        "format": "float",
        "example": 2.6772
      },
      "elevation": {
        "type": "number",
        "description": "The elevation above sea level of a location in meters",
        "format": "float",
        "example": 173.5
      },
      "timestampRangeObj": {
        "required": [
          "timestampEnd",
          "timestampStart"
        ],
        "type": "object",
        "properties": {
          "timestampStart": {
            "$ref": "#/components/schemas/timestampStart"
          },
          "timestampEnd": {
            "$ref": "#/components/schemas/timestampEnd"
          }
        },
        "description": "A timestamp range object"
      },
      "timestampStart": {
        "type": "string",
        "description": "A start timestamp for a timestamp range formatted as an RFC3339 date-time value.",
        "format": "date-time",
        "example": "2020-12-20T23:00:00-05:00"
      },
      "timestampEnd": {
        "type": "string",
        "description": "An end timestamp for a timestamp range formatted as an RFC3339 date-time value.",
        "format": "date-time",
        "example": "2020-12-20T23:00:00-05:00"
      },
      "postcodeObj": {
        "required": [
          "boundingPoints",
          "countryCode",
          "countryName",
          "elevation",
          "grid",
          "latitude",
          "longitude",
          "postcode",
          "timezone"
        ],
        "type": "object",
        "properties": {
          "postcode": {
            "$ref": "#/components/schemas/postcode"
          },
          "latitude": {
            "$ref": "#/components/schemas/latitude"
          },
          "longitude": {
            "$ref": "#/components/schemas/longitude"
          },
          "timezone": {
            "$ref": "#/components/schemas/timezone"
          },
          "countryCode": {
            "$ref": "#/components/schemas/countryCode"
          },
          "countryName": {
            "$ref": "#/components/schemas/countryName"
          },
          "subdivCode": {
            "$ref": "#/components/schemas/subdivCode"
          },
          "subdivName": {
            "$ref": "#/components/schemas/subdivName"
          },
          "boundingPoints": {
            "$ref": "#/components/schemas/boundingPoints"
          },
          "grid": {
            "$ref": "#/components/schemas/grid"
          },
          "elevation": {
            "$ref": "#/components/schemas/elevation"
          }
        },
        "description": "A postcode location metadata object"
      },
      "postcode": {
        "type": "string",
        "description": "A postcode string.",
        "example": "22222"
      },
      "dmaObj": {
        "required": [
          "countryCode",
          "countryName",
          "dmaId",
          "dmaName",
          "grid",
          "population",
          "samplePoints",
          "timezone"
        ],
        "type": "object",
        "properties": {
          "dmaId": {
            "$ref": "#/components/schemas/dmaId"
          },
          "dmaName": {
            "$ref": "#/components/schemas/dmaName"
          },
          "timezone": {
            "$ref": "#/components/schemas/timezone"
          },
          "population": {
            "$ref": "#/components/schemas/population"
          },
          "countryCode": {
            "$ref": "#/components/schemas/countryCode"
          },
          "countryName": {
            "$ref": "#/components/schemas/countryName"
          },
          "samplePoints": {
            "$ref": "#/components/schemas/samplePoints"
          },
          "grid": {
            "$ref": "#/components/schemas/grid"
          }
        },
        "description": "A Designated Market Area location metadata object"
      },
      "dmaId": {
        "type": "integer",
        "description": "A [Designated Market Area ID](https://developer.weathersourceapis.com/apis/supported-dmas/).",
        "example": 529
      },
      "dmaName": {
        "type": "string",
        "description": "A Designated Market Area name.",
        "example": "Louisville"
      },
      "population": {
        "type": "integer",
        "description": "The population as represented in the 2010 census.",
        "example": 1584746
      },
      "samplePoints": {
        "type": "array",
        "description": "A list of OnPoint™ points used for interpolation for the Designated Market Area. These points are the OnPoint™ ID closest to the centroid of the 10 most populous  postcodes within the target DMA.",
        "items": {
          "$ref": "#/components/schemas/samplePoints_inner"
        }
      },
      "distancePop": {
        "type": "integer",
        "description": "The difference in population for the whole Designated Market Area and the population for the postcode represented by this sample point.",
        "example": 1536552
      },
      "onpointObj": {
        "required": [
          "elevation",
          "grid",
          "latitude",
          "longitude",
          "onpointId",
          "timezone"
        ],
        "type": "object",
        "properties": {
          "onpointId": {
            "$ref": "#/components/schemas/onpointId"
          },
          "latitude": {
            "$ref": "#/components/schemas/latitude"
          },
          "longitude": {
            "$ref": "#/components/schemas/longitude"
          },
          "timezone": {
            "$ref": "#/components/schemas/timezone"
          },
          "countryCode": {
            "$ref": "#/components/schemas/countryCode"
          },
          "countryName": {
            "$ref": "#/components/schemas/countryName"
          },
          "subdivCode": {
            "$ref": "#/components/schemas/subdivCode"
          },
          "subdivName": {
            "$ref": "#/components/schemas/subdivName"
          },
          "grid": {
            "$ref": "#/components/schemas/grid"
          },
          "elevation": {
            "$ref": "#/components/schemas/elevation"
          }
        },
        "description": "An OnPoint™ point location metadata object"
      },
      "boundingPoints_inner": {
        "required": [
          "distance",
          "elevation",
          "grid",
          "latitude",
          "longitude",
          "onpointId"
        ],
        "type": "object",
        "properties": {
          "onpointId": {
            "$ref": "#/components/schemas/onpointId"
          },
          "latitude": {
            "$ref": "#/components/schemas/latitude"
          },
          "longitude": {
            "$ref": "#/components/schemas/longitude"
          },
          "grid": {
            "$ref": "#/components/schemas/grid"
          },
          "distance": {
            "$ref": "#/components/schemas/distance"
          },
          "elevation": {
            "$ref": "#/components/schemas/elevation"
          }
        }
      },
      "samplePoints_inner": {
        "required": [
          "distance",
          "elevation",
          "grid",
          "latitude",
          "longitude",
          "onpointId"
        ],
        "type": "object",
        "properties": {
          "onpointId": {
            "$ref": "#/components/schemas/onpointId"
          },
          "latitude": {
            "$ref": "#/components/schemas/latitude"
          },
          "longitude": {
            "$ref": "#/components/schemas/longitude"
          },
          "grid": {
            "$ref": "#/components/schemas/grid"
          },
          "distance": {
            "$ref": "#/components/schemas/distancePop"
          },
          "elevation": {
            "$ref": "#/components/schemas/elevation"
          }
        }
      }
    },
    "responses": {
      "errorResponse": {
        "description": "Unexpected error response",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/errorObj"
            }
          }
        }
      }
    },
    "parameters": {
      "fieldsHour": {
        "name": "fields",
        "in": "query",
        "description": "A comma separated list of field names to return. The timestamp field is always returned.\n\n**Limiting the query to needed fields will improve the query response time.**\n\nIn addition to individual field names, following convenience field groups are also supported:\n* all *(all fields)*\n* allCldCvr *(cldCvr)*\n* allHum *(relHum, spcHum)*\n* allPrecip *(precip, snowfall, snowfallKuchera, hailSize)*\n* allPres *(mslPres, sfcPres)*\n* allRad *(radSolar, radSolarDirect)*\n* allTemp *(dewPt, feelsLike, heatIndex, temp, wetBulb, windChill)*\n* allWind *(windDir, windDir80m, windDir100m, windSpd, windSpd80m, windSpd100m)*\n* popular *(cldCvr, feelsLike, precip, relHum, snowfall, temp, windDir, windSpd)*\n",
        "required": true,
        "style": "form",
        "explode": false,
        "schema": {
          "type": "array",
          "example": [
            "all"
          ],
          "items": {
            "type": "string",
            "enum": [
              "timestampInit",
              "temp",
              "wetBulb",
              "dewPt",
              "feelsLike",
              "windChill",
              "heatIndex",
              "relHum",
              "spcHum",
              "sfcPres",
              "mslPres",
              "windSpd",
              "windDir",
              "windSpd80m",
              "windDir80m",
              "windDir100m",
              "windSpd100m",
              "precip",
              "snowfall",
              "snowfallKuchera",
              "cldCvr",
              "radSolar",
              "radSolarDirect",
              "cin",
              "cape",
              "hailSize",
              "all",
              "allCldCvr",
              "allHum",
              "allPrecip",
              "allPres",
              "allRad",
              "allTemp",
              "allWind",
              "popular"
            ]
          }
        }
      },
      "latitude": {
        "name": "latitude",
        "in": "path",
        "description": "A latitude value between -90° and 90°.",
        "required": true,
        "schema": {
          "maximum": 90,
          "minimum": -90,
          "type": "number",
          "format": "float",
          "example": 38.8552
        }
      },
      "longitude": {
        "name": "longitude",
        "in": "path",
        "description": "A longitude value between -180° (West) and 180° (East).",
        "required": true,
        "schema": {
          "maximum": 180,
          "minimum": -180,
          "type": "number",
          "format": "float",
          "example": -77.0513
        }
      },
      "unitScale": {
        "name": "unitScale",
        "in": "query",
        "description": "The unit scale for returned values.<br>",
        "required": false,
        "schema": {
          "type": "string",
          "example": "IMPERIAL",
          "enum": [
            "IMPERIAL",
            "METRIC",
            "SI"
          ],
          "default": "IMPERIAL"
        }
      },
      "postcode": {
        "name": "postcode",
        "in": "path",
        "description": "A postcode string.",
        "required": true,
        "schema": {
          "type": "string",
          "example": "22222"
        }
      },
      "countryCode": {
        "name": "countryCode",
        "in": "path",
        "description": "An uppercase 2-character [ISO 3166-1 Alpha-2 country code](https://developer.weathersourceapis.com/apis/countries-with-postal-code-support/).",
        "required": true,
        "schema": {
          "pattern": "^([A-Z]){2}$",
          "type": "string",
          "example": "US"
        }
      },
      "dmaId": {
        "name": "dmaId",
        "in": "path",
        "description": "A [Designated Market Area ID](https://developer.weathersourceapis.com/apis/supported-dmas/).",
        "required": true,
        "schema": {
          "type": "integer",
          "example": 529
        }
      },
      "onpointId": {
        "name": "onpointId",
        "in": "path",
        "description": "An OnPoint™ ID.",
        "required": true,
        "schema": {
          "type": "integer",
          "example": 10725864
        }
      }
    },
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "description": "API key to authorize requests. If you do not have a TWN API key [sign up for a free developer account](https://developer.weathersourceapis.com/account/sign-up/) to trial the data, or contact sales at [business@theweathernetwork.com](mailto:business@theweathernetwork.com) to explore the right subscription package for your business. You may use the evaluation API Key `C0W60UOFRML47ytbXk4xlLBfv` to access example locations found in this documentation.\n",
        "name": "X-API-KEY",
        "in": "header"
      }
    }
  }
}