---
title: "Selfserve Compare"
method: POST
path: "/api/v1/replay/self-serve/compare"
tags: ["Event Replay Self-Serve"]
---

# Selfserve Compare

`POST /api/v1/replay/self-serve/compare`

## Request

- Base URL: `https://www.deepmapai.com`
- URL: `https://www.deepmapai.com/api/v1/replay/self-serve/compare`
- Auth: none declared

Compare impact at multiple sites for the same event.

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

Request body:
    {
        "event": {
            "type": "earthquake",
            "date": "2026-03-01",
            "magnitude": 6.5,
            "depth_km": 12,
            "epicenter_lat": 34.10,
            "epicenter_lon": -118.30
        },
        "sites": [
            {"lat": 34.05, "lon": -118.25, "label": "Downtown LA"},
            {"lat": 33.95, "lon": -118.40, "label": "LAX Airport"},
            {"lat": 34.15, "lon": -118.15, "label": "Pasadena"}
        ]
    }

Returns per-site comparison table sorted by impact (most impacted
first), with distance, PGA, NEHRP site class, damage grade,
liquefaction susceptibility, and pricing summary.

Maximum 20 sites per request.

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