Returns Rovi IDs for a song, movie, or TV series on your CDs, DVDs, Blu-rays, and other entertainment media, based on title and field-level data, along with data you can use to verify a match. Results are returned in order of confidence level.
catalog/match/filename?apikey=apikey&sig=sig&name=name [&entitytype=entitytype] [&include=include] [&format=format] [&size=size]
♫ Music-related requests ⊑⊒ TV-related requests
Parameter | Required | Description | |||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
apikey | Yes | Access code that authorizes your request for data from Rovi. | |||||||||||||||||||||||||||||||||||||||
catalog | Yes | Database to match against.
| |||||||||||||||||||||||||||||||||||||||
name | Yes | URL-encoded name of the file. | |||||||||||||||||||||||||||||||||||||||
sig | Yes | A calculated, 32-hex-digit authorization code. To perform the calculation, execute the MD5 function on the concatenation of the following three ASCII strings:
Express the alpha hex digits as lower case. 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. | |||||||||||||||||||||||||||||||||||||||
entitytype | No | For a catalog type of video, categories that further narrow the type of content to match against.
If not specified for a catalog type of video, both categories are searched. Order of results is determined by relevance, however, so the top results may come from just one of the entity types. | |||||||||||||||||||||||||||||||||||||||
format | No | Format of the returned data: json or xml. The default is JSON.
Alternatively you can specify the response format in an HTTP Accept header with either of these Accept field content types:
If you specify both, the format parameter overrides the Accept header. | |||||||||||||||||||||||||||||||||||||||
include | No | Additional data to include in each result returned. To include cast members in movie results, for example, specify include=movie:cast. For multiple includes, separate the values with commas like this: include=movie:moods,crew. For multiple entity types, specify separate parameters like this: include=movie:cast,crew&include=tvseries:cast,crew. A request can contain up to 20 include values.
Reminder: These options may return a large amount of data. To speed data transmission, do the following:
| |||||||||||||||||||||||||||||||||||||||
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 |
---|---|---|
results | result [ ] | Information about items that match the criteria specified in the request, listed in order of relevance. |
Code | Description |
---|---|
400 | Incorrect or invalid request. The reason is shown in the Message object in ControlSet. |