President Trump on Tuesday questioned why his administration isn’t “entitled” to talk to the anonymous whistleblower whose complaint about Trump’s phone call with Ukraine’s leader prompted House Democrats to launch an impeachment inquiry.

“So if the so-called ‘Whistleblower’ has all second hand information, and almost everything he has said about my ‘perfect’ call with the Ukrainian President is wrong (much to the embarrassment of Pelosi & Schiff), why aren’t we entitled to interview & learn everything about the Whistleblower, and also the person who gave all of the false information to him,” Trump wrote in a ­series of tweets.

He said his conversation with President Volodymyr Zelensky “could not have been nicer, warmer, or better” before labeling the investigation “just another Democrat Hoax!”

Trump’s postings came a day after he told reporters at the White House that “we’re trying to find out about the whistleblower.”

Sen. Chuck Grassley of Iowa, a top Republican, came to the defense of the whistleblower shortly after the tweets, saying the individual’s claims should be considered without interference.

“This person appears to have followed the whistleblower-protection laws and ought to be heard out and protected. We should always work to respect whistleblowers,” said Grassley, chairman of the Senate’s Whistleblower Protection Caucus.

“Complaints based on secondhand information should not be rejected out of hand, but they do require additional legwork to get at the facts and evaluate the claim’s credibility.”

Trump and his congressional allies have sought to cast doubt on the information brought forward by the whistleblower, identified unofficially as a CIA official who was temporarily dispatched to the White House, because it was based on hearsay.

But Michael Atkinson, the inspector general of the intelligence community, refuted that claim on Monday, saying the whistleblower had “direct knowledge of certain alleged conduct,” as well as secondhand information.

Claims in the whistleblower’s complaint prompted House Speaker Nancy Pelosi last week to launch the impeachment inquiry.

In an earlier tweet, Trump blasted House Intelligence Committee Chairman Adam Schiff ­(D-Calif.) and defended the call with Zelensky.

“The congratulatory phone call with the Ukrainian President was PERFECT, unless you heard Liddle’ Adam Schiff’s fraudulently made up version of the call,” Trump wrote. “This is just another Fake News Media, together with their partner, the Democrat Party, HOAX!”

The president on Monday suggested Schiff, who heads the committee that released the whistleblower’s complaint, should be ­arrested for treason.

During a hearing of his panel last Thursday, Schiff riffed about the Zelensky call and referred to those comments as “parody” after Trump and other Republicans heaped criticism on him.

Trump has defended asking Zelensky to launch a probe into Democratic presidential candidate Joe Biden because, as vice president, Biden told Ukraine the United States was prepared to cancel $1 billion in loan guarantees unless it dumped then-top prosecutor Viktor Shokin.

Trump claims Biden wanted the prosecutor gone because Shokin was probing a natural-gas company connected to Biden’s son Hunter.

“The Corrupt Media refuses to cover this!” Trump wrote in a tweet Tuesday.

Biden has denied that either he or his son did anything wrong.