> For the complete documentation index, see [llms.txt](https://traveloapi.gitbook.io/api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://traveloapi.gitbook.io/api/car-api/untitled-5.md).

# Car Search Api

## Car Search&#x20;

<mark style="color:blue;">`GET`</mark> `https://traveloapi.com/yourapi/car/carsearch`&#x20;

#### Path Parameters

| Name             | Type   | Description                                                                                                                                                                                         |
| ---------------- | ------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| gatkey           | string | gatkey (provided by traveloapi)Pass gatkey with url                                                                                                                                                 |
| sourceCity       | string | sourceCity                                                                                                                                                                                          |
| destinationCity  | string | destinationCity                                                                                                                                                                                     |
| travelDate       | string | travelDate - The travel date must be entered in the format “d-M-Y”.                                                                                                                                 |
| travelDateEnd    | string | travelDateEnd- The travel date must be entered in the format “d-M-Y”.                                                                                                                               |
| days             | string | days                                                                                                                                                                                                |
| pTime            | string | pTime                                                                                                                                                                                               |
| travelTypeOption | string | travelTypeOption - (1 : Outstation, 2 : Local, 3 : Transfer)                                                                                                                                        |
| tripTypeOption   | string | tripTypeOption - (1:Roundtrip, 2:Oneway, 3:Multicity ), Trip Type Option For Local (4:Full Day, 5:Half Day ), Trip Type Option For Transfer (6:Airport , 7:Railway Station, 8:City Location/Hotel ) |
| yourid           | string | yourid                                                                                                                                                                                              |

{% tabs %}
{% tab title="200 " %}

```javascript
[
  {
    "vehicle": "Tata Indigo",
    "seatingCapacity": 4,
    "sourceCity": "Delhi",
    "perKm": "9.75",
    "extraHourRate": 100,
    "localBasicRate": 1400,
    "nightCharges": 0,
    "vpic": "tata-indigo.jpg",
    "VehicleCategory": "Sedan",
    "serviceTaxAmount": 70,
    "totalAmount": 1470,
    "days": "1",
    "ServiceTax": "5.00",
    "hostUrl": "216.10.243.197",
    "responseCode": 1,
    "advancepayment": 294,
    "balanceamount": 1176
  },
  {
    "vehicle": "Toyota Innova",
    "seatingCapacity": 6,
    "sourceCity": "Delhi",
    "perKm": "13.00",
    "extraHourRate": 120,
    "localBasicRate": 2050,
    "nightCharges": 0,
    "vpic": "toyota-innova.jpg",
    "VehicleCategory": "SUV",
    "serviceTaxAmount": 102.5,
    "totalAmount": 2153,
    "days": "1",
    "ServiceTax": "5.00",
    "hostUrl": "216.10.243.197",
    "advancepayment": 431,
    "balanceamount": 1722
  },
  {
    "vehicle": "Mahindra Xylo",
    "seatingCapacity": 6,
    "sourceCity": "Delhi",
    "perKm": "13.00",
    "extraHourRate": 120,
    "localBasicRate": 2050,
    "nightCharges": 0,
    "vpic": "mahindra-xylo.jpg",
    "VehicleCategory": "SUV",
    "serviceTaxAmount": 102.5,
    "totalAmount": 2153,
    "days": "1",
    "ServiceTax": "5.00",
    "hostUrl": "216.10.243.197",
    "advancepayment": 431,
    "balanceamount": 1722
  },
  {
    "vehicle": "Honda City",
    "seatingCapacity": 4,
    "sourceCity": "Delhi",
    "perKm": "30.00",
    "extraHourRate": 200,
    "localBasicRate": 2800,
    "nightCharges": 0,
    "vpic": "honda-city.jpg",
    "VehicleCategory": "Premium",
    "serviceTaxAmount": 140,
    "totalAmount": 2940,
    "days": "1",
    "ServiceTax": "5.00",
    "hostUrl": "216.10.243.197",
    "advancepayment": 588,
    "balanceamount": 2352
  },
  {
    "vehicle": "Tata Indica",
    "seatingCapacity": 4,
    "sourceCity": "Delhi",
    "perKm": "9.75",
    "extraHourRate": 100,
    "localBasicRate": 1400,
    "nightCharges": 0,
    "vpic": "tata-indica.jpg",
    "VehicleCategory": "Hatchback",
    "serviceTaxAmount": 70,
    "totalAmount": 1470,
    "days": "1",
    "ServiceTax": "5.00",
    "hostUrl": "216.10.243.197",
    "advancepayment": 294,
    "balanceamount": 1176
  },
  {
    "vehicle": "Swift Dzire",
    "seatingCapacity": 4,
    "sourceCity": "Delhi",
    "perKm": "9.75",
    "extraHourRate": 100,
    "localBasicRate": 1400,
    "nightCharges": 0,
    "vpic": "swift-dzire.jpg",
    "VehicleCategory": "Sedan",
    "serviceTaxAmount": 70,
    "totalAmount": 1470,
    "days": "1",
    "ServiceTax": "5.00",
    "hostUrl": "216.10.243.197",
    "advancepayment": 294,
    "balanceamount": 1176
  },
  {
    "vehicle": "Maruti WagonR",
    "seatingCapacity": 4,
    "sourceCity": "Delhi",
    "perKm": "9.75",
    "extraHourRate": 100,
    "localBasicRate": 1400,
    "nightCharges": 0,
    "vpic": "maruti-wagonr.jpg",
    "VehicleCategory": "Hatchback",
    "serviceTaxAmount": 70,
    "totalAmount": 1470,
    "days": "1",
    "ServiceTax": "5.00",
    "hostUrl": "216.10.243.197",
    "advancepayment": 294,
    "balanceamount": 1176
  }
]

```

{% endtab %}

{% tab title="404 " %}

```javascript
{
    "message": "Invalid Request",
    "status": "error",
    
}
```

{% endtab %}
{% endtabs %}
