Price history
price_historyRead locally observed prices for a specific flight route, date, or hotel stay, returning first/last seen, price range, and change in one currency.
Instructions
Local read of prices this machine observed (opt-in: VIAJANTE_PRICE_HISTORY=1 in the server environment). One exact query in one currency is a series: first_seen, last_seen, lowest, highest, and the change since the previous observation. One observation reports no trend. Currencies are never merged or converted, and nothing is forecast. route is ORIGIN-DEST; date matches a departure, return, check-in or check-out; location names a hotel stay. An unreadable log gives read_error and series null: unknown, not empty. May run during a search.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | ||
| kind | No | ||
| limit | No | ||
| route | No | ||
| currency | No | ||
| location | No | ||
| query_key | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| empty_note | Yes | ||
| error_code | Yes | ||
| observed_at | Yes | ||
| retry_after | Yes | ||
| completeness | Yes | ||
| empty_reason | Yes | ||
| observed_at_basis | Yes | ||
| retry_after_seconds | Yes |