Developer Network Home - Help

Audio Artist Search Documentation for Yahoo! Search Web Services

Version 1Audio Search Web Services: Artist Search

Submitting Artist Queries

The Artist Search service allows you to find information on a particular musical performer. See also the other Audio Search services.

Support & Community

The Artist Search service is discussed on the yws-search-general mailing list.

Request URL

http://search.yahooapis.com/AudioSearchService/V1/artistSearch

Request parameters

See information on constructing REST queries

Parameter Value Description
appid string (required) The application ID. See Application IDs for more information.
artist string The artist or partial artist string to search for (UTF-8 encoded).
artistid string The specific id for an artist. Ids are internal to the Music Search Service and will be returned with artist references. One of artist or artistid is required.
type all (default), any, or phrase

The kind of search to submit:

  • all returns results with all query terms.
  • any returns results with one or more of the query terms.
  • phrase returns results containing the query terms as a phrase.
results integer: default 10, max 50 The number of results to return.
start integer: default 1 The starting result position to return (1-based). The finishing position (start + results - 1) cannot exceed 1000.
output string: xml (default), json, php The format for the output. If json is requested, the results will be returned in JSON format. If php is requested, the results will be returned in Serialized PHP format.
callback string The name of the callback function to wrap around the JSON data. The following characters are allowed: A-Z a-z 0-9 . [] and _. If output=json has not been requested, this parameter has no effect. More information on the callback can be found in the Yahoo! Developer Network JSON Documentation.

Sample Request Url: http://search.yahooapis.com/AudioSearchService/V1/artistSearch?appid=YahooDemo&artist=Madonna&results=2

Response fields

The schema document for this service response is located at http://search.yahooapis.com/AudioSearchService/V1/ArtistSearchResponse.xsd

Field Description
ResultSet Contains all of the query responses. Has attributes:

  • totalResultsAvailable: The number of query matches in the database.
  • totalResultsReturned: The number of query matches returned. This may be lower than the number of results requested if there were fewer total results available.
  • firstResultPosition: The position of the first result in the overall search.

Result Contains each individual response. Has an attribute:

  • id: The id associated with the artist specified in this result.

Name The name of the artist.
Thumbnail The URL of a thumbnail picture of the artist and its height and width in pixels, if available.
RelatedArtists Contains a list of related artists that fans of the artist in this Result might like.
Artist The individual artist names (and associated ids) of the related artists.
PopularSongs Contains a list of some popular songs by this artist.
Song The individual song names (and ids) of the popular songs.
YahooMusicPage The URL to link to the artist's page on Yahoo Music.

Sample response

The following is a sample response for the query Madonna:

Rate Limit

The Artist Search service is limited to 5,000 queries per IP address per day. See information on rate limiting and our Usage Policy to learn about acceptable uses and how to request additional queries.

Errors

The Artist Search service returns the standard errors. There are no service-specific errors.

Developer-Contributed Notes:

Copyright © 2008 Yahoo! Inc. All rights reserved.

Privacy Policy - Terms of Service - Copyright Policy - Job Openings