Built by a farmer's daughter. For 140 million farmers who deserve the same market intelligence that big traders already have.
A farmer in Odisha harvests his mango crop. He has two choices:
- Sell today at whatever the local trader offers
- Wait โ and risk the crop spoiling
He has no data. No prediction. No idea that the same mango sells for โน12,000/quintal just 2 districts away.
This is the daily reality of 140 million Indian farmers.
"The greatest value loss for farmers occurs not on the field but in the marketplace. Price discovery, not yield, is the biggest unsolved problem in Indian agriculture."
| Home Screen | Live Prices | Smart Advice |
|---|---|---|
![]() |
![]() |
![]() |
| Feature | Description |
|---|---|
| ๐ Live Mandi Prices | Real-time data from AGMARKNET government API |
| ๐ค Smart Sell Advice | "Best price at Ahmedgarh APMC โ sell there now" |
| ๐ Transport Calculator | Net profit after travel cost โ "Worth it / Not worth it" |
| ๐ Best Mandi Finder | Automatically identifies highest paying market |
| ๐ฎ๐ณ Hindi Language | Complete Hindi UI with one tap toggle |
| ๐ค Voice Input | Speak crop name โ works in Hindi and English |
| ๐ Price Comparison | Bar chart comparing prices across 10+ mandis |
\\dart // Smart advice โ not just "highest price" // Considers price variance across mandis
double percentAboveAvg = ((maxPrice - avgPrice) / avgPrice) * 100;
if (percentAboveAvg > 20) return 'SELL'; // Clear opportunity
if (avgPrice > 2500 && variance < 10) return 'SELL'; // Stable high price
if (avgPrice < 1500 && variance < 10) return 'WAIT'; // Low โ wait for better
if (percentAboveAvg > 10) return 'WAIT'; // Better price coming
// Transport Profit Logic double netProfit = (price ร quantity) - (distance ร costPerKm); bool worthIt = netProfit > (totalRevenue ร 0.7); \\
\
Frontend: Flutter (Dart)
Data Source: AGMARKNET API (Ministry of Agriculture, India)
Charts: fl_chart
Storage: shared_preferences
Voice: speech_to_text
HTTP: http package
Platform: Android (tested on real device)
\\
\
API: AGMARKNET โ data.gov.in
Provider: Ministry of Agriculture, Government of India
Update frequency: Daily
Coverage: 3,000+ mandis across India
Fields: Crop, State, District, Market, Min/Max/Modal Price
Cost: Free (Open Government Data)
\\
\\๏ฟฝash git clone https://github.com/priya-codesdaily/agropredict.git cd agropredict flutter pub get flutter run \\
\
lib/
โโโ main.dart
โโโ models/
โ โโโ crop_model.dart # Data structure
โโโ services/
โ โโโ mandi_service.dart # API + logic engine
โโโ screens/
โโโ home_screen.dart # Search + voice input
โโโ price_result_screen.dart # Results + calculator
\\
- Live AGMARKNET API integration
- Smart sell advice engine
- Transport profit calculator
- Hindi language support
- Voice input (Hindi + English)
- GPS-based nearest mandi
- 7-day price trend analysis
- Python ML price prediction (XGBoost)
- Weather alerts integration
- WhatsApp farmer notifications
- Offline mode with cached prices
- Odia + Telugu language support
\
Target farmers: 140 Million (India alone)
Post-harvest loss: 30% reducible with better decisions
Income improvement: 5%+ with better sell timing
AgriTech market 2025: Billion
Expansion potential: Bangladesh, Kenya, Vietnam, Nigeria
\\
The same problem exists in:
- Bangladesh โ Rice and jute price uncertainty
- Kenya โ Maize and tea market intelligence
- Vietnam โ Rice export pricing
- Nigeria โ Cassava and yam price discovery
Same codebase. Different data source. Different language. Same impact.
Anshu Priya โ Self-taught Flutter Developer | BCA Student | Age 20 | Odisha, India
"My family grows mangoes. My mother taught me that value addition beats raw selling. I built AgroPredict so every farmer can make the same smart decisions."
๐ก AgroPredict is not just a project. It is the tool my father never had. Today I am building it for 140 million farmers just like him.


