This is an unedited manuscript accepted for publication and provided as an Article in Press for early access at the author’s request. The article will undergo copyediting, typesetting, and galley proof review before final publication. Please be aware that errors may be identified during production that could affect the content. All legal disclaimers of the journal apply.
Deep Rane,
Adesh Pagar,
Harshada Kadam,
Vedant Raut,
Sharayu Patil,
- Student, Department of Computer Engineering, Vishwaniketan’s Institute of Management Entrepreneurship and Engineering Technology (ViMEET), Kumbhivli,, Maharashtra, India
- Student, Department of Computer Engineering, Vishwaniketan’s Institute of Management Entrepreneurship and Engineering Technology (ViMEET), Kumbhivli,, Maharashtra, India
- Student, Department of Computer Engineering, Vishwaniketan’s Institute of Management Entrepreneurship and Engineering Technology (ViMEET), Kumbhivli,, Maharashtra, India
- Student, Department of Computer Engineering, Vishwaniketan’s Institute of Management Entrepreneurship and Engineering Technology (ViMEET), Kumbhivli,, Maharashtra, India
- Professor, Department of Computer Engineering, Vishwaniketan’s Institute of Management Entrepreneurship and Engineering Technology (ViMEET), Kumbhivli, Maharashtra, India
Abstract
The exponential proliferation of ride-hailing platforms has necessitated the formulation of sophisticated and highly responsive predictive models for cab fare estimation and estimated time of arrival (ETA) computation. This research elucidates a robust framework leveraging real-time API integration from Uber and Ola within a Flutter-based ecosystem to enhance predictive analytics. By assimilating real- time geospatial data, dynamic pricing algorithms, and latency-optimized API responses, this study investigates the empirical correlation between API-driven predictions and their computational efficacy. The methodology incorporates high-precision geolocation tracking, asynchronous data retrieval mechanisms, and heuristic fare comparison models to enable optimized decision-making for end-users. Empirical analysis reveals that API-driven real-time estimations substantially mitigate fare disparities and enhance trip planning efficiency. Furthermore, this study discusses the challenges of API rate limitations, data latency, and network dependency while proposing adaptive machine learning enhancements for future scalability. With the increasing demand for ride-hailing services, accurate prediction of cab fares and estimated time of arrival (ETA) has become crucial for enhancing user experience and optimizing operations. This research explores a real-time system that integrates multiple APIs, including mapping, traffic, and weather data, to predict cab fares and ETAs with high accuracy. By leveraging machine learning models and real-time data from sources such as Google Maps API, Open Weather API, and ride-hailing service APIs, the proposed system dynamically adjusts predictions based on traffic congestion, weather conditions, and surge pricing. The study evaluates different regression and deep learning models to improve fare estimations while minimizing ETA deviations. Performance analysis demonstrates that API-driven real-time predictions significantly enhance the accuracy of traditional fare and ETA models. This research provides a scalable framework for intelligent transportation systems, benefiting both service providers and customers.
Keywords: Real-time API integration, ride-hailing services, cab fare prediction, estimated time of arrival (ETA), geospatial analytics, machine learning, dynamic pricing, predictive modelling, Uber API, Ola API, geolocation tracking, asynchronous data retrieval.
[This article belongs to Journal of Computer Technology & Applications ]
Deep Rane, Adesh Pagar, Harshada Kadam, Vedant Raut, Sharayu Patil. Real-time Cab Fare and ETA Prediction Using API Integration. Journal of Computer Technology & Applications. 2025; 16(02):-.
Deep Rane, Adesh Pagar, Harshada Kadam, Vedant Raut, Sharayu Patil. Real-time Cab Fare and ETA Prediction Using API Integration. Journal of Computer Technology & Applications. 2025; 16(02):-. Available from: https://journals.stmjournals.com/jocta/article=2025/view=208006
References
- Uber Developers. Uber.com. 2025. Available from: https://developer.uber.com/docs
- Shobini k. A study on the consumer preference on online cab booking system project report (Doctoral dissertation, St Teresa’s College (Autonomous), Ernakulam); March 2023.
- Hu S, Dai T. Online map application development using Google Maps API, SQL database, and ASP .NET. International Journal of Information and Communication Technology Research. 2013 Mar;3(3).
- Jacob TP, Pravin A, Prasad KM, Judgi GT, Rajakumar R. Real time prediction of cab fare using machine learning. In2022 International Conference on Electronics and Renewable Systems (ICEARS) 2022 Mar 16 (pp. 1435-1438). IEEE.
- Banerjee P, Kumar B, Singh A, Ranjan P, Soni K. Predictive analysis of taxi fare using machine learning. Int. J. Sci. Res. Comput. Sci. Eng. Inf. Technol. 2020:373-8.
- Hussain J. Cabus (Cab Price Aggregator Using Real Time Data and Api Integration). Available at SSRN 5034580.
- Rangel T, Gonzalez JN, Gomez J, Romero F, Vassallo JM. Exploring ride-hailing fares: an empirical analysis of the case of Madrid. Transportation. 2022 Apr;49(2):373-93.
- Banerjee P, Kumar B, Singh A, Ranjan P, Soni K. Predictive analysis of taxi fare using machine learning. Int. J. Sci. Res. Comput. Sci. Eng. Inf. Technol. 2020:373-8.
- Chen L, Mislove A, Wilson C. Peeking beneath the hood of uber. InProceedings of the 2015 internet measurement conference 2015 Oct 28 (pp. 495-508).
- Chen W, Liang Y, Zhu Y, Chang Y, Luo K, Wen H, Li L, Yu Y, Wen Q, Chen C, Zheng K. Deep learning for trajectory data management and mining: A survey and beyond. arXiv preprint arXiv:2403.14151. 2024 Mar 21.
- Freund D, van Ryzin G. Pricing fast and slow: Limitations of dynamic pricing mechanisms in ride- hailing. Available at SSRN 3931844. 2021 Sep 27.
- Xu Z, Li L, Zhang M, Xu Y, Zhou X. Managing the Future: Route Planning Influence Evaluation in Transportation Systems. In2024 IEEE 40th International Conference on Data Engineering (ICDE) 2024 May 13 (pp. 4558-4572). IEEE.
- Guda H, Subramanian U. Your uber is arriving: Managing on-demand workers through surge pricing, forecast communication, and worker incentives. Management Science. 2019 May;65(5):1995-2014.
- Babar M, Arif F. Real-time data processing scheme using big data analytics in internet of things based smart transportation environment. Journal of Ambient Intelligence and Humanized Computing. 2019 Oct;10:4167-77.
- Yan C, Johndrow J, Woodard D, Sun Y. Efficiency of eta prediction. SIAM Journal on Mathematics of Data Science. 2024 Jun 30;6(2):227-53.
Journal of Computer Technology & Applications
Volume | 16 |
Issue | 02 |
Received | 04/02/2025 |
Accepted | 19/03/2025 |
Published | 15/04/2025 |
Publication Time | 70 Days |