--- title: Credit Card Fraud Detection API emoji: 💳 colorFrom: purple colorTo: pink sdk: docker python_version: 3.10 sdk_version: 29.0.1 app_file: app.py pinned: false --- # Credit Card Fraud Detection API This is an ML API deployed on Hugging Face Spaces using **FastAPI + Docker**. **Endpoints:** - `/docs` → Interactive Swagger UI - `/predict` → Single transaction fraud score - `/predict_multiple` → Batch prediction Models available: `xgboost`, `random_forest`, `decision_tree`