Returns similar items in order of similarity and popularity.
similar? | nameid=nameid trackid=trackid albumid=albumid amgvideoid=amgvideoid |
&entitytype=entitytype&apikey=apikey&sig=sig [&size=size] |
Parameter | Required | Description | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
apikey | Yes | Access code that authorizes your request for data from Rovi. | ||||||||||||||||||
entitytype | Yes | Type of content.
| ||||||||||||||||||
sig | Yes | A calculated authorization code. To perform the calculation, execute the MD5 function on the concatenation of the following three strings:
Perform the calculation at the time of each request to be sure it's within a five-minute window of the server time. If you're testing the call in a browser, use our online signature generator to perform the calculation. | ||||||||||||||||||
albumid | Conditional | Rovi Music ID for an album, consisting of the prefix MW followed by a ten-digit number. For example: MW0000056882. You can grab album IDs from responses to the following requests:
Condition: The request must contain just one of these parameters:
| ||||||||||||||||||
amgvideoid | Conditional | All Media Guide (AMG) database ID for a movie or TV series, consisting of a ten-character string that starts with V and is followed by 9 digits with leading spaces. When using an AMG Video ID in a request, replace any spaces in the ID with plus (+) or percent20 (%20) symbols, like this: V+++295550. Your application can grab video IDs from responses to the following requests:
Condition: The request must contain just one of these parameters:
| ||||||||||||||||||
nameid | Conditional | Rovi Music ID for a person, group, or organization, consisting of the prefix MN followed by a ten-digit number. For example: MN0000114342. Your application can grab name IDs from responses to Search and from Info, Credits, Tracks, and Recommendations requests. For a complete list of requests that return name IDs, click here.
Condition: The request must contain just one of these parameters:
| ||||||||||||||||||
trackid | Conditional | Rovi Music ID for a popular song, consisting of the prefix MT followed by a ten-digit number. For example: MT0009472348. Your application can grab track IDs from responses to the following requests:
Condition: The request must contain just one of these parameters:
| ||||||||||||||||||
size | No | The number of items you want to be returned. The default is 20. |
Response | Type | Description |
---|---|---|
controlSet | ControlSet | The HTTP response status. |
id | String | Server transaction ID for the response. |
Response | Type | Description |
---|---|---|
album | Album | A Rovi Music Album/Info response, returned only for a request with an albumid parameter and an entitytype of album. |
id | String [ ] | Database ID for an item returned in a search response. |
messages | String | Reasons why an item was selected for the search response. |
movie | Movie | A Rovi DVDs Movie/Info response, returned only for a request with an amgvideoid parameter and an entitytype of movie or tvseries. |
name | Name | A Rovi Music Name/Info response, returned only for a request with a nameid parameter and an entitytype of artist. |
provider | String | Database in which a search result was found:
|
relevance | Relevance [ ] | Rating of an item in a search response. Items with a higher relevance appear earlier in the list of items. |
song | Song | A Rovi Music Song/Info response, returned only for a request with a trackid parameter and an entitytype of song. |
type | String | Entity type of a search result. |
Error Codes
Code | Description |
---|---|
400 | Incorrect or invalid request. The reason is shown in the Message object in ControlSet. |
502 | No results found. The Message object in ControlSet returns the following:
{ "code": "Empty Result", "name": "No results available for this request" } |