API reference · Hotels, cars and cruises
Search rental cars
POST
/v1/cars/searchScope: searchTest mode: sample dataStreams (SSE)
Searches rental cars at an airport or city for the dates given. Leave out dropoff_location to return the car where you picked it up.
- URL
- https://api.pointifytravels.com/v1/cars/search
- Access
- Any key. This endpoint does not need a scope.
- Test keys
- Sample data in the live response shape. Never calls a supplier. Free, up to 60 requests a minute. Test mode
- Live keys
- Each successful call counts toward your daily quota. Limits
Parameters
Body parameters
Sent as a JSON object with Content-Type: application/json.
| Name | In | Type | Required | Default | Description |
|---|---|---|---|---|---|
pickup_location | body | string | Required | - | Airport code or city. |
dropoff_location | body | string | Optional | - | Defaults to the pickup location. |
pickup_date | body | string (YYYY-MM-DD) | Required | - | Pickup date. |
dropoff_date | body | string (YYYY-MM-DD) | Required | - | Drop-off date. |
vehicle_type | body | string | Optional | - | e.g. "economy", "suv". |
Request example
Request
curl -N -X POST "https://api.pointifytravels.com/v1/cars/search" \
-H "Authorization: Bearer $POINTIFY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"pickup_location":"LAX","pickup_date":"2027-01-23","dropoff_date":"2027-01-26"}'Response
A stream of Server-Sent Events. Each event is an event: line and a data: line with JSON, followed by a blank line. complete always arrives last. Reading streams
| Event | Meaning |
|---|---|
progress | A source started or finished. |
result | One car (see the example). |
complete | Always last: { total_results }. |
Example events
text/event-stream
event: progress
data: {"source":"google_cars","status":"searching","result_count":0}
event: result
data: {"id":"car_31","provider":"Hertz","vehicle_type":"economy","vehicle_name":"Toyota Corolla or similar","pickup_location":"LAX","dropoff_location":"LAX","pickup_date":"2027-01-23","dropoff_date":"2027-01-26","price_per_day":42,"total_price":126,"currency":"USD","features":["Automatic","Unlimited mileage"]}
event: complete
data: {"total_results":24}
Errors use the shape in Errors. Invalid input returns 422 with a list of problems.
Try it
Try it
Use a test key. A live key uses your daily quota.No key yet? Create a test key in the dashboard. Test keys are free on every plan.
Path and query values go in the URL; everything else is sent as the JSON body.
POST
https://api.pointifytravels.com/v1/cars/search