Real-Time Cab Fare and ETA Prediction Using API Integration

Year : 2025 | Volume : 16 | Issue : 02 | Page : 08-15
    By

    Deep Rane,

  • Adesh Pagar,

  • Harshada Kadam,

  • Vedant Raut,

  • Sharayu Patil,

  1. Student, Department of Computer Engineering, Vishwaniketan’s Institute of Management Entrepreneurship and Engineering Technology (ViMEET), Kumbhivli, Maharashtra, India
  2. Student, Department of Computer Engineering, Vishwaniketan’s Institute of Management Entrepreneurship and Engineering Technology (ViMEET), Kumbhivli, Maharashtra, India
  3. Student, Department of Computer Engineering, Vishwaniketan’s Institute of Management Entrepreneurship and Engineering Technology (ViMEET), Kumbhivli, Maharashtra, India
  4. Student, Department of Computer Engineering, Vishwaniketan’s Institute of Management Entrepreneurship and Engineering Technology (ViMEET), Kumbhivli, Maharashtra, India
  5. 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 work elucidates a robust framework leveraging real-time application programming interface (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 ETA has become crucial for enhancing user experience and optimizing operations. This work 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 work provides a scalable framework for intelligent transportation systems, benefiting both service providers and customers.

Keywords: Real-time application programming interface (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 ]

How to cite this article:
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):08-15.
How to cite this URL:
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):08-15. Available from: https://journals.stmjournals.com/jocta/article=2025/view=208006


References

  1. Uber Developers. [Online]. Uber.com. 2025. Available at https://developer.uber.com/docs
  2. Shobini K. A Study on the Consumer Preference on Online Cab Booking System Project Report. Doctoral dissertation. Ernakulam, India: St Teresa’s College (Autonomous); 2023.
  3. Hu S, Dai T. Online map application development using Google Maps API, SQL database, and ASP .NET. Int J Inform Commun Technol Res. 2013; 3 (3): 102–110.
  4. Jacob TP, Pravin A, Prasad KM, Judgi GT, Rajakumar R. Real time prediction of cab fare using machine learning. In: 2022 International Conference on Electronics and Renewable Systems (ICEARS), Tuticorin, India, March 16–18, 2022. pp. 1435–1438.
  5. Chen L, Mislove A, Wilson C. Peeking beneath the hood of Uber. In: Proceedings of the 2015 Internet Measurement Conference, Tokyo, Japan, October 28–30, 2015. pp. 495–508.
  6. 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. March 21, 2024.
  7. Banerjee P, Kumar B, Singh A, Ranjan P, Soni K. Predictive analysis of taxi fare using machine learning. Int J Sci Res Computer Sci Eng Inform Technol. 2020; 6 (2): 373–378.
  8. Hussain J, Husain M. Cabus (cab price aggregator using real time data and API integration). SSRN 5034580. November 26, 2024. Available at https://papers.ssrn.com/sol3/papers.cfm?abstract_id=5034580
  9. Rangel T, Gonzalez JN, Gomez J, Romero F, Vassallo JM. Exploring ride-hailing fares: an empirical analysis of the case of Madrid. Transportation. 2022; 49 (2): 373–393.
  10. Freund D, van Ryzin G. Pricing fast and slow: limitations of dynamic pricing mechanisms in ride-hailing. SSRN 3931844. September 27, 2021. Available at https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3931844
  11. Xu Z, Li L, Zhang M, Xu Y, Zhou X. Managing the future: route planning influence evaluation in transportation systems. In: 2024 IEEE 40th International Conference on Data Engineering (ICDE), Utrecht, Netherlands, May 13–16, 2024. pp. 4558–4572.
  12. Guda H, Subramanian U. Your uber is arriving: managing on-demand workers through surge pricing, forecast communication, and worker incentives. Manage Sci. 2019; 65 (5): 1995–2014.
  13. Babar M, Arif F. Real-time data processing scheme using big data analytics in internet of things based smart transportation environment. J Ambient Intell Humanized Comput. 2019; 10: 4167–4177.
  14. Yan C, Johndrow J, Woodard D, Sun Y. Efficiency of ETA prediction. SIAM J Math Data Sci. 2024; 6 (2): 227–253.

Regular Issue Subscription Review Article
Volume 16
Issue 02
Received 04/02/2025
Accepted 19/03/2025
Published 15/04/2025
Publication Time 70 Days


My IP

PlumX Metrics