After hooking for the city’s two most famous madams, turncoat call girl Rebecca Woodard says she suddenly found herself with a new pimp — the Manhattan District Attorney’s Office.

The pricey prostitute claims in her new tell-all tome that prosecutors forced her to continue to turn tricks after she agreed to wear a wire to help snare “Hockey Mom Madam” Anna Gristina in 2008.

“They wanted me to keep breaking the law so they could get more information,” writes Woodard, 37, who also detailed her rough sex-for-hire with disgraced ex-Gov. Eliot Spitzer.

“They encouraged me to keep working for Anna as a call girl,” she writes of her covert gig. “It was like sex slavery at the behest of the Manhattan District Attorney’s Office.

“The ADA told me to work in order to garner information for him and then turn over to his office the money and any gifts that clients gave me. I actually did this,” she writes.

“Technically, this ADA was my pimp.”

The Post first revealed steamy details of Woodard’s book, “Call Girl Confidential,’’ written as Rebecca Kade, including claims she serviced a violent Spitzer, who grabbed her by the throat and choked her.

While servicing Spitzer, Woodard was working for madam Kristin Davis. The DA’s office approached Woodard to go undercover after Davis was busted in 2008 and Woodard had already begun working for Gristina, who had sexy glamour shots taken of her and other girls to entice high-rolling johns.

Woodard does not name the ADA, who was working under former DA Robert Morgenthau when the secret probe was launched, but gave several clues to his identity.

Sources with knowledge of the investigation confirmed to The Post that she is referring to former ADA Mark Crooks, who worked the Official Corruption Unit under Morgenthau and his successor, Cy Vance, until taking a job as an assistant federal prosecutor in Maryland.

“I highly doubt District Attorney Morgenthau was aware of the ADA’s shenanigans,” Woodard writes. “God knows if somebody pocketed the money [earned through the prostitution]. [And] this cowboy still has a job in law enforcement, in another state, at an even higher level” as “an assistant US attorney.”

A spokesman for the Manhattan DA’s office declined comment.

Crooks did not return messages left at his Maryland home.

Woodard’s book paints her DA handlers as bumbling fools when it came to surveillance.

At one point, Woodard was being prepped to record Gristina’s “money man,” accountant Jonas Gayer, during a meeting at his East Side apartment, and prosecutors wanted to run the wire around her waist and up her chest.

“ ‘Are you kidding me?’ I nearly screamed,” Woodward writes. “ ‘It’s not going to work to wire my body, because the very first thing he’s going to do is feel me up.’ ”

Prosecutors wound up buying her a $1,000 Chanel bag to hide the wiretap transmitter.

Woodard — who claims she was raking in as much as $24,000 for some jobs — says she didn’t tell prosecutors about all her gigs.

“Obviously, if I did this with every client I saw, I would have been broke, so I didn’t tell him about everybody,” she writes.

After one particularly close call while wearing a wire to record Gristina and suspecting the madam was on to her, Woodward writes that she wanted out.

“The ADA stared at me, and his face was turning red,” Woodard recounts. “He stormed out of the room . . . I never heard from him again.”

Woodward finally landed a criminal lawyer, former prosecutor Seema Iyer, who was “flabbergasted” to hear how the ADA acted, Woodard claims.

“[Iyer] made big trouble and said I could bring a lawsuit against the city,’’ she writes.

Iyer declined comment Sunday.

But all of Woodard’s undercover work was for naught, she says. After the ADA left the office and another took over the case, “The new ADA said that all the work I did under the first ADA was thrown out because it would be inadmissable in court.”

She writes that she was asked again to wear a wire, with prosecutors saying they’d arrest her for prostitution if she didn’t.

“It was blackmail,” she writes. “I felt like he was trying to intimidate me into going back to work for them under these threats.’’

In 2011, she agreed to meet with another ADA, Gristina prosecutor Charlie Linehan, just “to talk,’’ she says.

Linehan asked Woodard to wear a wire to help snare a rich financier who “had once asked me to procure a young boy for him,” Woodard writes.

The man was “high-profile on Wall Street, in Davos, on Paternoster Square [and] had an image to protect in Manhattan and the Hamptons.’’

Linehan pressed her to threaten him that she’d “go to the media with the story that he got a b—job from an 11-year-old kid.”

Woodard ambushed the man in his workplace lobby — but couldn’t get him to say anything damning.

Additional reporting by Laura Italiano