External Variable
Semantics
Range
Default
Example
ai
Affiliate identifier provided by Kayak.com.
Character string. No embedded whitespace or special characters.
Empty string.
p
Optional Sub-Affiliate identifier. This is a
pass-thru value from Kayak's perspective; used by affiliate for
internal promotion tracking if desired.
Character string. No embedded whitespace or special characters.
Empty string.
-none-
promo1
promo2
do
Answers the question: "Should we do the search as opposed to just
pre-populating the search form?".
y,n,on,off
y
y
n
pa
Number of Guests
1,2,3,4
1
1
2
3
4
rm
Number of Rooms
1,2
1
1
2
df
Date format for dates in this request.
us1, mdy, dmy, ymd
us1
us1 (MM/DD/YYYY)
mdy (MM/DD/YYYY)
dmy (DD/MM/YYYY)
ymd (YYYY/MM/DD)
d1
Check-in Date.
Format specified by field df.
d2
Check-out Date.
Format specified by field df.
crc
City, Region, Country combined in single string separated
by commas.
We assume a comma separated list of City, State, Country.
hid
Hotel identifier.
Character string. Digits only. No embedded whitespace or special characters.
You would find hotel identifier by visiting the "hotel details" page for a
particular hotel and seeing the 5 digit id in the URL.
72616 (Paris Hilton)
31420 (The Venetian)
18108 (Chicago Four Seasons)
s
Minimum star rating.
1 through 5. -1 means any
1
2
3
4
5
-1
lmaddr
Landmark Address. Used in conjunction with lmname. Kayak will
try to determine geo-location of the given address and, if successful, will
add that point as the default landmark on the hotel results page.
Address.
lmname
Landmark Name. Used in conjunction with lmaddr. This is the label to be
associated with lmaddr on the resulting map. By default sets map=y.
Text to be used as label on map.
lmzoom
Landmark Zoom. Used in conjunction with lmaddr. This is the
initial google zoom value to be associated with lmaddr on the resulting map.
1-17
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
lmdist
Indicates a maximum distance from which results can be relative to the given landmark.
0.25, 0.5, 1, 2, 5, 10, 15, 20, 25, 50
0.25
0.5
1
2
5
10
15
20
25
50
map
Indicates whether the big map should be displayed on the results page on initial load. 'y' will always display the map, 'n' will never display it. The default is d, which will follow the default behavior of the map display.
y,n,d
d
d
n
y