Trip.com: Cars Search
Cars Search from Trip.com as JSON. 10 credits per successful call.
GET /v1/trip-com/cars-search
Parameters
Send parameters in the query string.
| Parameter | Type | Required | Allowed values |
|---|---|---|---|
pickup_location | string | Required | Any |
pickup_city_id | integer | Required | Any |
pickup_location_name | string | Required | Up to 120 characters |
pickup_latitude | number | Required | Any |
pickup_longitude | number | Required | Any |
dropoff_location | string | Optional | Any |
dropoff_city_id | integer | Optional | Any |
dropoff_location_name | string | Optional | Up to 120 characters |
dropoff_latitude | number | Optional | Any |
dropoff_longitude | number | Optional | Any |
pickup_datetime | string | Required | Any |
dropoff_datetime | string | Required | Any |
driver_age | integer | Optional | Any |
page | integer | Optional | Any |
page_size | integer | Optional | Any |
car_class | string | Optional | Up to 200 characters |
supplier | string | Optional | Up to 200 characters |
transmission | string | Optional | automatic, manual |
free_cancellation | boolean | Optional | Any |
currency | string | Optional | USD, EUR, GBP, JPY, KRW |
locale | string | Optional | en, en-gb, de, fr, ja, ko, zh-hk |
Example request
curl "https://api.perceptlayer.com/v1/trip-com/cars-search?pickup_location=BKK&pickup_city_id=359&pickup_location_name=Suvarnabhumi+Airport&pickup_latitude=13.681897&pickup_longitude=100.746869&pickup_datetime=2027-03-14T10%3A00&dropoff_datetime=2027-03-18T10%3A00¤cy=USD" \
-H "X-API-Key: $API_KEY"Run this endpoint in the playground with your own parameters. 10 credits per successful call; failed calls are free.