There is no direct connection from Kozhikode to Ooty. However, you can take the bus to Gundlupet then take the taxi to Ooty. Alternatively, you can take the train to Coimbatore then take the bus to Ooty.
From Calicut bus to Gundlupet then taxi to Ooty. 4 h 37 min ₹2,668. From Kozhikode (CLT) train to Coimbatore then bus to Ooty. 7 h 30 min ₹1,805. From Kozhikode taxi to Ooty. 2 h 41 min ₹4,451. From Kozhikode drive to Ooty. 2 h 41 min ₹1,318.