Official Api
latest
  • latest
  • 1.0.0
  1. Bus
Official Api
latest
  • latest
  • 1.0.0
  • Auth
    • Login/Guest Login
      • Auth - Guest
      • Auth - Login
      • Auth - Login (With E-Mail)
    • Register
      • Auth - Register
      • Auth - Register Corporate
    • Remember
      • Auth - Remember Password
      • Auth - Remember Password For E-Mail
      • Auth - Remember Otp Verify
      • Auth - Set New Password
    • Auth Otp Verify
      POST
    • Auth - Logout
      DELETE
    • Auth - State
      GET
  • Customer
    • Passengers
      • Passenger List
      • Passenger Create
      • Passenger Delete
      • Passenger Update
    • invoice Info
      • Invoice Info - List
      • Invoice Info - Create
      • Invoice Info - Delete
      • Invoice Info - Update
    • Favorite Flights
      • Favorites - Flight
      • Favorites - Add Flight
      • Favorites - Delete Flight
      • Favorites - Check for Flight
    • Notifications
      • Notifications - Get
      • Notifications - Update
      • Notifications - Register Device
      • Notifications - Unregister Device
    • Fast Actions
      • Fast Actions - Get Flight Actions
      • Fast Actions - Update Flight Actions
      • Fast Actions - Get Bus Actions
      • Fast Actions - Update Bus Actions
      • Fast Actions - Clear Flight Actions
    • Customer - Get Profile
      GET
    • Customer - Update Profile
      POST
    • Customer - Update Password
      POST
    • Search History - Flight
      GET
    • Customer - Remove Account
      DELETE
  • Utils
    • Calendar - Month
      GET
    • Enums - FlightSearchFilters
      GET
  • Flight
    • Search
      • Domestic
        • One Way / 1 ADT
          • Search Flight
          • Get Job (Flight)
          • Calculate Package Price
          • Allocate
          • Set Passengers
          • Prebooking
        • Round Trip / 1 ADT
          • Search Flight
          • Get Job (Flight)
          • Calculate Price
          • Allocate
          • Set Passengers
          • Prebooking
        • Round Trip / 2 ADT
          • Search Flight
          • Get Job (Flight)
          • Calculate Price
          • Allocate
          • Set Passengers
          • Prebooking
        • Round Trip / 1 ADT (Non package)
          • Search Flight
          • Get Job (Flight)
          • Allocate
          • Set Passengers
          • Prebooking
      • International
        • One Way / 1 ADT
          • Search Flight
          • Get Job (Flight)
          • Calculate Price Copy Copy
          • Allocate
          • Set Passengers
          • Prebooking
          • Payment Types
        • Round Trip / 1 ADT
          • Search Flight
          • Get Job (Flight)
          • Allocate
          • Calculate Price
          • Set Passengers
          • Prebooking
        • Round Trip / 2 ADT
          • Search Flight
          • Get Job (Flight)
          • Calculate Price Copy
          • Allocate
          • Set Passengers
          • Prebooking
      • Search Flight - Filter
    • Price Alerts
      • Flight Alerts - Create
      • Flight Alerts - List
      • Flight Alerts - Delete
      • Flight Alerts - Create/Delete
    • Load Journey (dev only)
  • Bus
    • Bus - Search with Slug
      POST
    • Bus - Search
      POST
    • Get Job (Bus)
      GET
    • Bus - Bus Details
      POST
    • Bus - Check Seat Status
      POST
    • Bus - Set Passengers
      POST
    • Bus - Finalize (Local Dev Only)
      POST
    • Bus - Search - Filter
      POST
    • Bus - Stations
      POST
  • Hotel
    • Hotel - Search by Destination
    • Hotel - Search by Hotel Code
    • Get Job (Hotel)
    • Hotel - Get Hotel Details
    • Hotel - Validate Rooms
    • Hotel - Set Paxes
    • Hotel - Complete (Dev Only)
  • Socket
    • Auth
    • Subscribe Channel/Module
    • Emit Message
    • Search Airports
    • Search Hotels
    • Emit Subscribe Job
  • Auto Completes
    • Airport Search
    • Bus Station Search
    • Hotel Search
  • Queue / Socket
    • Get Job
  • Misc
    • Airlines
    • Countries
    • Popular Cities
    • Currencies
    • Contact Form
    • Check Module Availability
    • Popular Flights
    • Newsletter Subscribe
  • Payment
    • Pay with Account Balance (For Corporate Customers)
      • Payment - Account - Check Availablity
      • Payment - Account - Make Payment
    • Credit Card Storage
      • Saved Cards - List
      • Saved Cards - Add
      • Saved Cards - Delete
    • Pay with Credit Card (New Card)
      • Payment Types - Get All
      • Card Payment - Bin Query
      • Card Payment - Prepare 3D Form (new card)
      • Card Payment - Check Status
    • Pay with Credit Card (Saved Card)
      • Payment Types - Get All
      • Saved Cards - List
      • Card Payment - Bin Query
      • Card Payment - Prepare 3D Form (new card)
      • Card Payment - Check Status
  • Orders
    • Get Orders
    • Get Order
    • Upcoming Travels
    • Check Pnr
    • Check Order Status
  • Blog
    • Blog - Custom Tags
    • Blog - Category
    • Blog - Newest
    • Blog - Categories
    • Blog - Post
  • Contents
    • Kampanyalar
    • Contact Information
    • Gizlilik Sözleşmesi
    • Sık Sorulan Sorular
    • Popular Flights
    • Popular Cities
    • Popular Bus Routes
    • Get Slug Service
    • City - Flight
    • Get Page
  • Refund
    • Flight Refund (Query)
    • Flight Refund (Complete)
  • Notifications
    • Notification List
    • Notification - Mark as Read
  • Checkout
    • Coupons
      • Apply Coupon
      • Remove Coupon
    • Cart
  • Otp Verify
    POST
  • Status
    GET
  1. Bus

Bus - Bus Details

POST
https://test-api.ucuzyolu.com/bus/bus-details

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Header Params

Body Params application/json

Example
{
    "journeyId": "{{journeyId}}",
    "tripId": "{{tripId}}"
}

Request Code 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 POST 'https://test-api.ucuzyolu.com/bus/bus-details' \
--header 'client-id: 302382-1928283273-237723829-292999' \
--header 'Content-Type: application/json' \
--data-raw '{
    "journeyId": "",
    "tripId": ""
}'

Responses

🟢200OK
application/json
Body

Example
{
    "data": {
        "success": true,
        "type": "bus",
        "journeyId": "ex3DCrES3RBGllrOD6NLQWHMrYLrIWGKu6Zg",
        "searchId": "93F09C63-144F-4289-A98F-C18ABF8E7C67",
        "searchStatus": "completed",
        "bookingStatus": "pending",
        "originId": 738,
        "destinationId": 84,
        "origin": "738",
        "destination": "84",
        "results": [
            {
                "tripId": "78D511F6-4CCA-4CF4-8C1D-85E4F0C3611C",
                "providerTripId": "30",
                "tripNumber": "",
                "provider": "biletall",
                "companyId": 133,
                "companyName": "Lüks Afşınlılar Seyahat",
                "dayTime": "Gece",
                "originId": 738,
                "originName": "KAYSERİ",
                "companyLogo": "https://eticket.ipektr.com/wsbos3/LogoVer.Aspx?fnum=133",
                "firstOriginId": 904,
                "firstOriginName": "0",
                "destinationId": 84,
                "destinationName": "ANKARA",
                "lastDestinationId": 84,
                "lastDestinationName": "ANKARA",
                "busModelCode": "TR38",
                "busModel": "",
                "busClass": "0",
                "busPhone": "(___)-___-__-__",
                "busPlate": "",
                "busSeatType": "2+1",
                "hasStopOver": true,
                "totalDuration": "04:30",
                "estimatedDuration": "5-6",
                "durationType": "1",
                "date": "2024-12-29",
                "time": "21:00",
                "price": 350,
                "price1": 350,
                "classDiffPrice": 0,
                "discountedPrice": 350,
                "tripTypeText": "MOLALI",
                "attributes": [
                    0,
                    9,
                    11,
                    14
                ],
                "seatsAvailable": 38,
                "hasSeatSelection": true,
                "routeNumber": "2",
                "routeName": "Afşin ->Kayseri ->Ankara (Aşti) ",
                "tripTrackingNumber": "87570",
                "estimatedArrivalTime": "2024-12-30T01:30:00+03:00",
                "totalPrice": 350
            },
            {
                "tripId": "BBB2E0F0-0E08-4F83-9D48-DD0846871C37",
                "providerTripId": "9",
                "tripNumber": "",
                "provider": "biletall",
                "companyId": 22,
                "companyName": "Lider Elbistan",
                "dayTime": "Gece",
                "originId": 738,
                "originName": "KAYSERİ",
                "companyLogo": "https://eticket.ipektr.com/wsbos3/LogoVer.Aspx?fnum=22",
                "firstOriginId": 909,
                "firstOriginName": "0",
                "destinationId": 84,
                "destinationName": "ANKARA",
                "lastDestinationId": 84,
                "lastDestinationName": "ANKARA",
                "busModelCode": "TR38",
                "busModel": "TRAVEGO 2+1 38 KİŞİLİK",
                "busClass": "0",
                "busPhone": "(___)-___-__-__",
                "busPlate": "",
                "busSeatType": "2+1",
                "hasStopOver": true,
                "totalDuration": "04:30",
                "estimatedDuration": "5-6",
                "durationType": "1",
                "date": "2024-12-29",
                "time": "21:00",
                "price": 350,
                "price1": 350,
                "classDiffPrice": 0,
                "discountedPrice": 350,
                "tripTypeText": "MOLALI",
                "attributes": [],
                "seatsAvailable": 38,
                "hasSeatSelection": true,
                "routeNumber": "1",
                "routeName": "Elbistan ->Kayseri ->Ankara (Aşti) ",
                "tripTrackingNumber": "67963",
                "estimatedArrivalTime": "2024-12-30T01:30:00+03:00",
                "totalPrice": 350
            },
            {
                "tripId": "5FB428E9-E057-45F6-9FC1-9B7A2B5A6AF6",
                "providerTripId": "44",
                "tripNumber": "",
                "provider": "biletall",
                "companyId": 426,
                "companyName": "Muş Yolu Turizm",
                "dayTime": "Gece",
                "originId": 738,
                "originName": "KAYSERİ",
                "companyLogo": "https://eticket.ipektr.com/wsbos3/LogoVer.Aspx?fnum=426",
                "firstOriginId": 65,
                "firstOriginName": "0",
                "destinationId": 84,
                "destinationName": "ANKARA",
                "lastDestinationId": 1316,
                "lastDestinationName": "YALOVA",
                "busModelCode": "2+1T",
                "busModel": "2+1 TREVİGO",
                "busClass": "0",
                "busPhone": "(507)-803-69-49",
                "busPlate": "",
                "busSeatType": "2+1",
                "hasStopOver": tr
Modified at 2025-04-30 01:14:09
Previous
Get Job (Bus)
Next
Bus - Check Seat Status
Built with