Checks if a vehicle is available for rent during a specified date range. Returns true if the vehicle has no overlapping rentals, false otherwise.
Dates must be provided in ISO 8601 format (YYYY-MM-DD). This endpoint checks for any existing rentals that would overlap with the requested period.
Query Parameters
The ID of the vehicle to check availability for
Start date in ISO 8601 format (YYYY-MM-DD)
End date in ISO 8601 format (YYYY-MM-DD)
Response
Returns a boolean value indicating availability.
curl -X GET "https://api.drivex.com/api/rentals/availability?vehicleId=456&start=2026-03-15&end=2026-03-20" \
-H "Authorization: Bearer YOUR_API_KEY"