Cookies disclaimer

I agree Our site saves small pieces of text information (cookies) on your device in order to deliver better content and for statistical purposes. You can disable the usage of cookies by changing the settings of your browser. By browsing our website without changing the browser settings you grant us permission to store that information on your device.

Music - Music


Structured Data – Music

This article looks specifically at music and how using microdata to mark-up tracks and playlists on a website, for broader information on mark-up code please follow the link. For extensive and definitive information on please follow this link.

Please follow the links below to see examples and explanations of how to implement code for:

The Benefits

The image below illustrates how music can appear in Search Engine Result Pages (SERPs) after having been marked-up. As you can see, and this is indicative of all marked up SERP listings, this is a more comprehensive listing providing the user with more accurate and useful information with regards to the music they searched for.

The mark-up provides clickable links through to the most relevant pages on the site, along with track name, track length and artist name. What we see is a great deal of information relevant to the user and searcher intent.

Music Types

Music falls under the creative work category and has three main item types:

  • MusicRecording
  • MusicPlaylist
  • MusicAlbum

This article will provide you with examples of implementing microdata on all of the above item types. The wider creative work category contains items types such as (but not limited to) the below:

  • Answer
  • Article
  • Blog
  • Book
  • Clip
  • Episode
  • ExercisePlan
  • MediaObject
  • Movie
  • MusicPlaylist
  • MusicRecording
  • Painting
  • Photograph
  • Recipe
  • Review
  • Sculpture
  • Series
  • TVSeason
  • TVSeries

We cover some of the above item types in other articles within the FirstClick Knowledge Base.


There are a range of item properties that can be specified for music, some of these are mentioned above. In this article we look at the most commonly used properties and the most useful, many of these properties are applicable to the range of creative work item types in addition to music.


Expected Type




The subject matter of the content.



A secondary title of the CreativeWork.



The intended audience of the item, i.e. the group for whom the item was created.



An embedded audio object.



An award won by this person or for this creative work. Supersedes awards.


Text  or CreativeWork


A citation or reference to another creative work, such as another publication, web page, scholarly article, etc.




The location of the content.



Official rating of a piece of content—for example: 'MPAA PG-13'.


Organization  or Person


A secondary contributor to the CreativeWork.



Organization  or Person


The party holding the legal copyright to the CreativeWork.




The year during which the claimed copyright for the CreativeWork was first asserted.


Organization  or Person


The creator/author of this CreativeWork or UserComments. This is the same as the Author property for CreativeWork.




Date of first broadcast/publication.



The duration of the item (movie, audio recording, event, etc.) in ISO 8601 date format.



Specifies the Person who edited the CreativeWork.



Genre of the creative work


URL  or CreativeWork


A license document that applies to this content, typically indicated by URL.




An offer to provide this item—for example, an offer to sell a product, rent the DVD of a movie, or give away tickets to an event.



The publisher of the creative work.



The Organization on whose behalf the creator was working.



A thumbnail image relevant to the Thing.



The typical expected age range, e.g. '7-9', '11-'.



A short description of the item.



URL of an image of the item.



The name of the item.



URL of the item.


Implementation – MusicRecording

In the first example we show how to mark-up a music video with microdata:

<div itemscope itemtype="">
<h1 itemprop="name">Eminem</h1></div>
<div itemprop="video" itemscope itemtype="">
  <h2>Video: <span itemprop="name">Interview with Eminem</span></h2>
  <meta itemprop="duration" content="T2M45S" />
  <meta itemprop="thumbnail" content="eminem-thumbnail.jpg" />
  <object ...>
    <param ...>
    <embed type="application/x-shockwave-flash" ...>
  <span itemprop="description">Zane Low interviews Eminem in this rare and unaired interview</span>

Durations and time are set using the ISO_8601 Standard and hence need to be created in adherence to that standard. More information of ISO_8601 can be found by clicking the link.

In the above example we specify the following information to search engines:

  • Name
  • Video Name
  • Video Duration
  • Thumbnail image to show

However this data is not written as text on the webpage in this example, instead all the site visitor would see is the H1, the H2 and the video but not the additional data… This is usually visible within the video player but is obfuscated from Google.

In the next example we demonstrate how to implement microdata on a music track:
<h2>Eminem’s Tracks</h2>
<div itemprop="track" itemscope itemtype="">
  <span itemprop="name">Stan</span>
  <meta itemprop="url" content ="">
  Length: <meta itemprop="duration" content="PT3M55S">3:55 -
  10,000,000 plays<meta itemprop="interactionCount" content="UserPlays:10000000" />
  <a href="" itemprop="audio">Play</a>
  <a href="" itemprop="offers">Buy</a>
  From album: <a href=""
    itemprop="inAlbum">Marshal Mathers LP</a>

In the above example we define the properties for an Eminem track called Stan from the Marshall Mathers LP. A visitor to this page would see the following text:

Eminem’s Tracks
3:55 - 10,000,000 plays
From album: Marshal Mathers LP
Here we specify a range of criteria from the track name, length / duration, from the album the song was featured on.

Implementation – MusicPlaylist

In the next example we look at how to use microdata to mark-up a music playlist on a webpage:

<div itemscope itemtype="">
  <span itemprop="name">Hip Hop Playlist</span>
  <meta itemprop="numTracks" content="5"/>
  <div itemprop="track" itemscope itemtype="">
    1.<span itemprop="name">Stankonia</span> -
    <span itemprop="byArtist">Outcast</span>
    <meta content="Stankonia.html" itemprop="url" />
    <meta content="PT4M45S" itemprop="duration" />
    <meta content="Stankonia" itemprop="inAlbum" />
  <div itemprop="track" itemscope itemtype="">
    2.<span itemprop="name">Everything Is Everything</span> -
    <span itemprop="byArtist">Lauryn Hill</span>
    <meta content=" The-Miseducation-of-Lauryn-Hill" itemprop="url" />
    <meta content="PT3M32S" itemprop="duration" />
    <meta content="The Miseducation of Lauryn Hill" itemprop="inAlbum" />
  <div itemprop="track" itemscope itemtype="">
    3.<span itemprop="name">My Name Is...</span> -
    <span itemprop="byArtist">Eminem</span>
    <meta content="my-name-is.html" itemprop="url" />
    <meta content="PT4M13S" itemprop="duration" />
    <meta content="The Slim Shady LP" itemprop="inAlbum" />
  <div itemprop="track" itemscope itemtype="">
    4.<span itemprop="name">Changes</span> -
    <span itemprop="byArtist">2Pac Shakur</span>
    <meta content="changes.html" itemprop="url" />
    <meta content="PT3M12S" itemprop="duration" />
    <meta content="Greatest Hits" itemprop="inAlbum" />
  <div itemprop="track" itemscope itemtype="">
    5.<span itemprop="name">Juicy</span> -
    <span itemprop="byArtist">The Notorious B.I.G.</span>
    <meta content="juicy.html" itemprop="url" />
    <meta content="PT3M39S" itemprop="duration" />
    <meta content="Ready to Die" itemprop="inAlbum" />

Implementation – MusicAlbum

In the next example we look at how to use microdata to mark-up a music album on a webpage:

<div itemscope itemtype="">
  <h1 itemprop="name">Only by the Night</h1>
  <meta content="/Kings-of-Leon/album/Only-by-the-Night" itemprop="url" />
  <img src="Only-by-the-Night.jpg" itemprop="image" />
  <meta content="11" itemprop="numTracks" />
  <meta content="Alt/Rock" itemprop="genre" />
  <h2 itemprop="byArtist" itemscope itemtype="">
    <span itemprop="name">Kings of leon</span>

Raptor Tools!

Our range of SEO Tools include checking for and making specific implementation instructions for on your site. Use Raptor to find out where you have used mark-up code, if its implemented correctly and where it is missing.

Sign Up For Early Access
& Earn a Chance to Win 1 Years Free Subscription!

What You Get...

There's no obligation to become a full member after your trial, but we think that once you've seen what's available, you'll want to join us.

We are in the process of building our software and are ramping up to launch the Technical Auditing component in early 2018, soon to be followed by a suite of other components such as keyword ranking and backlink analysis.

Sign up today for 1 months free access and get a further 10% off of any package price when we launch for the first year as a reward for being an early subscriber.

Also, you will be entered into a lottery, where we will be giving away five 1-year subscriptions for free!

Sign up for early access today!