22

Let's say I want to fly from Prague to New York, with 1 stop or direct, on a route that takes less than 16 hours. I don't particularly care about the airline, the exact times, the exact airports in New York, etc. The only thing I care about is the price and I want to automatically purchase a ticket if it's less than $300 on a given day. Currently the lowest price I can see is $380, but perhaps a great deal will pop-up in the future.

Is there a platform or at least an API that would allow me to do so? There is a related question about being notified if such a cheap flight pops up, but in my case I want everything done automatically and the only notification I need is an actual ticket in my inbox whenever it's booked.

JonathanReez
  • 82,178
  • 90
  • 394
  • 764

3 Answers3

5

I am not aware of any service, however, here are some points in case you want to build this yourself - which is possible if perhaps impractical unless you can scale it out.

Even if an aggregator (like skyscanner) were to give you an API to their service, they can't actually book a ticket for you - this requires access to the GDS and a license - since booking on these systems are made on credit.

So to do this yourself you would need to get an API to the GDS, and a travel agent license.

Next, simply write a script to query the GDS every x seconds (there is no notification system in GDS, you have to query for results) for your criteria - and on the first availability it will book your ticket.

You will have to then, at the end of the billing cycle, settle your account with the GDS for bookings done.

Burhan Khalid
  • 39,800
  • 4
  • 83
  • 159
1

I think your are talking about C2B model. Priceline once offered this kind of service - "Name-Your-Own-Price" (NYOP). But Priceline stopped NYOP service for flight.

500miles
  • 164
  • 3
1

Hopper had auto-buy but it quietly disappeared. I purchased using the autobuy name your price on tickets to Orlando and loved it but they must have run into issues.

brian
  • 11
  • 1