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
adults
Number of Adults
1,2,3,4
1
1
2
3
4
kids
Number of Children
0,1,2,3,4
0
0
1
2
3
4
childAge1
Age of first child
1-17
1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
childAge2
Age of second child
1-17
1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
childAge3
Age of third child
1-17
1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
childAge4
Age of fourth child
1-17
1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
l1
Origin airport/location.
If it's 3 characters, we'll assume it's a 3 character airport code. Otherwise,
we assume a comma separated list of City, State, Country. If omitted, we will
attempt to determine the nearest airport based on your IP address.
t1
Outbound departure time can be specified as any, morning, afternoon or evening.
a,r,m,n,e,l (for Any, Early, Morning, Noon, Evening, Late)
a
a
r
m
n
e
l
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
Outbound departure Date.
Format specified by field df. (MM/DD/YYYY)
14 days from now.
l2
Destination airport/location.
If it's 3 characters, we'll assume it's a 3 character airport code. Otherwise,
we assume a comma separated list of City, State, Country.
t2
Return departure time can be specified as any, morning, afternoon or evening.
a,r,m,n,e,l (for Any, Early, Morning, Noon, Evening, Late)
a
a
r
m
n
e
l
d2
Return departure Date
Format specified by field df. (MM/DD/YYYY)
21 days from now.