How would you make a meta seach engine like Skyscanner?

I’m thinking about building something similar to SkyScanner: search-engine that retrieves results from outside my database. That would be Step 1.

Step 2 would be data generation from Step 1 in order to be able to charge a comission based on Clicks and Actions to the result’s websites.

Thanks in advance,