---
title: "Corridor Compare Routes"
method: POST
path: "/api/v1/infrastructure/corridor/compare-routes"
tags: ["Utility Corridor Risk"]
---

# Corridor Compare Routes

`POST /api/v1/infrastructure/corridor/compare-routes`

## Request

- Base URL: `https://www.deepmapai.com`
- URL: `https://www.deepmapai.com/api/v1/infrastructure/corridor/compare-routes`
- Auth: none declared

Compare two alternative corridor routes side by side.

Returns risk comparison, cost estimates, and recommendation.

Required: ``route_a`` (array of {lat, lon}), ``route_b`` (array of {lat, lon})
Optional: ``infrastructure_type`` (default: pipeline),
          ``sample_interval_km`` (default: 1.0)

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

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