---
title: "Urban Shakemap"
method: POST
path: "/api/v1/urban/shakemap"
---

# Urban Shakemap

`POST /api/v1/urban/shakemap`

## Request

- Base URL: `https://www.deepmapai.com`
- URL: `https://www.deepmapai.com/api/v1/urban/shakemap`
- Auth: none declared

Generate crowd-sourced shakemap from smartphone accelerometers.

Aggregates PGA/MMI from multiple phones with spatial averaging
and phone density weighting.

## Headers

- `x-api-key` string

## Request body

- UrbanShakemapRequest: Smartphone crowdsourced shakemap.
  - `n_phones` integer: Number of simulated phones
  - `scenario` string: Scenario: m5_earthquake, m3_earthquake, traffic_noise
  - `grid_resolution_km` number: Grid resolution (km)
  - `use_demo` boolean

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