CoolFace
Apppublic

amaulf/getaround-pricing-api

sourceHugging Faceupdated 11mo agoView on Hugging Face
0likes
App README

GetAround Pricing API

This API predicts rental prices for cars based on their features.

Model Performance

  • Algorithm: XGBoost
  • Test R2: 0.7575
  • MAE: 10.61 euros

Endpoints

POST /predict

Predict rental price per day for a car.

Example Request:

json
{
  "model_key": "Citroen",
  "mileage": 140000,
  "engine_power": 100,
  "fuel": "diesel",
  "paint_color": "black",
  "car_type": "sedan",
  "private_parking_available": true,
  "has_gps": true,
  "has_air_conditioning": true,
  "automatic_car": false,
  "has_getaround_connect": true,
  "has_speed_regulator": true,
  "winter_tires": false
}

Response:

json
{
  "prediction": 110.21
}

Try it

Visit /docs for interactive API documentation.