Let's say I'll be in some city x on May 5 and some other city z on May 12. I'd like to visit another city y on or around May 8 till around May 12, but I don't have any strong preference as to which city y it is.
How can I find the cheapest flight (and preferably the k cheapest flights) going through x-> y -> z, where y is chosen based on the price? In other words, how can I find the cheapest stopover between two airports, for a given date or range of days?
I tried to use Kiwi.com as shown in the screenshot below, but with such a search there is no guarantee that the first "Africa" is the same as the second "Africa" (and in practice is typically isn't).