Link Search Menu Expand Document

search.getTracks

Search for tracks in Melodia’s catalog.

Example URL

https://api.melodia.io/v1/search.getTracks?query=Bo

Params

paramrequireddescriptiontype
queryYSearch queryString

Auth

This service requires authentication. Refer to Authentication for more details.

Sample Response

{
    "statusCode": 200,
    "body": {
        "query": "Bo",
        "tracks": [
            {
                "trackKey": "MT239432948",
                "title": "Born on the Bayou",
                "artist": "Creedence Clearwater Revival",
                "artistKey": "MA29FE4f3gXj",
                "artwork100": "http://akamai-b.cdn.cddbp.net/cds/2.0/cover/D7E5/6608/B546/60CD_xlarge_front.jpg"
                ...
            },
            {
                "trackKey": "MT23WMd2948",
                "title": "Born in the U.S.A",
                "artist": "Bruce Springsteed",
                "artistKey": "MA29FE3243gXj",
                "artwork100": "http://akamai-b.cdn.cddbp.net/cds/2.0/cover/D7E5/6608/B546/60CD_xlarge_front.jpg"
                ...
            },
            ...
        ]
        }
}

Discussion

Use this call to search for tracks. Note that you need only provide a single query string. For more accurate results, provide both the track title and associate artist names in query, separated by a space (e.g., to search for “Let It Be” by “The Beatles”, a query would look like the following: “Let It Be The Beatles”)