wafa2025/getaround-pricing-api
0
๐ Getaround Pricing API
This project provides a machine learning model to predict the daily rental price of cars on Getaround. The model was trained on car features such as mileage, engine power, fuel type, car type, and available equipment.
๐ Project Deliverables
- โ Deployed dashboard: Streamlit app
- โ GitHub repository with full code
- โ
Online API hosted on Hugging Face with
/predictendpoint
๐ Try the API here: Getaround Pricing API Docs
โ๏ธ How to Use the API
Send a POST request to /predict with car features in JSON format. Example:
curl -X POST "https://wafa2025-getaround-pricing-api.hf.space/predict" \
-H "Content-Type: application/json" \
-d '{
"mileage": 35000,
"engine_power": 150,
"model_key": "audi",
"fuel": "diesel",
"paint_color": "black",
"car_type": "sedan",
"private_parking_available": true,
"has_gps": false,
"has_air_conditioning": true,
"automatic_car": true,
"has_getaround_connect": false,
"has_speed_regulator": true,
"winter_tires": false
}'
{
"predicted_price_per_day": 151.31
}
๐ Tech Stack
Python
Scikit-learn (RandomForestRegressor)
FastAPI
Hugging Face Spaces (Docker)
Streamlit (Dashboard)