Yes, you can search for flights through the API using just the basic information you need, like departure and arrival cities, travel dates, and number of passengers. You do not need to collect full passenger names, contact details, or payment information at the search stage. This means you can run flight searches in the background of your system or your white label portal without asking your customers to fill out lengthy forms before they see any options.
How much flexibility you have depends on what your API plan includes and what the flight suppliers themselves allow. Some suppliers may require certain information earlier in the booking process than others, or they may have rules about how searches can be performed. The search results you get back will show you available flights, prices, and basic details, but you will still need to collect full passenger information and payment details when your customer is ready to actually book and pay for a ticket.
You can use this search capability to power features like showing customers price alerts, comparing multiple date options, or letting them browse options before they commit to providing personal information. This can make the booking experience smoother and encourage more customers to complete their purchase. Check your API documentation or speak with your account contact to understand exactly which search parameters your plan supports and whether there are any restrictions on how often you can search or how many results you can retrieve.