Documentation

API URL


POST /api/v1/aircraft/lookup

Headers
Code
Content-Type: application/json
Body Parameters


Example Request

Code
GET https://datpaq.com/api/v1/aircraft/lookup?api_key=your-api-key&tail=N12345

Successful Response

Status
HTML
200 OK
Body
Code
{
  "tail": "N12345",
  "valid": true,
  "manufacturer": "Cessna",
  "model": "172M",
  "correlationId": "abc123"
}

Error Response

Example
Code
401 AuthenticationError - Missing or invalid API key at gateway layer: Request rejected by authentication policy
404 RouteNotFound - Request path does not match mounted routes: Requested endpoint is unavailable
422 ValidationError - Missing tail query or invalid tail/ICAO format: Input validation failed
500 InternalError - Unhandled middleware or route-level failure: Service could not complete processing
501 NotImplemented - Batch route scaffold invoked: Feature exists but is not yet implemented

Last Updated:  May 4, 2026