---
title: "Retrieve obstacles found along a route."
method: POST
path: "/us/v1/obstacles/route-query"
tags: ["Surface Obstacles"]
---

# Retrieve obstacles found along a route.

`POST /us/v1/obstacles/route-query`

Retrieve obstacles found along a route. Request body parameters are:
* route: [GeoJSON Linestring](https://www.rfc-editor.org/rfc/rfc7946.html#appendix-A) defining the route. Max allowed length is 50 km.

## Headers

- `x-api-key` string

## Request body

- ObstaclesByRoute — Geometry-defining arguments for along-route requests
  - `route` object, required

## Response `200`

A GeoJSON FeatureCollection, one Feature for each obstacle found.

- ObstacleRouteResponse
  - `found` object, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/ljaero/apis/dflight-api.md) · [All operations](https://skmtc.net/ljaero/apis/dflight-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ljaero/dflight-api/versions/1395ce057bfd/schema)
