Eminem's diss track "Killshot" had the largest debut of a hip-hop song in YouTube's history, the company said.

The song, directed at the rapper Machine Gun Kelly, earned a record 38.1 million views on YouTube in its first 24 hours.

Eminem's recently released single "Killshot" — a diss track directed at the rapper Machine Gun Kelly — had the largest debut of any hip-hop song in the history of YouTube, the company said Tuesday.

The official audio of "Killshot" earned a record 38.1 million views on YouTube in the first 24 hours of its release on Friday. It now has over 72 million views on the site.

YouTube said "Killshot" also had the third-highest debut of any song in the site's history, and the track is on top of the site's US trending chart.

Eminem threw the first overt punch in his beef with Kelly by calling the rapper out on the song "Not Alike" from his new album, "Kamikaze," which topped the Billboard 200 album chart after its release on August 31.

"I'm talkin' to you, but you already know who the f--- you are, Kelly / I don't use sublims and sure as f--- don't sneak-diss / But keep commenting on my daughter Hailie," Eminem rapped on "Not Alike," in reference to a 2012 tweet Kelly wrote, calling Eminem's daughter, Hailie, who was then 16 years old, "hot as f---."

Eminem released "Killshot" 11 days after Kelly dissed him in the song "Rap Devil," in which Kelly accused the Detroit rapper of trying to hinder his career by barring him from the Sirius XM channel Shade 45, which Eminem owns.

Kelly's "Rap Devil," released on September 3 on WorldStarHipHop's YouTube page, has over 95 million views.

Eminem explained last week why he dissed Kelly with "Killshot" in an interview with Sway Calloway:

"The reason that I dissed him is because he got on—first he said, ‘I’m the greatest rapper alive since my favorite rapper banned me from Shade 45,’ or whatever he said, right? Like I’m trying to hinder his career.' I don’t give a f--- about your career. You think I actually f---in’ think about you? You know how many f---in’ rappers that are better than you? You’re not even in the f---in’ conversation."

Listen to "Killshot" below: