---
title: "Seasonal Correction"
method: POST
path: "/api/v1/cross/dvv-realtime/seasonal"
tags: ["Real-Time dv/v Velocity Monitor"]
---

# Seasonal Correction

`POST /api/v1/cross/dvv-realtime/seasonal`

## Request

- Base URL: `https://www.deepmapai.com`
- URL: `https://www.deepmapai.com/api/v1/cross/dvv-realtime/seasonal`
- Auth: none declared

Apply seasonal correction to dv/v timeseries.

Fits harmonic regression (annual + semi-annual) with environmental
covariates (temperature, precipitation, groundwater) to remove
predictable seasonal variations.

**Pricing:** Included in subscription tiers (legacy list price: GET /api/v1/billing/pricing).

## Query parameters

- `x_api_key` string, nullable

## Request body

- DvvSeasonalRequest
  - `station_a` string: Raspberry Shake station code A
  - `station_b` string: Raspberry Shake station code B
  - `lat` number: Station latitude for weather covariates
  - `lon` number: Station longitude for weather covariates
  - `n_days` integer: Days of history for seasonal fit (30-730)

## 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)
