![Skyscanner API (Flights) avatar](https://images.apifyusercontent.com/UWryvVKBO-OCynrWWV8G3aCTB96oWwopkd3D7hXCzYo/rs:fill:250:250/cb:1/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMudXMtZWFzdC0xLmFtYXpvbmF3cy5jb20vd0lmYmxFaWU3T0YwZE9zM0MvY2hNY1VQUk1oUjByY2kwd1Itc2t5c2Nhbm5lci5wbmc.webp)
Skyscanner API (Flights)
3 days trial then $12.00/month - No credit card required now
![Skyscanner API (Flights)](https://images.apifyusercontent.com/UWryvVKBO-OCynrWWV8G3aCTB96oWwopkd3D7hXCzYo/rs:fill:250:250/cb:1/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMudXMtZWFzdC0xLmFtYXpvbmF3cy5jb20vd0lmYmxFaWU3T0YwZE9zM0MvY2hNY1VQUk1oUjByY2kwd1Itc2t5c2Nhbm5lci5wbmc.webp)
Skyscanner API (Flights)
3 days trial then $12.00/month - No credit card required now
Get the best flight itineraries and calendar prices from Skyscanner! Supports one-way and round trips with various filters. It's fast and costs little!
You can access the Skyscanner API (Flights) 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": "1.4",
5 "x-build-id": "huzmgo9gubpaACQuk"
6 },
7 "servers": [
8 {
9 "url": "https://api.apify.com/v2"
10 }
11 ],
12 "paths": {
13 "/acts/canadesk~skyscanner-flights-api/run-sync-get-dataset-items": {
14 "post": {
15 "operationId": "run-sync-get-dataset-items-canadesk-skyscanner-flights-api",
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/canadesk~skyscanner-flights-api/runs": {
50 "post": {
51 "operationId": "runs-sync-canadesk-skyscanner-flights-api",
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/canadesk~skyscanner-flights-api/run-sync": {
93 "post": {
94 "operationId": "run-sync-canadesk-skyscanner-flights-api",
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 "required": [
134 "process",
135 "market",
136 "adults",
137 "classtype"
138 ],
139 "properties": {
140 "market": {
141 "title": "Market",
142 "enum": [
143 "United States",
144 "Afghanistan",
145 "Albania",
146 "Algeria",
147 "American Samoa",
148 "Angola",
149 "Anguilla",
150 "Antarctica",
151 "Antigua and Barbuda",
152 "Argentina",
153 "Armenia",
154 "Aruba",
155 "Australia",
156 "Azerbaijan",
157 "Bahamas",
158 "Bahrain",
159 "Bangladesh",
160 "Barbados",
161 "België",
162 "Belize",
163 "Benin",
164 "Bermuda",
165 "Bhutan",
166 "Bolivia",
167 "Bosnia and Herzegovina",
168 "Botswana",
169 "Brasil",
170 "British Virgin Islands",
171 "Brunei",
172 "Burkina Faso",
173 "Burundi",
174 "Cambodia",
175 "Cameroon",
176 "Canada",
177 "Cape Verde",
178 "Caribbean Netherlands",
179 "Cayman Islands",
180 "Central African Republic",
181 "Chad",
182 "Chile",
183 "Christmas Island",
184 "Città del Vaticano",
185 "Cocos (Keeling) Islands",
186 "Colombia",
187 "Comoros",
188 "Congo",
189 "Cook Islands",
190 "Costa Rica",
191 "Cuba",
192 "Curacao",
193 "DR Congo",
194 "Danmark",
195 "Deutschland",
196 "Djibouti",
197 "Dominica",
198 "East Timor",
199 "Ecuador",
200 "Egypt",
201 "El Salvador",
202 "Equatorial Guinea",
203 "Eritrea",
204 "España",
205 "Estonia",
206 "Ethiopia",
207 "Falkland Islands",
208 "Faroe Islands",
209 "Fiji",
210 "France",
211 "French Polynesia",
212 "Fürstentum Liechtenstein",
213 "Gabon",
214 "Gambia",
215 "Georgia",
216 "Ghana",
217 "Gibraltar",
218 "Greenland",
219 "Grenada",
220 "Guadeloupe",
221 "Guam",
222 "Guatemala",
223 "Guernsey",
224 "Guinea",
225 "Guinea-Bissau",
226 "Guyana",
227 "Guyane Française",
228 "Haiti",
229 "Honduras",
230 "Hrvatska",
231 "Iceland",
232 "India",
233 "Indonesia",
234 "Iran",
235 "Iraq",
236 "Ireland",
237 "Israel",
238 "Italia",
239 "Ivory Coast",
240 "Jamaica",
241 "Jordan",
242 "Kazakhstan",
243 "Kenya",
244 "Kiribati",
245 "Kosovo",
246 "Kuwait",
247 "Kyrgyzstan",
248 "Laos",
249 "Latvia",
250 "Lebanon",
251 "Lesotho",
252 "Liberia",
253 "Libya",
254 "Lithuania",
255 "Luxembourg",
256 "Macau",
257 "Madagascar",
258 "Magyarország",
259 "Malawi",
260 "Malaysia",
261 "Maldives",
262 "Mali",
263 "Malta",
264 "Marshall Islands",
265 "Martinique",
266 "Mauritania",
267 "Mauritius",
268 "Mayotte",
269 "Micronesia",
270 "Moldova",
271 "Monaco",
272 "Mongolia",
273 "Montenegro",
274 "Montserrat",
275 "Morocco",
276 "Mozambique",
277 "Myanmar",
278 "México",
279 "Namibia",
280 "Nauru",
281 "Nederland",
282 "Nepal",
283 "New Caledonia",
284 "New Zealand",
285 "Nicaragua",
286 "Niger",
287 "Nigeria",
288 "Niue",
289 "Norge",
290 "North Korea",
291 "Northern Mariana Islands",
292 "Oman",
293 "Pakistan",
294 "Palau",
295 "Palestinian Territories",
296 "Panamá",
297 "Papua New Guinea",
298 "Paraguay",
299 "Perú",
300 "Philippines",
301 "Polska",
302 "Portugal",
303 "Principat d'Andorra",
304 "Puerto Rico",
305 "Qatar",
306 "Republic of Macedonia",
307 "República Dominicana",
308 "Reunion",
309 "România",
310 "Rwanda",
311 "Saint Barthelemy",
312 "Saint Kitts and Nevis",
313 "Saint Lucia",
314 "Saint Vincent and the Grenadines",
315 "Samoa",
316 "Sao Tome and Principe",
317 "Saudi Arabia",
318 "Schweiz",
319 "Senegal",
320 "Serbia",
321 "Seychelles",
322 "Sierra Leone",
323 "Singapore",
324 "Slovenia",
325 "Slovensko",
326 "Solomon Islands",
327 "Somalia",
328 "South Africa",
329 "South Georgia and the South Sandwich Islands",
330 "South Sudan",
331 "Sri Lanka",
332 "St Maarten",
333 "St. Helena",
334 "St. Pierre and Miquelon",
335 "Sudan",
336 "Suomi",
337 "Suriname",
338 "Sverige",
339 "Swaziland",
340 "Syria",
341 "Tajikistan",
342 "Tanzania",
343 "Togo",
344 "Tonga",
345 "Trinidad and Tobago",
346 "Tunisia",
347 "Turkmenistan",
348 "Turks and Caicos Islands",
349 "Tuvalu",
350 "Türkiye",
351 "US Virgin Islands",
352 "Uganda",
353 "United Arab Emirates",
354 "United Kingdom",
355 "Uruguay",
356 "Uzbekistan",
357 "Vanuatu",
358 "Venezuela",
359 "Việt Nam",
360 "Wallis and Futuna Islands",
361 "Yemen",
362 "Zambia",
363 "Zimbabwe",
364 "Österreich",
365 "Česká republika",
366 "Ελλάδα",
367 "Κύπρος",
368 "Беларусь",
369 "България",
370 "Россия",
371 "Україна",
372 "ไทย",
373 "中国",
374 "台灣",
375 "日本",
376 "香港",
377 "대한민국"
378 ],
379 "type": "string",
380 "description": "Simulates user country.",
381 "default": "United States"
382 },
383 "process": {
384 "title": "Process",
385 "enum": [
386 "gfp",
387 "gfa",
388 "gcm",
389 "gcd"
390 ],
391 "type": "string",
392 "description": "",
393 "default": "gfp"
394 },
395 "direct": {
396 "title": "Direct flights only",
397 "type": "boolean",
398 "description": "",
399 "default": false
400 },
401 "origin": {
402 "title": "Flight origin",
403 "type": "string",
404 "description": "E.g., LAX or Los Angeles"
405 },
406 "destination": {
407 "title": "Flight destination",
408 "type": "string",
409 "description": "E.g., LAS or Las Vegas."
410 },
411 "datefrom": {
412 "title": "Departure date",
413 "type": "string",
414 "description": "Format: YYMMDD."
415 },
416 "dateto": {
417 "title": "Return date",
418 "type": "string",
419 "description": "Leave empty for one-way flights. Format: YYMMDD."
420 },
421 "adults": {
422 "title": "Number of adults",
423 "minimum": 1,
424 "maximum": 8,
425 "type": "integer",
426 "description": "",
427 "default": 1
428 },
429 "children": {
430 "title": "Number of children",
431 "type": "array",
432 "description": "Must be of type INT < 16. Maximum 8 entries."
433 },
434 "classtype": {
435 "title": "Cabin class",
436 "enum": [
437 "economy",
438 "premiumeconomy",
439 "business",
440 "first"
441 ],
442 "type": "string",
443 "description": "",
444 "default": "economy"
445 },
446 "nearby": {
447 "title": "Nearby airports",
448 "enum": [
449 "none",
450 "all",
451 "from",
452 "to"
453 ],
454 "type": "string",
455 "description": "",
456 "default": "none"
457 },
458 "format": {
459 "title": "Save on usage cost",
460 "type": "boolean",
461 "description": "Wraps all results in a single row.",
462 "default": true
463 },
464 "delay": {
465 "title": "Delay",
466 "minimum": 1,
467 "maximum": 30,
468 "type": "integer",
469 "description": "Waiting time between requests.",
470 "default": 3
471 },
472 "retries": {
473 "title": "Retries",
474 "minimum": 1,
475 "maximum": 5,
476 "type": "integer",
477 "description": "Number of retries after failure.",
478 "default": 3
479 },
480 "proxy": {
481 "title": "Proxy configuration",
482 "type": "object",
483 "description": "Select proxies to be used by your crawler."
484 }
485 }
486 },
487 "runsResponseSchema": {
488 "type": "object",
489 "properties": {
490 "data": {
491 "type": "object",
492 "properties": {
493 "id": {
494 "type": "string"
495 },
496 "actId": {
497 "type": "string"
498 },
499 "userId": {
500 "type": "string"
501 },
502 "startedAt": {
503 "type": "string",
504 "format": "date-time",
505 "example": "2025-01-08T00:00:00.000Z"
506 },
507 "finishedAt": {
508 "type": "string",
509 "format": "date-time",
510 "example": "2025-01-08T00:00:00.000Z"
511 },
512 "status": {
513 "type": "string",
514 "example": "READY"
515 },
516 "meta": {
517 "type": "object",
518 "properties": {
519 "origin": {
520 "type": "string",
521 "example": "API"
522 },
523 "userAgent": {
524 "type": "string"
525 }
526 }
527 },
528 "stats": {
529 "type": "object",
530 "properties": {
531 "inputBodyLen": {
532 "type": "integer",
533 "example": 2000
534 },
535 "rebootCount": {
536 "type": "integer",
537 "example": 0
538 },
539 "restartCount": {
540 "type": "integer",
541 "example": 0
542 },
543 "resurrectCount": {
544 "type": "integer",
545 "example": 0
546 },
547 "computeUnits": {
548 "type": "integer",
549 "example": 0
550 }
551 }
552 },
553 "options": {
554 "type": "object",
555 "properties": {
556 "build": {
557 "type": "string",
558 "example": "latest"
559 },
560 "timeoutSecs": {
561 "type": "integer",
562 "example": 300
563 },
564 "memoryMbytes": {
565 "type": "integer",
566 "example": 1024
567 },
568 "diskMbytes": {
569 "type": "integer",
570 "example": 2048
571 }
572 }
573 },
574 "buildId": {
575 "type": "string"
576 },
577 "defaultKeyValueStoreId": {
578 "type": "string"
579 },
580 "defaultDatasetId": {
581 "type": "string"
582 },
583 "defaultRequestQueueId": {
584 "type": "string"
585 },
586 "buildNumber": {
587 "type": "string",
588 "example": "1.0.0"
589 },
590 "containerUrl": {
591 "type": "string"
592 },
593 "usage": {
594 "type": "object",
595 "properties": {
596 "ACTOR_COMPUTE_UNITS": {
597 "type": "integer",
598 "example": 0
599 },
600 "DATASET_READS": {
601 "type": "integer",
602 "example": 0
603 },
604 "DATASET_WRITES": {
605 "type": "integer",
606 "example": 0
607 },
608 "KEY_VALUE_STORE_READS": {
609 "type": "integer",
610 "example": 0
611 },
612 "KEY_VALUE_STORE_WRITES": {
613 "type": "integer",
614 "example": 1
615 },
616 "KEY_VALUE_STORE_LISTS": {
617 "type": "integer",
618 "example": 0
619 },
620 "REQUEST_QUEUE_READS": {
621 "type": "integer",
622 "example": 0
623 },
624 "REQUEST_QUEUE_WRITES": {
625 "type": "integer",
626 "example": 0
627 },
628 "DATA_TRANSFER_INTERNAL_GBYTES": {
629 "type": "integer",
630 "example": 0
631 },
632 "DATA_TRANSFER_EXTERNAL_GBYTES": {
633 "type": "integer",
634 "example": 0
635 },
636 "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
637 "type": "integer",
638 "example": 0
639 },
640 "PROXY_SERPS": {
641 "type": "integer",
642 "example": 0
643 }
644 }
645 },
646 "usageTotalUsd": {
647 "type": "number",
648 "example": 0.00005
649 },
650 "usageUsd": {
651 "type": "object",
652 "properties": {
653 "ACTOR_COMPUTE_UNITS": {
654 "type": "integer",
655 "example": 0
656 },
657 "DATASET_READS": {
658 "type": "integer",
659 "example": 0
660 },
661 "DATASET_WRITES": {
662 "type": "integer",
663 "example": 0
664 },
665 "KEY_VALUE_STORE_READS": {
666 "type": "integer",
667 "example": 0
668 },
669 "KEY_VALUE_STORE_WRITES": {
670 "type": "number",
671 "example": 0.00005
672 },
673 "KEY_VALUE_STORE_LISTS": {
674 "type": "integer",
675 "example": 0
676 },
677 "REQUEST_QUEUE_READS": {
678 "type": "integer",
679 "example": 0
680 },
681 "REQUEST_QUEUE_WRITES": {
682 "type": "integer",
683 "example": 0
684 },
685 "DATA_TRANSFER_INTERNAL_GBYTES": {
686 "type": "integer",
687 "example": 0
688 },
689 "DATA_TRANSFER_EXTERNAL_GBYTES": {
690 "type": "integer",
691 "example": 0
692 },
693 "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
694 "type": "integer",
695 "example": 0
696 },
697 "PROXY_SERPS": {
698 "type": "integer",
699 "example": 0
700 }
701 }
702 }
703 }
704 }
705 }
706 }
707 }
708 }
709}
Skyscanner API (Flights) 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 Skyscanner API (Flights) 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
6 monthly users
-
2 stars
96% runs succeeded
Created in Dec 2024
Modified 2 months ago