Logo Lanfrica
  • Home
  • Atlas
  • Insights
  • Docs
  • Sign in

© 2026 Lanfrica. All rights reserved. All copyrights of the resources shown on the Lanfrica website belong to the original copyright holders, unless explicitly stated otherwise.

EmmanuelOchieng01/mobile-lending-risk-kenya

Domain:

socioeconomic
Creator:
Emm
Host:
ML credit scoring API for mobile lending in Kenya # 🇰🇪 Mobile Lending Risk API - Kenya ## Problem Definition Across Kenya, mobile lending has become the everyday bank for millions — fast, digital, and accessible through a few taps. But while lending has gone mobile, risk assessment hasn’t kept up. Many platforms still depend on outdated rules or guesswork, leading to poor credit decisions, high defaults, and unfair loan rejections. This project builds a smarter alternative: a machine-learning API that reads real financial behavior — especially M-PESA transactions — to instantly predict a borrower’s credit risk. It gives lenders a data-driven, explainable, and human-centered way to decide who gets credit, creating a more inclusive and transparent digital lending ecosystem for Kenya. ML-powered credit scoring API for mobile lending in Kenya with M-PESA integration. ## Live Demo **API**: [Will be added after deployment] **Docs**: [Will be added after deployment]/docs ## Features - Real-time credit risk prediction - M-PESA transaction analysis - REST API with automatic documentation - Kenya-specific features ## Quick Start ### Local Setup ```bash # Install dependencies pip install -r requirements.txt # Run API cd api uvicorn main:app --reload ``` Visit: localhost ### Test API ```bash curl -X POST "localhost" \ -H "Content-Type: application/json" \ -d '{ "age": 32, "monthly_income": 45000, "loan_amount": 50000, "loan_term_months": 12, "existing_loans": 1, "previous_defaults": 0, "employment_status": "employed", "education_level": "university", "dependents": 2, "mpesa_transactions_monthly": 45, "mpesa_average_balance": 15000, "mpesa_savings_rate": 0.15 }' ``` ## API Endpoints | Endpoint | Method | Description | |----------|--------|-------------| | `/` | GET | API information | | `/health` | GET | Health check | | `/predict` | POST | Score loan applicant | ## Example Response ```json { "app …

Visit

github.com

Languages

Lusengo

Licenses

MIT

Similar

EmmanuelOchieng01/kenya-agro-weather-predictorCredit Risk and Lending Performance of Commercial Banks in Kenyaadetunjiadesibikan/nigeria-digital-lending-credit-riskEmmanuelOchieng01/african-agro-data-exchangeDeterminants of agri-lending in KenyaChege-jr0/Kenya-s-Digital-Lending-Boom

EmmanuelOchieng01/kenya-agro-weather-predictor

AI-powered crop yield prediction for Kenyan farmers using ML # Kenya Agro-Weather Yield Predictor

Credit Risk and Lending Performance of Commercial Banks in Kenya

Abstract Credit risk poses substantial exposure both to the banks and the economy; a scena

adetunjiadesibikan/nigeria-digital-lending-credit-risk

SQL + Power BI credit risk intelligence dashboard modelling portfolio monitoring for a Nigerian digi

EmmanuelOchieng01/african-agro-data-exchange

# African Agro Data Exchange A comprehensive data platform for African agriculture - aggregating yi

Determinants of agri-lending in Kenya

Purpose The purpose of this paper is to examine the factors that influence financial institutions’

Chege-jr0/Kenya-s-Digital-Lending-Boom

A Data Driven Analysis of Digital Credit, Over-Indebtness, and Borrower Risk in Kenya(2019 - 2025).