---
title: "Caltrans Pems"
method: GET
path: "/api/v1/caltrans/pems/{lat},{lon}"
tags: ["caltrans"]
---

# Caltrans Pems

`GET /api/v1/caltrans/pems/{lat},{lon}`

## Request

- Base URL: `https://www.deepmapai.com`
- URL: `https://www.deepmapai.com/api/v1/caltrans/pems/{lat},{lon}`
- Auth: none declared

PeMS traffic detector data near a location.

Returns flow (vehicles/hour), occupancy, speed, and anomaly
flags for inductive-loop detectors within *radius_km*.
Traffic anomalies (sudden flow drops, congestion without
apparent cause) can indicate earthquake-related road damage.

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

## Path parameters

- `lat` number, required: Latitude (WGS84)
- `lon` number, required: Longitude (WGS84)

## Query parameters

- `radius_km` number: Search radius in km
- `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)
