A heat exchanger end cover integrated with a rubber ball cleaning apparatus, comprising a ball collector and a booster pump which are arranged outside the heat exchanger end cover, and a ball-receiving filter screen arranged inside the heat exchanger end cover, wherein, the heat exchanger end cover is connected to a cooling water inlet pipe joint and a cooling water outlet pipe joint, the cooling water inlet pipe joint is provided with a water suction port and a ball-dispensing port, and the cooling water outlet pipe joint is provided with a water discharge port and a ball-receiving port; both ends of the ball collector are respectively provided with an upper port and a lower port, a screen is arranged in the middle of an interior of the ball collector, and rubber balls are placed between the screen and the upper port; the lower port is divided into two parts to form a first pipeline communicated with the water suction port and a second pipeline communicated with the water discharge port, the first pipeline is provided with a three-way valve A having two water inlets communicated with the first pipeline, and the second pipeline is provided with a three-way valve B having two water inlets communicated with the second pipeline, the booster pump is connected between water outlets of the three-way valve A and the three-way valve B; and the upper port is divided into two parts to form a third pipeline and a fourth pipeline, the third pipeline is provided with a one-way valve A and passes through the ball-dispensing port to extend into the cooling water inlet pipe joint, and the fourth pipeline is provided with a one-way valve B and passes through the ball-receiving port to extend into the cooling water outlet pipe joint to be communicated with the ball-receiving filter screen; the ball collector is transversely arranged in a gap formed by the cooling water inlet pipe joint and the cooling water outlet pipe joint, and both the upper port and the lower port point to a radial direction of the heat exchanger end cover, wherein the water suction port, the water discharge port and the lower port are located at a first side; the ball-dispensing port,the ball-receiving port and the upper port are located at a second side; wherein the first side is opposite to the second side; wherein the water suction port and the ball-dispensing port are arranged in the same radial plane of the cooling water inlet pipe joint, the water discharge port and the ball-receiving port are arranged in the same radial plane of the cooling water outlet pipe joint. the heat exchanger end cover is connected to a cooling water inlet pipe joint and a cooling water outlet pipe joint, the cooling water inlet pipe joint is provided with a water suction port and a ball-dispensing port, and the cooling water outlet pipe joint is provided with a water discharge port and a ball-receiving port; both ends of the ball collector are respectively provided with an upper port and a lower port, a screen is arranged in the middle of an interior of the ball collector, and rubber balls are placed between the screen and the upper port; the lower port is divided into two parts to form a first pipeline communicated with the water suction port and a second pipeline communicated with the water discharge port, the first pipeline is provided with a three-way valve A having two water inlets communicated with the first pipeline, and the second pipeline is provided with a three-way valve B having two water inlets communicated with the second pipeline, the booster pump is connected between water outlets of the three-way valve A and the three-way valve B; and the upper port is divided into two parts to form a third pipeline and a fourth pipeline, the third pipeline is provided with a one-way valve A and passes through the ball-dispensing port to extend into the cooling water inlet pipe joint, and the fourth pipeline is provided with a one-way valve B and passes through the ball-receiving port to extend into the cooling water outlet pipe joint to be communicated with the ball-receiving filter screen; the ball collector is transversely arranged in a gap formed by the cooling water inlet pipe joint and the cooling water outlet pipe joint, and both the upper port and the lower port point to a radial direction of the heat exchanger end cover, wherein the water suction port, the water discharge port and the lower port are located at a first side; the ball-dispensing port,the ball-receiving port and the upper port are located at a second side; wherein the first side is opposite to the second side; wherein the water suction port and the ball-dispensing port are arranged in the same radial plane of the cooling water inlet pipe joint, the water discharge port and the ball-receiving port are arranged in the same radial plane of the cooling water outlet pipe joint.