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
ft
Flight-type indicating oneway or roundtrip.
ow,rt
rt
rt
ow
ns
Answers the question "Is a non-stop flight preferred?"
y,n,on,off
n
y
n
cb
Cabin Class is used to indicate one of economy, business or first.
e, b, f
e
e
b
f
pa
Number of Travelers
1,2,3,4,5,6
1
1
2
3
4
5
6
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.
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.
r1
Answers the question "Show regional/nearby airports for outbound flights?"
y,n,on,off
n
y
n
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.
r2
Answers the question "Show regional/nearby airports for return flights?"
y,n,on,off
n
y
n
b
Brand identifier used to preset the search-results filter so that only
this brand is initially shown in the results.
2 character airline code.