- 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
- Checkout
- Otp VerifyPOST
- StatusGET
Popular Bus Routes
Developing
GET
https://test-api.ucuzyolu.com/content/popularsbus
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Query Params
module
string
required
Example:
flight
category
string
required
Example:
popular
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/content/popularsbus?module=flight&category=popular' \
--header 'client-id: 302382-1928283273-237723829-292999'
Responses
🟢200OK
application/json
Body
data
array [object {15}]
required
id
integer
required
module
null
required
category
string
required
name
string
required
origin
string
required
destination
string
required
image
string
required
price
string
required
order
integer
required
home
boolean
required
busCompany
array[string]
required
busCompanyId
integer | null
required
departureDateSelection
string
required
departureDate
null
required
isActive
boolean
required
success
boolean
required
code
integer
required
message
string
required
Example
{
"data": [
{
"id": 1,
"module": null,
"category": "popular",
"name": "İstanbul - Ankara",
"origin": "istanbul-anadolu",
"destination": "ankara-asti",
"image": "https://s3-api.ucuzyolu.com/public/1735529646-ankara.jpg",
"price": "210.00",
"order": 9999,
"home": true,
"busCompanyId": -24,
"departureDateSelection": "today",
"departureDate": null,
"isActive": true,
"busCompany": {
"id": -24,
"name": "Sivas Huzur Turizm",
"slug": "sivas-huzur-turizm",
"logo": "https://eticket.ipektr.com/wsbos3/LogoVer.Aspx?fnum=-24",
"phone": null,
"email": null,
"busCount": 0,
"serviceFee": 0
}
},
{
"id": 2,
"module": null,
"category": "popular",
"name": "Sivas",
"origin": "istanbul-anadolu",
"destination": "sivas",
"image": "https://s3-api.ucuzyolu.com/public/1735573764-sivas-gece.jpg",
"price": "1350.00",
"order": 9999,
"home": true,
"busCompanyId": -24,
"departureDateSelection": "today",
"departureDate": null,
"isActive": true,
"busCompany": {
"id": -24,
"name": "Sivas Huzur Turizm",
"slug": "sivas-huzur-turizm",
"logo": "https://eticket.ipektr.com/wsbos3/LogoVer.Aspx?fnum=-24",
"phone": null,
"email": null,
"busCount": 0,
"serviceFee": 0
}
},
{
"id": 3,
"module": null,
"category": "popular",
"name": "Kars",
"origin": "istanbul-avrupa",
"destination": "kars",
"image": "https://s3-api.ucuzyolu.com/public/1735530620-kars-castle-4897x3265px-300-dpi-kopya.jpg",
"price": "0.00",
"order": 9999,
"home": true,
"busCompanyId": null,
"departureDateSelection": "today",
"departureDate": null,
"isActive": true,
"busCompany": null
},
{
"id": 4,
"module": null,
"category": "advantage",
"name": "Antalya",
"origin": "istanbul-avrupa",
"destination": "antalya",
"image": "https://s3-api.ucuzyolu.com/public/1735575602-antalya-gezilecek-yerler-1.jpg",
"price": "0.00",
"order": 9999,
"home": true,
"busCompanyId": null,
"departureDateSelection": "today",
"departureDate": null,
"isActive": true,
"busCompany": null
}
],
"success": true,
"code": 0,
"message": ""
}
Modified at 2024-12-30 14:49:22