# General information

AccuWeather's Hail API delivers gridded hail probability forecasts for the continental United States and surrounding areas of North America. Query by latitude and longitude to get the probability of hail at four size thresholds for each forecast interval. Hail forecasts are useful for property and asset protection, fleet and logistics planning, severe weather alerting, and more.

## Geographic coverage

Hail forecast searches require a location as a **latitude and longitude** coordinate pair. A location key is not required. Forecasts are available within a defined North American coverage area. Supported coordinates must fall within:

- **Latitude:** 20.1 to 55.0
- **Longitude:** -130.0 to -60.1

:::warning
Coordinates outside this coverage area return an HTTP 400 response.
:::

## Forecast intervals

Forecasts are provided in 30-minute intervals over a 2-hour window that begins at `initDateTime`, the time the forecast was initialized.

## Hail size thresholds

Each forecast interval includes a probability for each of the following hail size thresholds. Each probability covers hail **at least** as large as the threshold.

| Metric threshold | Imperial threshold | Meaning                  |
| ---------------- | ------------------ | ------------------------ |
| 0.0254 mm        | 0.001 in           | Hail of any size         |
| 6.35 mm          | 0.25 in            | Pea-sized and larger     |
| 12.7 mm          | 0.5 in             | Marble-sized and larger  |
| 25.4 mm          | 1 in               | Quarter-sized and larger |

Probabilities are returned as percentages (0–100). Thresholds are returned in inches by default. Pass `metric=true` to return them in millimeters.

## Forecast probabilities

Each forecast interval reports probabilities in one or both of the following forms:

| Field                       | Endpoints            | Description                                                                                                               |
| --------------------------- | -------------------- | ------------------------------------------------------------------------------------------------------------------------- |
| `hailProbability`           | Premium only         | The probability of hail at or above the size threshold during that 30-minute interval.                                    |
| `cumulativeHailProbability` | Standard and premium | The probability of hail at or above the size threshold at least once between `initDateTime` and the end of that interval. |

### Cumulative probability

Cumulative probability covers a time window that always begins at `initDateTime` and grows with each interval:

| Interval | `hailProbability` covers | `cumulativeHailProbability` covers |
| -------- | ------------------------ | ---------------------------------- |
| 1        | 0–30 minutes             | 0–30 minutes                       |
| 2        | 30–60 minutes            | 0–60 minutes                       |
| 3        | 60–90 minutes            | 0–90 minutes                       |
| 4        | 90–120 minutes           | 0–120 minutes                      |

The cumulative value in the last interval is the probability of at least one occurrence of hail at or above that size at any time during the 2-hour forecast. Because the window only grows, cumulative probability never decreases from one interval to the next.

Cumulative probability is not the sum of the per-interval probabilities. Hail in one interval makes hail in the next more likely, so the intervals are combined with a compound-probability method that accounts for this correlation. As a result, cumulative probability grows more slowly than it would if each interval were independent. Likewise, the difference between two consecutive cumulative values is not the per-interval probability. Use the premium endpoint to get per-interval probabilities.

### Example

The [premium forecast example](/developers/hail/guide#premium-hail-forecasts-by-latitudelongitude) returns the following probabilities for hail of any size:

| Interval (UTC) | `hailProbability` | `cumulativeHailProbability` |
| -------------- | ----------------- | --------------------------- |
| 17:30–18:00    | 0%                | 0%                          |
| 18:00–18:30    | 1%                | 1%                          |
| 18:30–19:00    | 2%                | 2%                          |
| 19:00–19:30    | 4%                | 5%                          |

The probability of hail at some point during the 2-hour forecast is 5%. Adding the per-interval probabilities would give 7%, and treating the intervals as independent would give about 6.9%. Because hail in consecutive intervals is correlated, the cumulative probability is lower than both, but it is never lower than the highest single-interval probability (4%).

:::tip
To show the overall chance of hail in the next 2 hours, use the cumulative value from the last interval. To show when hail is most likely, use the per-interval values from the premium endpoint.
:::
