Quick access to medical facilities during crises is crucial for improving results and maybe saving lives. In order to help people in need by promptly locating and directing them to the closest hospitals after an accident, this paper presents a web-based application. When every second matters, the application provides essential location-based services by utilizing the Google Maps API package, enabling prompt decision-making. The Google Maps Geocoding API is used by the program to convert the user's current location—designated as the accident site—into geographic coordinates. After that, it uses the Places API to find hospitals within five kilometers, showing customers a number of options so they can make an informed decision. To find the nearest hospital and cut down on journey time, the Haversine formula is used to calculate distances. A caching method lowers latency and API call costs by storing frequently visited routes for performance improvement. The A* algorithm further improves pathfinding by taking current conditions into account to guarantee the most effective navigation in intricate urban environments.