Artist Search Method

Returns a list of artists for a specific search term.

Method Path

http://api.mtvnservices.com/1/artist/search/[parameters]

Method Parameters

Parameter Description Required
term Specify the search query with the term parameter. The MTVN Content API will search for the term or terms within all available metadata. You must URL-escape all spaces, punctuation and quotes. The search term "britney spears" would look like this %22britney+spears%22 . Yes

Atom Request Example

http://api.mtvnservices.com/1/artist/search/?term=led+zeppelin&max-results=1

Atom Return Example

<?xml version="1.0" encoding="iso-8859-1"?>
<feed xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns="http://www.w3.org/2005/Atom">
<id>http://api.mtvnservices.com/1/artist/search/</id>
<updated>2008-11-06T14:30:41.028-05:00</updated>

<title>MTVN Content API artist search for "led zeppelin"</title>
<link rel="self" type="application/atom+xml"
href="http://api.mtvnservices.com/1/artist/search/?term=led%20zeppelin&amp;start-index=1&amp;max-results=1"/>
<opensearch:totalResults>1</opensearch:totalResults>
<opensearch:startIndex>1</opensearch:startIndex>
<opensearch:itemsPerPage>1</opensearch:itemsPerPage>

<entry>
<id>http://api.mtvnservices.com/1/artist/led_zeppelin/</id>
<updated>2008-11-06T14:30:41.028-05:00</updated>
<title>Led Zeppelin</title>
<author>

<name>Led Zeppelin</name>
<uri>http://api.mtvnservices.com/1/artist/led_zeppelin/</uri>
</author>
<link rel="self" type="application/atom+xml" href="http://api.mtvnservices.com/1/artist/led_zeppelin/"/>
<link rel="http://api.mtvnservices.com/1/schemas/artist/videos" type="application/atom+xml" href="http://api.mtvnservices.com/1/artist/led_zeppelin/videos/"/>
<link rel="http://api.mtvnservices.com/1/schemas/artist/related" type="application/atom+xml" href="http://api.mtvnservices.com/1/artist/led_zeppelin/related/"/>
<link rel="http://api.mtvnservices.com/1/schemas/genre" type="application/atom+xml" title="Rock" href="http://api.mtvnservices.com/1/genre/rock/"/>

<content/>
<media:thumbnail url="http://www.mtv.com/shared/media/images/artist/l/led_zeppelin/az_official/376x180.jpg" height="180" width="376"/>
<media:thumbnail url="http://www.mtv.com/shared/media/images/artist/l/led_zeppelin/az_official/281x211.jpg" height="211" width="281"/>
<media:thumbnail url="http://www.mtv.com/shared/media/images/artist/l/led_zeppelin/az_official/140x105.jpg" height="105" width="140"/>
<media:thumbnail url="http://www.mtv.com/shared/media/images/artist/l/led_zeppelin/az_official/70x53.jpg" height="53" width="70"/>
<media:thumbnail url="http://www.mtv.com/shared/media/images/artist/l/led_zeppelin/dms/288x162.jpg" height="162" width="288"/>
<media:thumbnail url="http://www.mtv.com/shared/media/images/artist/l/led_zeppelin/dms/92x52.jpg" height="52" width="92"/>
</entry>
</feed>

Comments

New comments are not being accepted at this time.