Method: Label Info

Returns label information for a given label ID or label name.

Request URL

The object is label and the action is info. The base request URL is:

http://api.emusic.com/label/info?apiKey=myKey&labelId=245110

Request Parameters

Following is a list of required and optional query string parameters for the Label Info method. For more information about individual request parameters, see request parameters.

Name Required Default Description
apiKey YES none The developer API key. This is required for all methods.
labelId depends none The label ID. Either labelId or labelName must be included.
labelName depends none The URL-encoded label name. Either labelId or labelName must be included.
exact no none Used with artistName. When exact is set to "true", a method will only return label info if the label name exactly matches the labelName value.
format no XML The format of the response (XML, JSON, JSONP).
callback depends none The name of the JavaScript callback method for the JSONP format. (Required for JSONP responses only.)
fref no none The eMusic partner tag. If provided, the FREF value is automatically added to all appropriate eMusic links.
Example Requests

// Returns label info for label ID 245110.
http://api.emusic.com/label/info?apiKey=myKey&labelId=245110

// Returns label info for The Orchard.
http://api.emusic.com/label/info?apiKey=myKey&labelName=The+Orchard

Response Format

Following is a list of returned elements for the Label Info method. For more information about individual response elements, see Response Elements.

Name Type Returned Description
status status always Contains a result code.
messages list on error Contains one or more messages.
options options on ok Contains a list of method options.
label label on ok Contains a <label> element with label info. See the example response below for typical label elements.
Example Response

(Only five elements are displayed in each list...)

<?xml version="1.0" encoding="UTF-8"?>
<response xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <status code="200">ok</status>
    <options format="xml"/>
    <label id="245110" name="Classical.com Music / The Orchard" url="http://www.emusic.com/label/Classical-com-Music-The-Orchard-MP3-Download/245110.html"/>
</response>