All API calls are proxied through Supabase Edge Functions to protect the API key.
| Method | Endpoint | Description | Edge Function |
|---|---|---|---|
| GET | /v3.0/data/places | Search places for destination autocomplete | liteapi-places |
| GET | /v3.0/data/hotel | Fetch full hotel details by hotelId | liteapi-hotel |
| POST | /v3.0/hotels/rates | Search hotel rates by place, hotel ID, or AI vibe | liteapi-rates |
| POST | /v3.0/hotels/prebook | Prebook a selected offer with addons & voucher | liteapi-prebook |
| POST | /v3.0/hotels/book | Complete booking with guest info & payment token | liteapi-book |