---
title: "Weather Analysis"
method: POST
path: "/api/v1/data/weather/analysis"
tags: ["Weather Data"]
---

# Weather Analysis

`POST /api/v1/data/weather/analysis`

## Request

- Base URL: `https://www.deepmapai.com`
- URL: `https://www.deepmapai.com/api/v1/data/weather/analysis`
- Auth: none declared

ML-powered weather risk analysis + anomaly detection.

Combines geographic risk scoring, temperature anomaly detection,
degree day calculations, and precipitation trend analysis.
**Pricing:** Included in subscription tiers (legacy list price: GET /api/v1/billing/pricing).

This is the premium endpoint — runs the Oracle ML pipeline
for comprehensive weather intelligence.

## Query parameters

- `x_api_key` string, nullable

## Request body

- WeatherAnalysisRequest: Request body for weather analysis endpoint.
  - `lat` number, required: Latitude
  - `lon` number, required: Longitude
  - `station_id` string, nullable: Station ID for historical analysis
  - `include_risk` boolean: Include weather risk scoring
  - `include_anomalies` boolean: Include temperature anomaly detection
  - `include_degree_days` boolean: Include degree day calculations
  - `anomaly_threshold` number: Z-score threshold

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/deepmapai/apis/deepmap-ai.md) · [All operations](https://skmtc.dev/deepmapai/apis/deepmap-ai/llms.txt) · [OpenAPI document](https://skmtc.dev/deepmapai/apis/deepmap-ai/revisions/dab995d977d0?raw)
