/api/v1/obstacles/{oasNumber}Private PilotGet By Oas Number
Gets a single obstacle by its OAS (Obstacle Assessment Surface) number.
Code Examples
curl \
-H "Ocp-Apim-Subscription-Key: YOUR_API_KEY" \
"https://api.preflightapi.io/api/v1/obstacles/12-345678"curl \
-H "Ocp-Apim-Subscription-Key: YOUR_API_KEY" \
"https://api.preflightapi.io/api/v1/obstacles/12-345678"Description
GET /api/v1/obstacles/12-345678Parameters
| Name | In | Type | Description |
|---|---|---|---|
| oasNumber* | path | string | Obstacle Assessment Surface number (e.g., 12-345678) |
Response Schema
Obstacle Assessment Surface (OAS) number — the unique identifier for this obstacle. This is the key used to look up obstacles returned by the navigation log endpoint's ObstacleOasNumbers field.
Two-letter state identifier.
City nearest to the obstacle.
Latitude in decimal degrees (WGS 84).
Longitude in decimal degrees (WGS 84).
Type of obstacle (e.g., TOWER, BLDG, STACK).
Number of obstacles at this location.
Height above ground level in feet.
Height above mean sea level in feet.
Machine-readable error code (e.g., "AIRCRAFT_NOT_FOUND").
Human-readable error message suitable for display.
Additional error details (only included in development environment).
Name of the external service that failed (only included for 503 errors).
Field-level validation errors (only for validation failures).
UTC timestamp when the error occurred.
Correlation ID for tracing the request.
Request path that generated the error.