Audio Album Search Documentation for Yahoo! Search
Submitting Album Queries
The Album Search service allows you to find information on music albums. See also the other Audio Search services.
Request URL
http://search.yahooapis.com/AudioSearchService/V1/albumSearch
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. |
| album | string | The album name or partial album string to search for (UTF-8 encoded). |
| albumid | string | The specific id for an album. Ids are internal to the Music Search Service and will be returned with album references. At least one of artist, artistid, album or albumid is required. |
| type | all (default), any, or phrase |
The kind of search to submit:
|
| 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/albumSearch?appid=YahooDemo&artistid=XXXXXXP000064565&album=Like&results=2
Response fields
The schema document for this service response is located at http://search.yahooapis.com/AudioSearchService/V1/AlbumSearchResponse.xsd
| Field | Description |
|---|---|
| ResultSet |
Contains all of the query responses. Has attributes:
|
| Result |
Contains each individual response. Has an attribute:
|
| Title | The title of the album. |
| Artist | The performer of the album (and associated id). |
| Publisher | The publisher of the album. |
| ReleaseDate | The date of the album's release. |
| Thumbnail | The URL of a thumbnail picture of the album cover and its height and width in pixels, if available. |
| RelatedAlbums | Contains a list of related albums that fans of the album in this Result might like. |
| Album | The individual album titles (and associated ids) of the related albums. |
Sample response
The following is a sample response for the query Like and the artistid: XXXXXXP000064565 (Madonna)
Rate Limits
The Album Search service is limited to 5,000 queries per IP address per day and to noncommercial use. See information on rate limiting.
Terms of Use
Please see our Usage Policy to learn about acceptable uses and how to request additional queries.
Errors
The Album Search service returns the standard errors. There are no service-specific errors.
Support & Community
The Album Search service is discussed on the yws-search-general mailing list.
Ready to get started?
By applying for an Application ID for this service, you hereby agree to the Terms of Use
Yahoo! Groups Discussions
view all
Fri, 10 Oct 2008
Newbie Sending a request with accent
Thu, 09 Oct 2008
Re: Getting 'No Valid Host' using unserialized php Yahoo API
Thu, 09 Oct 2008
Thu, 09 Oct 2008


Send Your Suggestions