Find trips in plain words
find_tripsThe quickest way to search: describe the trip in plain words and get bookable trips back in one call.
travelType, one of:
ski: ski and snowboard holidays
golf: golf holidays
surf: surf camps and holidays
diving: diving holidays
hiking: hiking and walking holidays
charter: package holidays: sun and beach trips with flight and hotel
cycling: cycling holidays
football: football trips: a match ticket with travel and hotel
carrental: car rental
f1: Formula 1 race trips
running: running races abroad, marathons and the like
americanfootball: NFL game trips
yoga: yoga retreats
triathlon: triathlon races and training camps
cruise: cruises
coach: coach (bus) tours
holidayhome: holiday homes and cottages
roundtrip: round trips and guided tours through several places
citybreak: city breaks
dance: dance holidays
places: destinations, ski areas, regions or countries in plain words, English or Danish ("Ischgl", "Østrig", "Costa del Sol"). Leave it out for anywhere. When: startFrom/startTo (the window the trip starts in) or months. Party: adults and children, since prices depend on them. Optional: durationDays, maxPricePerPerson, sort (best, cheapest, soonest), limit.
Response: { understood, ...{ total, accommodationCount, offset, results: [{ name, country, destination, stars, guestRating, tripsAvailable, trips: [{ start, end, durationDays, adults, children, price, pricePerPerson, currency, priceBeforeDiscount, transport, meals, unit, seller, bookingUrl }] }] } }
understood says how the request was read: the places searched, placesNotFound and placesAmbiguous. When a place was not found or is ambiguous, tell the user instead of presenting other trips as theirs.
price is the whole party's price; pricePerPerson divides it. Quote them as given, in currency — never convert or round them into a different claim.
trips holds the first few dates in sort order; tripsAvailable says how many more exist. Page with offset (it counts accommodations).
seller is the travel agency that sells the trip. bookingUrl opens that trip on the seller's site — give it to the user as the way to book. It is null when the seller can only be compared, not booked, through Kompare.
start/end are the trip's own first and last day. When nothing matches, the response holds alternatives (counts with one filter removed) to suggest what to relax. When no place matched at all, it holds a message and nothing was searched.
For a filter this tool lacks (meal plan, stars, transport, ski pass, distance to the lift, ...) use search_listings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | best = Kompare’s ranking, cheapest = lowest price per person, soonest = earliest start. Kompare’s ranking weighs the price against similar trips, hotel stars, guest ratings, how well the trip fits the party and the commission the travel agency pays Kompare. Agencies with a commission agreement always rank above those without. | best |
| limit | No | ||
| adults | No | ||
| market | No | dk | |
| months | No | Months the trip may start in, YYYY-MM. Use instead of startFrom/startTo for "in February". | |
| offset | No | ||
| places | No | Where, in plain words, English or Danish: a destination, ski area, region or country ("Ischgl", "Østrig", "Costa del Sol"). Leave out for anywhere. | |
| startTo | No | Latest day the trip may start, YYYY-MM-DD. | |
| children | No | ||
| startFrom | No | Earliest day the trip may start, YYYY-MM-DD. | |
| travelType | Yes | The kind of trip. See the tool description. | |
| durationDays | No | Trip lengths in days that fit, e.g. [7, 8] for a week. | |
| maxPricePerPerson | No | Highest price per person, in the market currency (DKK). |