Alex Rodriguez is about to seal a multimillion dollar deal for a tell-all book about his legal battle with MLB, with which he plans to lift the lid on the “full dirt of Major League Baseball’s tactics” he claims have been used against him.

Sources exclusively tell Page Six that HarperCollins and Random House are two of the top publishers battling for the real A-Rod story, and that a deal could be signed in the next few weeks.

Alex has also recently had several meetings with filmmaker Billy Corben — whose work includes the acclaimed “Cocaine Cowboys,” which depicts Miami drug culture in the 1970s and ’80s — about making a documentary about his battle to stay on the field.

A source tells us: “A number of publishers are vying for the book, with offers coming in over $5 million. Alex has met with several publishers over the past few weeks and has meetings with others right after the new year.

“This book is going to go into the real low-down dirt of MLB tactics and collusion with the Yankees to get him out of the game. Alex has also had meetings with Billy Corben on a ‘30 for 30’-type documentary about his story.”