ABCDEFGHIJKLMNOPQRSTUVWXYZ
1
2
New York: eyJlIjoiMjc1Mzc1NDIiLCJzIjoiTllDQSIsImgiOiIyNzUzNzU0MiIsInQiOiJDSVRZIn0=
3
Atlanta (Any): eyJlIjoiMjc1NDE3MzUiLCJzIjoiQVRMQSIsImgiOiIyNzU0MTczNSIsInQiOiJDSVRZIn0=
4
5
6
For example, you search for flights from New York to Atlanta (Any) in March 2024
7
8
The search interface in the Skyscanner app
Call the API from RapidAPI
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
The returned results include the list of flights and their departure dates
31
For example, let's select March 20, 2024
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
Use the endpoint /flights/search-one-way to search for a list of flights for a specific date March 20, 2024)
52
53
Please note that:
54
fromEntityId: id of New York: eyJlIjoiMjc1Mzc1NDIiLCJzIjoiTllDQSIsImgiOiIyNzUzNzU0MiIsInQiOiJDSVRZIn0=
55
toEntityId: The ID obtained from the image above
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
In case the 'status' is 'incomplete'
77
You need to use the endpoint flights/search-incomplete multiple times
78
until the 'status' becomes 'complete' to retrieve all the flights
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100