1+ {
2+ "id" : " routine_c9f93f1e-0e7a-4a3b-9f4b-9f4d3bb5e6e1" ,
3+ "created_at" : 1730803200 ,
4+ "updated_at" : 1730803200 ,
5+ "name" : " JetBlue One-Way Flight Search (NGB)" ,
6+ "description" : " Navigate to JetBlue booking page and perform a one-way flight search via cb-flight-search/v1/search/NGB using observed headers and dynamic tokens." ,
7+ "operations" : [
8+ {
9+ "type" : " navigate" ,
10+ "url" : " https://www.jetblue.com/booking/flights?from={{origin}}&to={{destination}}&depart={{departure_date}}&isMultiCity=false&noOfRoute=1&adults={{adult_count}}&children=0&infants=0&sharedMarket=false&roundTripFaresFlag=false&usePoints={{award_booking}}"
11+ },
12+ {
13+ "type" : " sleep" ,
14+ "timeout_seconds" : 2.5
15+ },
16+ {
17+ "type" : " fetch" ,
18+ "endpoint" : {
19+ "url" : " https://cb-api.jetblue.com/cb-flight-search/v1/search/NGB" ,
20+ "description" : " Search one-way flights by origin, destination, and departure date (site_code=NGB)." ,
21+ "method" : " POST" ,
22+ "headers" : {
23+ "X-B3-SpanId" : " \" {{sessionStorage:TrueBlueUserSessionStorage.X-B3-SpanId}}\" " ,
24+ "sec-ch-ua-platform" : " \" macOS\" " ,
25+ "Referer" : " https://www.jetblue.com/booking/flights?from={{origin}}&to={{destination}}&depart={{departure_date}}&isMultiCity=false&noOfRoute=1&adults={{adult_count}}&children=0&infants=0&sharedMarket=false&roundTripFaresFlag=false&usePoints={{award_booking}}" ,
26+ "sec-ch-ua" : " \" Chromium\" ;v=\" 142\" , \" Google Chrome\" ;v=\" 142\" , \" Not_A Brand\" ;v=\" 99\" " ,
27+ "sec-ch-ua-mobile" : " ?0" ,
28+ "X-B3-TraceId" : " \" {{sessionStorage:TrueBlueUserSessionStorage.X-B3-TraceId}}\" " ,
29+ "ocp-apim-subscription-key" : " \" {{localStorage:jb-app-config-original.crystalBlueSubscriptionKey}}\" " ,
30+ "Accept" : " application/json, text/plain, */*" ,
31+ "Content-Type" : " application/json" ,
32+ "User-Agent" : " Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36"
33+ },
34+ "body" : {
35+ "awardBooking" : " {{award_booking}}" ,
36+ "travelerTypes" : [
37+ {
38+ "type" : " ADULT" ,
39+ "quantity" : " {{adult_count}}"
40+ }
41+ ],
42+ "searchComponents" : [
43+ {
44+ "from" : " \" {{origin}}\" " ,
45+ "to" : " \" {{destination}}\" " ,
46+ "date" : " \" {{departure_date}}\" "
47+ }
48+ ]
49+ },
50+ "credentials" : " same-origin"
51+ },
52+ "session_storage_key" : " cb.flightSearch.response"
53+ },
54+ {
55+ "type" : " return" ,
56+ "session_storage_key" : " cb.flightSearch.response"
57+ }
58+ ],
59+ "incognito" : true ,
60+ "parameters" : [
61+ {
62+ "name" : " origin" ,
63+ "type" : " string" ,
64+ "required" : true ,
65+ "description" : " IATA/city code for origin (e.g., BOS, XBP)." ,
66+ "default" : null ,
67+ "examples" : [
68+ " BOS" ,
69+ " XBP"
70+ ],
71+ "min_length" : 3 ,
72+ "max_length" : 4 ,
73+ "min_value" : null ,
74+ "max_value" : null ,
75+ "pattern" : " ^[A-Z0-9]{3,4}$" ,
76+ "enum_values" : null ,
77+ "format" : null
78+ },
79+ {
80+ "name" : " destination" ,
81+ "type" : " string" ,
82+ "required" : true ,
83+ "description" : " IATA/city code for destination (e.g., SFO, JFK)." ,
84+ "default" : null ,
85+ "examples" : [
86+ " SFO" ,
87+ " JFK"
88+ ],
89+ "min_length" : 3 ,
90+ "max_length" : 4 ,
91+ "min_value" : null ,
92+ "max_value" : null ,
93+ "pattern" : " ^[A-Z0-9]{3,4}$" ,
94+ "enum_values" : null ,
95+ "format" : null
96+ },
97+ {
98+ "name" : " departure_date" ,
99+ "type" : " date" ,
100+ "required" : true ,
101+ "description" : " Departure date in YYYY-MM-DD." ,
102+ "default" : null ,
103+ "examples" : [
104+ " 2025-12-12"
105+ ],
106+ "min_length" : null ,
107+ "max_length" : null ,
108+ "min_value" : null ,
109+ "max_value" : null ,
110+ "pattern" : " ^\\ d{4}-\\ d{2}-\\ d{2}$" ,
111+ "enum_values" : null ,
112+ "format" : " YYYY-MM-DD"
113+ },
114+ {
115+ "name" : " adult_count" ,
116+ "type" : " integer" ,
117+ "required" : true ,
118+ "description" : " Number of adult travelers." ,
119+ "default" : 1 ,
120+ "examples" : [
121+ 1 ,
122+ 2
123+ ],
124+ "min_length" : null ,
125+ "max_length" : null ,
126+ "min_value" : 1 ,
127+ "max_value" : 9 ,
128+ "pattern" : null ,
129+ "enum_values" : null ,
130+ "format" : null
131+ },
132+ {
133+ "name" : " award_booking" ,
134+ "type" : " boolean" ,
135+ "required" : true ,
136+ "description" : " Use points (true) or cash (false). Injected without quotes." ,
137+ "default" : false ,
138+ "examples" : [
139+ false ,
140+ true
141+ ],
142+ "min_length" : null ,
143+ "max_length" : null ,
144+ "min_value" : null ,
145+ "max_value" : null ,
146+ "pattern" : null ,
147+ "enum_values" : null ,
148+ "format" : null
149+ }
150+ ]
151+ }
0 commit comments