If I understand your question correctly, you’re looking for an API that can retrieve details of a booked flight using an ID. In that case, you can use the GetBooking API. Simply replace the flight-orderId parameter with your PNR (Passenger Name Record).