---
title: "Detect Impact"
method: POST
path: "/api/v1/solar-impact/detect"
tags: ["Solar Impact Detection"]
---

# Detect Impact

`POST /api/v1/solar-impact/detect`

## Request

- Base URL: `https://www.deepmapai.com`
- URL: `https://www.deepmapai.com/api/v1/solar-impact/detect`
- Auth: none declared

Detect and classify impact events from solar panel power data.

Applies STA/LTA power anomaly detection, IV-curve feature
extraction, spatial propagation analysis, and rule-based +
ML classification to identify the impact type.

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

Request body::

    {
        "use_demo": true,
        "impact_type": "hail"
    }

Or with real data::

    {
        "power_timeseries": [5.0, 5.1, 4.9, ...],
        "sample_rate_hz": 10.0,
        "panel_powers": [[...], [...]],
        "panel_positions": [[35.38, -119.98], ...],
        "voltage": [0.0, 0.5, 1.0, ...],
        "current": [8.0, 7.9, 7.8, ...],
        "voltage_pre": [...],
        "current_pre": [...],
        "metadata": {
            "temperature_c": 25.0,
            "expected_temperature_c": 25.0,
            "irradiance_wm2": 800.0,
            "expected_irradiance_wm2": 800.0,
            "time_of_day_hour": 14.0,
            "days_since_last_event": 30.0
        }
    }

## Query parameters

- `x_api_key` string, nullable

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