%T REAL-TIME BUS ARRIVAL TIME ESTIMATION API USING WEBSOCKET IN MICROSERVICES ARCHITECTURE %K API; microservices; software architecture; bus arrival time; WebSocket. %A Kristian Adi Nugraha %P 1018-1024 %R doi:10.18517/ijaseit.13.3.18116 %L katalog9179 %I INSIGHT Society %J International Journal on Advanced Science, Engineering and Information Technology %X In almost all countries, public transportation is the primary choice for people to make daily trips. One of the main problems of public transportation is the accuracy of the vehicle arrival schedule information. In some types of public transportation with particular tracks, such as rapid transit (e.g., MRT), the arrival time can be predicted easily because traffic jams do not affect transportation. This is different from buses, which use the same route as other vehicles so that traffic jams could affect them. This study tries to solve this problem by building an API that can be used to get information on the estimated arrival time of the bus. Estimated time is calculated based on the condition of the bus position and the actual condition of highway traffic from Google Directions API. The API was built using microservices technology, so it can be done quickly if it is further developed to a larger scale. The test was conducted on the Trans Jogja Bus by taking two routes, the short and the long routes. Each route could be explored 20 times under varying time and traffic conditions. Then, the difference between the estimated bus arrival time and the actual bus arrival time could be calculated on each trip. Based on the test results, the estimated bus arrival time generated by the API can be said to be entirely accurate because the difference between the estimated time and the actual bus arrival time is less than 30 seconds. %D 2023 %N 3 %V 13