Cheapest cached date in a window
charter_flexible_datesFor flexible travellers: the lowest CACHED package total for each departure date inside a window (max 31 days) for a destination and party, plus best_value_date. Dates with no cache are returned as availability_status=no_cached_data — NOT as "no offers" (the cache only holds recently searched dates; the search_url prices them live). CACHED prices (from recent real searches on flytravel.al — not a live query; every row carries cached_at/age_minutes). Charter prices are PACKAGE TOTALS in EUR for the row's "party" (flight + hotel + transfers), NOT per person. party_match=false means the price is the 2-adult reference, not the total for the requested party — say so. A price belongs ONLY to its own "date": never present it as the price of another date.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| adults | No | Number of adults (default 2). | |
| nights | No | Trip length in nights. Omit for the standard charter length (6 nights / 7 days). Most departures also sell 3-10 nights. | |
| date_to | No | Window end, YYYY-MM-DD (default date_from + 14 days; max 31-day window). | |
| date_from | No | Window start, YYYY-MM-DD (default today). | |
| stars_min | No | Minimum hotel star rating (1-5). | |
| destination | Yes | Destination key, e.g. 'antalya' or 'bodrum'. | |
| children_ages | No | Age of each child AT DEPARTURE (0-14 = child; 15+ is counted as an adult automatically). | |
| budget_total_max | No | Max TOTAL budget in EUR for the whole party. |