API for discovering vehicle availability and pricing for the Lucky Rentals booking system.
Try the API in your browser with Swagger UI. Test endpoints and see responses in real-time.
View the raw OpenAPI 3.0.3 specification in YAML format.
https://luckyrentals.co.nz/api/agentCurrently, the API is publicly accessible. No authentication required for read-only operations.
100 requests per 60 seconds per IP address.
Rate limit headers are included in responses: X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset
GET /api/agent/depotsGet available pickup/dropoff locations
GET /api/agent/vehicles/availabilityFind available vehicles for specific dates and locations
GET /api/agent/vehicles/{vehicleId}/accessoriesGET /api/agent/vehicles/{vehicleId}/insurance-typesGet available accessories and insurance options
GET /api/agent/quotesGenerate final pricing with selected options
curl -X GET "https://luckyrentals.co.nz/api/agent/depots" \ -H "Accept: application/json"
[
{
"id": 1,
"name": "Auckland Airport",
"pickup_times": [...],
"drop_off_times": [...],
"opening_hours_description": "Weekdays 9am-5pm"
}
]Questions or issues? Contact info@luckyrentals.co.nz