For For $A+B \ce{<=>[{K_f}][{K_b}]} C+D, K=\frac{k_{f}}{k_{b}}$
For exothermic reaction, $k_{f}$ decreases with increase of temperature so that $K$ decreases. For endothermic reaction, $k_{f}$ increases with increase of temperature so that $K$ increases.