- Auth
- Customer
- Passengers
- invoice Info
- Favorite Flights
- Notifications
- Fast Actions
- Customer - Get ProfileGET
- Customer - Update ProfilePOST
- Customer - Update PasswordPOST
- Search History - FlightGET
- Customer - Remove AccountDELETE
- Utils
- Flight
- Bus
- Hotel
- Socket
- Auto Completes
- Queue / Socket
- Misc
- Payment
- Orders
- Blog
- Contents
- Refund
- Notifications
- Otp VerifyPOST
Popular Flights
Developing
Testing Env
Testing Env
GET
https://test-api.ucuzyolu.com/misc/popularflights
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Header Params
client-id
string
optional
Default:
302382-1928283273-237723829-292999
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://test-api.ucuzyolu.com/misc/popularflights' \
--header 'client-id: 302382-1928283273-237723829-292999'
Responses
🟢200OK
application/json
Body
data
array [object {12}]
required
origin
string
required
destination
string
required
date
string
required
flightType
string
required
originIsCity
integer
required
destinationIsCity
integer
required
originName
string | null
required
originCity
string
required
destinationName
string
required
destinationCity
string | null
required
lowestPrice
integer
required
popCount
integer
required
success
boolean
required
code
integer
required
message
string
required
Example
{
"data": [
{
"origin": "IST",
"destination": "JFK",
"date": "2024-10-26",
"flightType": "roundtrip",
"originIsCity": 1,
"destinationIsCity": 0,
"originName": "Atatürk Havalimanı",
"originCity": "Istanbul",
"destinationName": "John F. Kennedy Uluslararası Havalimanı",
"destinationCity": null,
"lowestPrice": 0,
"popCount": 12
},
{
"origin": "IST",
"destination": "VAS",
"date": "2024-10-26",
"flightType": "roundtrip",
"originIsCity": 1,
"destinationIsCity": 0,
"originName": "Atatürk Havalimanı",
"originCity": "Istanbul",
"destinationName": "Nuri Demirağ Havalimanı",
"destinationCity": "Sivas",
"lowestPrice": 0,
"popCount": 11
},
{
"origin": "LON",
"destination": "IST",
"date": "2024-11-26",
"flightType": "oneway",
"originIsCity": 1,
"destinationIsCity": 1,
"originName": null,
"originCity": "London",
"destinationName": "Atatürk Havalimanı",
"destinationCity": "Istanbul",
"lowestPrice": 0,
"popCount": 2
},
{
"origin": "IST",
"destination": "ESB",
"date": "2024-10-05",
"flightType": "oneway",
"originIsCity": 1,
"destinationIsCity": 0,
"originName": "Atatürk Havalimanı",
"originCity": "Istanbul",
"destinationName": "Esenboğa Havalimanı",
"destinationCity": null,
"lowestPrice": 0,
"popCount": 85
},
{
"origin": "IST",
"destination": "LHR",
"date": "2024-11-30",
"flightType": "oneway",
"originIsCity": 1,
"destinationIsCity": 0,
"originName": "Atatürk Havalimanı",
"originCity": "Istanbul",
"destinationName": "Heathrow Havalimanı",
"destinationCity": null,
"lowestPrice": 0,
"popCount": 14
},
{
"origin": "IST",
"destination": "ADB",
"date": "2024-10-26",
"flightType": "roundtrip",
"originIsCity": 1,
"destinationIsCity": 0,
"originName": "Atatürk Havalimanı",
"originCity": "Istanbul",
"destinationName": "Adnan Menderes Havalimanı",
"destinationCity": null,
"lowestPrice": 0,
"popCount": 41
}
],
"success": true,
"code": 0,
"message": ""
}
Modified at 2024-11-20 02:05:15