bahaya sinkronus api call