---
title: "Wastewater Detect"
method: POST
path: "/api/v1/cross/pandemic-wastewater/detect"
tags: ["Pandemic Wastewater Early Warning"]
---

# Wastewater Detect

`POST /api/v1/cross/pandemic-wastewater/detect`

## Request

- Base URL: `https://www.deepmapai.com`
- URL: `https://www.deepmapai.com/api/v1/cross/pandemic-wastewater/detect`
- Auth: none declared

Detect pathogen levels in wastewater at a location.

Returns current pathogen concentrations, early warning score,
alert levels, and ML features for cross-correlation pipeline.

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

## Query parameters

- `x_api_key` string, nullable

## Request body

- PandemicWastewaterRequest: Request body for pandemic wastewater analysis.
  - `lat` number, required: Analysis center latitude (WGS-84)
  - `lon` number, required: Analysis center longitude (WGS-84)
  - `pathogen` string: Target pathogen: COVID, INFLUENZA_A, INFLUENZA_B, RSV, NOROVIRUS, MPOX
  - `population_served` integer, nullable: Population served by the wastewater treatment plant (optional, improves accuracy)
  - `include_forecast` boolean: Include 14-day surge forecast in response

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