The equilibrium constant can be related with energy change as dtdlnKc=ΔH/RT2. This is the differential form of Vant Hoff equation. It relates the equilibrium constant with enthalpy change for the reaction.
The integrated form is as shown below.
It relates the equilibrium constants at two different temperatures with standard enthalpy change of the reaction.