
CheapFlights Hotels Scraper
7 days trial then $30.00/month - No credit card required now

CheapFlights Hotels Scraper
7 days trial then $30.00/month - No credit card required now
๐ซ Scrape CheapFlights.com Hotels
You can access the CheapFlights Hotels Scraper programmatically from your own applications by using the Apify API. You can choose the language preference from below. To use the Apify API, youโll need an Apify account and your API token, found in Integrations settings in Apify Console.
1{
2 "openapi": "3.0.1",
3 "info": {
4 "version": "0.1",
5 "x-build-id": "OFAiAvR1afe0yUCrq"
6 },
7 "servers": [
8 {
9 "url": "https://api.apify.com/v2"
10 }
11 ],
12 "paths": {
13 "/acts/jupri~cheapflights/run-sync-get-dataset-items": {
14 "post": {
15 "operationId": "run-sync-get-dataset-items-jupri-cheapflights",
16 "x-openai-isConsequential": false,
17 "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
18 "tags": [
19 "Run Actor"
20 ],
21 "requestBody": {
22 "required": true,
23 "content": {
24 "application/json": {
25 "schema": {
26 "$ref": "#/components/schemas/inputSchema"
27 }
28 }
29 }
30 },
31 "parameters": [
32 {
33 "name": "token",
34 "in": "query",
35 "required": true,
36 "schema": {
37 "type": "string"
38 },
39 "description": "Enter your Apify token here"
40 }
41 ],
42 "responses": {
43 "200": {
44 "description": "OK"
45 }
46 }
47 }
48 },
49 "/acts/jupri~cheapflights/runs": {
50 "post": {
51 "operationId": "runs-sync-jupri-cheapflights",
52 "x-openai-isConsequential": false,
53 "summary": "Executes an Actor and returns information about the initiated run in response.",
54 "tags": [
55 "Run Actor"
56 ],
57 "requestBody": {
58 "required": true,
59 "content": {
60 "application/json": {
61 "schema": {
62 "$ref": "#/components/schemas/inputSchema"
63 }
64 }
65 }
66 },
67 "parameters": [
68 {
69 "name": "token",
70 "in": "query",
71 "required": true,
72 "schema": {
73 "type": "string"
74 },
75 "description": "Enter your Apify token here"
76 }
77 ],
78 "responses": {
79 "200": {
80 "description": "OK",
81 "content": {
82 "application/json": {
83 "schema": {
84 "$ref": "#/components/schemas/runsResponseSchema"
85 }
86 }
87 }
88 }
89 }
90 }
91 },
92 "/acts/jupri~cheapflights/run-sync": {
93 "post": {
94 "operationId": "run-sync-jupri-cheapflights",
95 "x-openai-isConsequential": false,
96 "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
97 "tags": [
98 "Run Actor"
99 ],
100 "requestBody": {
101 "required": true,
102 "content": {
103 "application/json": {
104 "schema": {
105 "$ref": "#/components/schemas/inputSchema"
106 }
107 }
108 }
109 },
110 "parameters": [
111 {
112 "name": "token",
113 "in": "query",
114 "required": true,
115 "schema": {
116 "type": "string"
117 },
118 "description": "Enter your Apify token here"
119 }
120 ],
121 "responses": {
122 "200": {
123 "description": "OK"
124 }
125 }
126 }
127 }
128 },
129 "components": {
130 "schemas": {
131 "inputSchema": {
132 "type": "object",
133 "properties": {
134 "location": {
135 "title": "๐งญ Location",
136 "type": "string",
137 "description": ""
138 },
139 "distance": {
140 "title": "๐ Distance (miles)",
141 "type": "string",
142 "description": ""
143 },
144 "prompt": {
145 "title": "โจ Prompt",
146 "type": "string",
147 "description": "๐ก Example: \"I want to see beachfront hotels with pool and a restaurant with high rating.\""
148 },
149 "limit": {
150 "title": "โพ๏ธ Limit",
151 "type": "integer",
152 "description": "๐ก Number of results"
153 },
154 "sort": {
155 "title": "Sorting",
156 "enum": [
157 "rank_a",
158 "price_a",
159 "price_b",
160 "stars_b",
161 "userrating_b",
162 "distance_a"
163 ],
164 "type": "string",
165 "description": ""
166 },
167 "portal": {
168 "title": "๐ Portal (Language)",
169 "enum": [
170 "au",
171 "ca",
172 "hk",
173 "in",
174 "id",
175 "my",
176 "nz",
177 "ph",
178 "qa",
179 "sg",
180 "za",
181 "th",
182 "us",
183 "uy",
184 "ae",
185 "gb"
186 ],
187 "type": "string",
188 "description": ""
189 },
190 "currency": {
191 "title": "๐ฒ Currency",
192 "enum": [
193 "AFN",
194 "ALL",
195 "DZD",
196 "AOA",
197 "ARS",
198 "AMD",
199 "AWG",
200 "AUD",
201 "AZN",
202 "BSD",
203 "BHD",
204 "BDT",
205 "BBD",
206 "BZD",
207 "BMD",
208 "BOB",
209 "BAM",
210 "BWP",
211 "BRL",
212 "GBP",
213 "BND",
214 "BGN",
215 "MMK",
216 "KHR",
217 "CAD",
218 "CVE",
219 "KYD",
220 "XOF",
221 "XAF",
222 "XPF",
223 "CLP",
224 "CNY",
225 "COP",
226 "CDF",
227 "CRC",
228 "CZK",
229 "DKK",
230 "DOP",
231 "XCD",
232 "EGP",
233 "ETB",
234 "EUR",
235 "FJD",
236 "GEL",
237 "GTQ",
238 "GNF",
239 "GYD",
240 "HTG",
241 "HNL",
242 "HKD",
243 "HUF",
244 "ISK",
245 "INR",
246 "IDR",
247 "IQD",
248 "ILS",
249 "JMD",
250 "JPY",
251 "JOD",
252 "KZT",
253 "KES",
254 "KWD",
255 "KGS",
256 "LAK",
257 "LBP",
258 "LSL",
259 "LRD",
260 "LYD",
261 "MOP",
262 "MKD",
263 "MGA",
264 "MYR",
265 "MVR",
266 "MRU",
267 "MUR",
268 "MXN",
269 "MDL",
270 "MNT",
271 "MAD",
272 "MZN",
273 "NAD",
274 "NPR",
275 "ANG",
276 "GHS",
277 "TWD",
278 "NZD",
279 "NIO",
280 "NGN",
281 "NOK",
282 "OMR",
283 "PKR",
284 "PAB",
285 "PGK",
286 "PYG",
287 "PEN",
288 "PHP",
289 "PLN",
290 "QAR",
291 "RON",
292 "SHP",
293 "SAR",
294 "RSD",
295 "SCR",
296 "SGD",
297 "SBD",
298 "ZAR",
299 "KRW",
300 "LKR",
301 "SDG",
302 "SRD",
303 "SZL",
304 "SEK",
305 "CHF",
306 "SYP",
307 "TJS",
308 "TZS",
309 "THB",
310 "TTD",
311 "TND",
312 "TRY",
313 "TVD",
314 "AED",
315 "UGX",
316 "UAH",
317 "USD",
318 "UYU",
319 "UZS",
320 "VUV",
321 "VND",
322 "YER",
323 "ZMW"
324 ],
325 "type": "string",
326 "description": ""
327 },
328 "check_in": {
329 "title": "Check-In Date",
330 "type": "string",
331 "description": ""
332 },
333 "check_out": {
334 "title": "Check-Out Date",
335 "type": "string",
336 "description": ""
337 },
338 "rooms": {
339 "title": "Rooms",
340 "type": "integer",
341 "description": "๐ก Number of rooms"
342 },
343 "adults": {
344 "title": "Adults",
345 "type": "integer",
346 "description": "๐ก Number of adults"
347 },
348 "children": {
349 "title": "Children (Ages 0-17 years)",
350 "type": "array",
351 "description": "๐ก Children ages",
352 "items": {
353 "type": "string"
354 }
355 },
356 "price_mode": {
357 "title": "Price Mode",
358 "enum": [
359 "nightly-base",
360 "nightly-total",
361 "total"
362 ],
363 "type": "string",
364 "description": ""
365 },
366 "price_min": {
367 "title": "Price Range",
368 "type": "integer",
369 "description": ""
370 },
371 "price_max": {
372 "title": "",
373 "type": "integer",
374 "description": ""
375 },
376 "member_rates": {
377 "title": "Member Rates",
378 "type": "boolean",
379 "description": "๐ก Up to 30% off Member only rates."
380 },
381 "private_deals": {
382 "title": "Private Deals",
383 "type": "boolean",
384 "description": "๐ก Up to 30% off Website exclusive rates."
385 },
386 "freebies": {
387 "title": "Freebies",
388 "type": "array",
389 "description": "",
390 "items": {
391 "type": "string",
392 "enum": [
393 "allinclusive",
394 "freebreakfast",
395 "freeparking",
396 "freecancellation",
397 "freeinternet",
398 "freeairportshuttle"
399 ],
400 "enumTitles": [
401 "All Inclusive",
402 "Free Breakfast",
403 "Free Parking",
404 "Free Cancellation",
405 "Free Internet",
406 "Free Airport Shuttle"
407 ]
408 }
409 },
410 "amenities": {
411 "title": "Amenities",
412 "type": "array",
413 "description": "",
414 "items": {
415 "type": "string",
416 "enum": [
417 "24hfrontdesk",
418 "adultsonly",
419 "ac",
420 "shuttle",
421 "beachfront",
422 "bizcenter",
423 "casino",
424 "elevator",
425 "evcharger",
426 "fireplace",
427 "fitness",
428 "gameroom",
429 "golf",
430 "grill",
431 "hairdryer",
432 "hottub",
433 "facilitiesfordisabledguests",
434 "internet",
435 "kitchenette",
436 "linens",
437 "nosmokerooms",
438 "parking",
439 "pets",
440 "pool",
441 "restaurant",
442 "rooftop",
443 "ski",
444 "soapshampooprovided",
445 "spa",
446 "terracepatio",
447 "towels",
448 "wifi"
449 ],
450 "enumTitles": [
451 "24hr front desk",
452 "Adults only",
453 "Air-conditioned",
454 "Airport shuttle",
455 "Beachfront",
456 "Business center",
457 "Casino",
458 "Elevator",
459 "EV charging station",
460 "Fireplace",
461 "Fitness",
462 "Game room",
463 "Golf",
464 "Grill",
465 "Hairdryer",
466 "Hot tub",
467 "Increased accessibility",
468 "Internet",
469 "Kitchen/Kitchenette",
470 "Linens",
471 "Non-smoking rooms",
472 "Parking",
473 "Pet friendly",
474 "Pool",
475 "Restaurant",
476 "Rooftop",
477 "Skiing",
478 "Soap and Shampoo Provided",
479 "Spa",
480 "Terrace/Patio",
481 "Towels",
482 "Wi-Fi"
483 ]
484 }
485 },
486 "stars": {
487 "title": "โญ Hotel Class",
488 "enum": [
489 "2",
490 "3",
491 "4",
492 "5"
493 ],
494 "type": "string",
495 "description": ""
496 },
497 "score": {
498 "title": "๐๏ธ Review Score",
499 "enum": [
500 "6",
501 "7",
502 "8",
503 "9"
504 ],
505 "type": "string",
506 "description": ""
507 },
508 "types": {
509 "title": "Type of stay",
510 "type": "array",
511 "description": "",
512 "items": {
513 "type": "string",
514 "enum": [
515 "hotels",
516 "apthotel",
517 "bb",
518 "guesthouse",
519 "hostel",
520 "hotel",
521 "inn",
522 "motel",
523 "pension",
524 "pousada",
525 "resort",
526 "riad",
527 "ryokan",
528 "rentals",
529 "rental-apartment",
530 "rental-bungalow",
531 "rental-cabin",
532 "rental-chalet",
533 "rental-chateau",
534 "rental-condo",
535 "rental-cottage",
536 "rental-gite",
537 "rental-homestay",
538 "rental-holhome",
539 "rental-lodge",
540 "rental",
541 "rental-studio",
542 "rental-villa",
543 "unique",
544 "accommodation",
545 "rental-agritour",
546 "rental-barn",
547 "rental-boat",
548 "rental-campgrnd",
549 "capsulehotel",
550 "rental-caravan",
551 "rental-caravanpk",
552 "rental-castle",
553 "rental-cavehouse",
554 "rental-cruise",
555 "rental-farmstay",
556 "rental-holpark",
557 "rental-houseboat",
558 "lovehotel",
559 "rental-luxurytnt",
560 "rental-mas",
561 "rental-palace",
562 "rental-ranch",
563 "rental-rv",
564 "rental-residence",
565 "rental-safari",
566 "rental-ss_accomd",
567 "rental-timeshare",
568 "rental-tower",
569 "rental-treehouse"
570 ],
571 "enumTitles": [
572 "๐ข All Hotels",
573 "๐ Aparthotel",
574 "๐ Bed & Breakfast",
575 "๐ Guest house",
576 "๐ Hostel",
577 "๐ Hotel",
578 "๐ Inn",
579 "๐ Motel",
580 "๐ Pension",
581 "๐ Pousada",
582 "๐ Resort",
583 "๐ Riad",
584 "๐ Ryokan",
585 "๐ข All Rentals",
586 "๐ Apartment",
587 "๐ Bungalow",
588 "๐ Cabin",
589 "๐ Chalet",
590 "๐ Chateau",
591 "๐ Condo",
592 "๐ Cottage",
593 "๐ Gรฎte",
594 "๐ Homestay",
595 "๐ House",
596 "๐ Lodge",
597 "๐ Rental",
598 "๐ Studio",
599 "๐ Villa",
600 "๐ข All Unique",
601 "๐ Accommodation",
602 "๐ Agritourism",
603 "๐ Barn",
604 "๐ Boat",
605 "๐ Campground",
606 "๐ Capsule hotel",
607 "๐ Caravan",
608 "๐ Caravan Park",
609 "๐ Castle",
610 "๐ Cave House",
611 "๐ Cruise",
612 "๐ Farm stay",
613 "๐ Holiday Park",
614 "๐ Houseboat",
615 "๐ Love Hotel",
616 "๐ Luxury Tent",
617 "๐ Mas",
618 "๐ Palace",
619 "๐ Ranch",
620 "๐ Recreational Vehicle",
621 "๐ Residence",
622 "๐ Safari/Tentalow",
623 "๐ Self-sufficient Accommodation",
624 "๐ Timeshare",
625 "๐ Tower",
626 "๐ Treehouse"
627 ]
628 }
629 },
630 "style": {
631 "title": "Style",
632 "type": "array",
633 "description": "",
634 "items": {
635 "type": "string",
636 "enum": [
637 "budget",
638 "familyfriendly",
639 "golf",
640 "luxury",
641 "romantic",
642 "spa_wellness",
643 "design"
644 ],
645 "enumTitles": [
646 "Budget",
647 "Family",
648 "Golf",
649 "Luxury",
650 "Romantic",
651 "Spa/Wellness",
652 "Trendy"
653 ]
654 }
655 },
656 "hotel_chain": {
657 "title": "Hotel Chain",
658 "type": "string",
659 "description": "TODO"
660 },
661 "hotel_name": {
662 "title": "Hotel Name",
663 "type": "string",
664 "description": "TODO"
665 },
666 "dev_proxy_config": {
667 "title": "๐ PROXY NETWORKING",
668 "type": "object",
669 "description": "๐ก <b>Supported protocol:</b><br><br><b>HTTP(S), SOCKS5</b><br><code>{http|socks5}://{user:pass}@{hostname|ip-address}:port</code><br><br><b>Example</b>: <code>socks5://example.com:9000</code>"
670 },
671 "dev_custom_headers": {
672 "title": "๐ HTTP HEADERS",
673 "type": "array",
674 "description": "๐ก Additional HTTP Headers",
675 "items": {
676 "type": "object",
677 "required": [
678 "key",
679 "value"
680 ],
681 "properties": {
682 "key": {
683 "type": "string",
684 "title": "Key"
685 },
686 "value": {
687 "type": "string",
688 "title": "Value"
689 }
690 }
691 }
692 },
693 "dev_custom_cookies": {
694 "title": "๐ฐ HTTP COOKIES",
695 "type": "array",
696 "description": "๐ก Additional HTTP Cookies",
697 "items": {
698 "type": "object",
699 "required": [
700 "key",
701 "value"
702 ],
703 "properties": {
704 "key": {
705 "type": "string",
706 "title": "Key"
707 },
708 "value": {
709 "type": "string",
710 "title": "Value"
711 }
712 }
713 }
714 },
715 "dev_transform_fields": {
716 "title": "โป๏ธ CUSTOM FIELD",
717 "type": "array",
718 "description": "๐ก <b>Transform the resulting output. Select only needed fields.</b><br><br>For nested object use <b>DOT</b>. For example: <pre>address.streetAddress</pre><br>For nested array use <b>NUMBER</b> <i>(index of array element starting from index=0)</i>. For example: <pre>images.0.url</pre>",
719 "items": {
720 "type": "object",
721 "required": [
722 "key",
723 "value"
724 ],
725 "properties": {
726 "key": {
727 "type": "string",
728 "title": "Key"
729 },
730 "value": {
731 "type": "string",
732 "title": "Value"
733 }
734 }
735 }
736 },
737 "dev_dataset_name": {
738 "title": "๐ CUSTOM STORAGE",
739 "type": "string",
740 "description": "๐ก <b>Save results into custom named Dataset, use mask to customize dataset name</b><br><br><code>{ACTOR} = actor name<br>{DATE} = date (YYYYMMDD)<br>{TIME} = time (HHMMSS)</code><br><br>This masks can be used to autogenerate Dataset Name.<br><br>example: <i><code>data-{DATE}</code></i><br>Depending on today date the dataset name will be: <code>data-20230603</code><i><br><br>default: <code>data-{ACTOR}-{DATE}-{TIME}</code></i>"
741 },
742 "dev_dataset_clear": {
743 "title": "Clear Storage",
744 "type": "boolean",
745 "description": "Clear Dataset before insert/update."
746 },
747 "dev_no_strip": {
748 "title": "Disable data cleansing",
749 "type": "boolean",
750 "description": "๐ก Keep/Save empty values <i><code>(NULL, FALSE, empty ARRAY, empty OBJECT, empty STRING)</code></i>"
751 }
752 }
753 },
754 "runsResponseSchema": {
755 "type": "object",
756 "properties": {
757 "data": {
758 "type": "object",
759 "properties": {
760 "id": {
761 "type": "string"
762 },
763 "actId": {
764 "type": "string"
765 },
766 "userId": {
767 "type": "string"
768 },
769 "startedAt": {
770 "type": "string",
771 "format": "date-time",
772 "example": "2025-01-08T00:00:00.000Z"
773 },
774 "finishedAt": {
775 "type": "string",
776 "format": "date-time",
777 "example": "2025-01-08T00:00:00.000Z"
778 },
779 "status": {
780 "type": "string",
781 "example": "READY"
782 },
783 "meta": {
784 "type": "object",
785 "properties": {
786 "origin": {
787 "type": "string",
788 "example": "API"
789 },
790 "userAgent": {
791 "type": "string"
792 }
793 }
794 },
795 "stats": {
796 "type": "object",
797 "properties": {
798 "inputBodyLen": {
799 "type": "integer",
800 "example": 2000
801 },
802 "rebootCount": {
803 "type": "integer",
804 "example": 0
805 },
806 "restartCount": {
807 "type": "integer",
808 "example": 0
809 },
810 "resurrectCount": {
811 "type": "integer",
812 "example": 0
813 },
814 "computeUnits": {
815 "type": "integer",
816 "example": 0
817 }
818 }
819 },
820 "options": {
821 "type": "object",
822 "properties": {
823 "build": {
824 "type": "string",
825 "example": "latest"
826 },
827 "timeoutSecs": {
828 "type": "integer",
829 "example": 300
830 },
831 "memoryMbytes": {
832 "type": "integer",
833 "example": 1024
834 },
835 "diskMbytes": {
836 "type": "integer",
837 "example": 2048
838 }
839 }
840 },
841 "buildId": {
842 "type": "string"
843 },
844 "defaultKeyValueStoreId": {
845 "type": "string"
846 },
847 "defaultDatasetId": {
848 "type": "string"
849 },
850 "defaultRequestQueueId": {
851 "type": "string"
852 },
853 "buildNumber": {
854 "type": "string",
855 "example": "1.0.0"
856 },
857 "containerUrl": {
858 "type": "string"
859 },
860 "usage": {
861 "type": "object",
862 "properties": {
863 "ACTOR_COMPUTE_UNITS": {
864 "type": "integer",
865 "example": 0
866 },
867 "DATASET_READS": {
868 "type": "integer",
869 "example": 0
870 },
871 "DATASET_WRITES": {
872 "type": "integer",
873 "example": 0
874 },
875 "KEY_VALUE_STORE_READS": {
876 "type": "integer",
877 "example": 0
878 },
879 "KEY_VALUE_STORE_WRITES": {
880 "type": "integer",
881 "example": 1
882 },
883 "KEY_VALUE_STORE_LISTS": {
884 "type": "integer",
885 "example": 0
886 },
887 "REQUEST_QUEUE_READS": {
888 "type": "integer",
889 "example": 0
890 },
891 "REQUEST_QUEUE_WRITES": {
892 "type": "integer",
893 "example": 0
894 },
895 "DATA_TRANSFER_INTERNAL_GBYTES": {
896 "type": "integer",
897 "example": 0
898 },
899 "DATA_TRANSFER_EXTERNAL_GBYTES": {
900 "type": "integer",
901 "example": 0
902 },
903 "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
904 "type": "integer",
905 "example": 0
906 },
907 "PROXY_SERPS": {
908 "type": "integer",
909 "example": 0
910 }
911 }
912 },
913 "usageTotalUsd": {
914 "type": "number",
915 "example": 0.00005
916 },
917 "usageUsd": {
918 "type": "object",
919 "properties": {
920 "ACTOR_COMPUTE_UNITS": {
921 "type": "integer",
922 "example": 0
923 },
924 "DATASET_READS": {
925 "type": "integer",
926 "example": 0
927 },
928 "DATASET_WRITES": {
929 "type": "integer",
930 "example": 0
931 },
932 "KEY_VALUE_STORE_READS": {
933 "type": "integer",
934 "example": 0
935 },
936 "KEY_VALUE_STORE_WRITES": {
937 "type": "number",
938 "example": 0.00005
939 },
940 "KEY_VALUE_STORE_LISTS": {
941 "type": "integer",
942 "example": 0
943 },
944 "REQUEST_QUEUE_READS": {
945 "type": "integer",
946 "example": 0
947 },
948 "REQUEST_QUEUE_WRITES": {
949 "type": "integer",
950 "example": 0
951 },
952 "DATA_TRANSFER_INTERNAL_GBYTES": {
953 "type": "integer",
954 "example": 0
955 },
956 "DATA_TRANSFER_EXTERNAL_GBYTES": {
957 "type": "integer",
958 "example": 0
959 },
960 "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
961 "type": "integer",
962 "example": 0
963 },
964 "PROXY_SERPS": {
965 "type": "integer",
966 "example": 0
967 }
968 }
969 }
970 }
971 }
972 }
973 }
974 }
975 }
976}
CheapFlights Hotels Scraper OpenAPI definition
OpenAPI is a standard for designing and describing RESTful APIs, allowing developers to define API structure, endpoints, and data formats in a machine-readable way. It simplifies API development, integration, and documentation.
OpenAPI is effective when used with AI agents and GPTs by standardizing how these systems interact with various APIs, for reliable integrations and efficient communication.
By defining machine-readable API specifications, OpenAPI allows AI models like GPTs to understand and use varied data sources, improving accuracy. This accelerates development, reduces errors, and provides context-aware responses, making OpenAPI a core component for AI applications.
You can download the OpenAPI definitions for CheapFlights Hotels Scraper from the options below:
If youโd like to learn more about how OpenAPI powers GPTs, read our blog post.
You can also check out our other API clients:
Actor Metrics
2 monthly users
-
2 bookmarks
>99% runs succeeded
Created in Feb 2025
Modified 2 days ago