---
title: "Retrieve obstacles located within given area."
method: POST
path: "/us/v1/obstacles/polygon-query"
tags: ["Surface Obstacles"]
---

# Retrieve obstacles located within given area.

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

Retrieve obstacles located within given area. Request body parameters are:
* poly:  [GeoJSON Polygon](https://www.rfc-editor.org/rfc/rfc7946.html#appendix-A) defining the area. Max allowed area is 1000 km^2.

## Headers

- `x-api-key` string

## Request body

- ObstaclesByPolygon — Geometry-defining arguments for polygon requests
  - `poly` object, required

## Response `200`

A GeoJSON FeatureCollection, one Feature for each obstacle found.

- ObstaclePolyResponse
  - `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)
