Hail
Parameters
Request parameters
These parameters apply to both the hail forecasts and premium hail forecasts endpoints.
| Parameter | Description | Default | Required |
|---|---|---|---|
apikey | Your API key | — | Yes |
version | API version | v1 | Yes |
q | Location as latitude,longitude in decimal format. Must fall within the coverage area (latitude 20.1 to 55.0, longitude -130.0 to -60.1). See Geographic coverage. | — | Yes |
metric | A Boolean value that specifies whether to return the data in metric units (true) or imperial units (false). | false | No |
Hail forecasts response parameters
| Field | Type | Description |
|---|---|---|
latitude | number | The latitude of the grid point for which the hail forecast is being provided. This is the grid point nearest the requested coordinates, so it may differ from the latitude in q. |
longitude | number | The longitude of the grid point for which the hail forecast is being provided. This is the grid point nearest the requested coordinates, so it may differ from the longitude in q. |
initDateTime | string | The date and time when the hail forecast was initialized, in ISO 8601 format (yyyy-mm-ddThh:mm |
intervals[] | array | A list of hail forecast intervals, each containing the cumulative probability of hail for a set of size thresholds. |
intervals[]. | object | Cumulative probability of hail, from initDateTime through the end of this interval, one entry per size threshold. |
intervals[]. | string | The start of the date/time range this probability covers, in ISO 8601 format (yyyy-mm-ddThh:mm |
intervals[]. | string | The end of the date/time range this probability covers, in ISO 8601 format (yyyy-mm-ddThh:mm |
intervals[]. | array | Probability of hail meeting each size threshold over this range. |
intervals[]. | object | The hail size threshold this probability applies to (hail at least this large), in millimeters when metric or inches when imperial. |
intervals[]. | number | The numerical value of the size threshold. |
intervals[]. | string | The unit of the size threshold: in (imperial) or mm (metric). |
intervals[]. | number | Probability (%) of hail meeting this size threshold, from 0 to 100. Null if the forecast model has no data for this size threshold at this location and time. |
intervals[]. | string | The long-form description of this probability metric, as sourced from the underlying forecast model. Includes both the metric and imperial threshold, regardless of the metric setting. |
Premium hail forecasts response parameters
| Field | Type | Description |
|---|---|---|
latitude | number | The latitude of the grid point for which the hail forecast is being provided. This is the grid point nearest the requested coordinates, so it may differ from the latitude in q. |
longitude | number | The longitude of the grid point for which the hail forecast is being provided. This is the grid point nearest the requested coordinates, so it may differ from the longitude in q. |
initDateTime | string | The date and time when the hail forecast was initialized, in ISO 8601 format (yyyy-mm-ddThh:mm |
intervals[] | array | A list of hail forecast intervals, each containing both the per-interval and cumulative probability of hail for a set of size thresholds. |
intervals[]. | object | Per-interval probability of hail during this interval, one entry per size threshold. |
intervals[]. | string | The start of the date/time range this probability covers, in ISO 8601 format (yyyy-mm-ddThh:mm |
intervals[]. | string | The end of the date/time range this probability covers, in ISO 8601 format (yyyy-mm-ddThh:mm |
intervals[]. | array | Probability of hail meeting each size threshold over this range. |
intervals[]. | object | The hail size threshold this probability applies to (hail at least this large), in millimeters when metric or inches when imperial. |
intervals[]. | number | The numerical value of the size threshold. |
intervals[]. | string | The unit of the size threshold: in (imperial) or mm (metric). |
intervals[]. | number | Probability (%) of hail meeting this size threshold, from 0 to 100. Null if the forecast model has no data for this size threshold at this location and time. |
intervals[]. | string | The long-form description of this probability metric, as sourced from the underlying forecast model. Includes both the metric and imperial threshold, regardless of the metric setting. |
intervals[]. | object | Cumulative probability of hail, from initDateTime through the end of this interval, one entry per size threshold. |
intervals[]. | string | The start of the date/time range this probability covers, in ISO 8601 format (yyyy-mm-ddThh:mm |
intervals[]. | string | The end of the date/time range this probability covers, in ISO 8601 format (yyyy-mm-ddThh:mm |
intervals[]. | array | Probability of hail meeting each size threshold over this range. |
intervals[]. | object | The hail size threshold this probability applies to (hail at least this large), in millimeters when metric or inches when imperial. |
intervals[]. | number | The numerical value of the size threshold. |
intervals[]. | string | The unit of the size threshold: in (imperial) or mm (metric). |
intervals[]. | number | Probability (%) of hail meeting this size threshold, from 0 to 100. Null if the forecast model has no data for this size threshold at this location and time. |
intervals[]. | string | The long-form description of this probability metric, as sourced from the underlying forecast model. Includes both the metric and imperial threshold, regardless of the metric setting. |
Last modified on