close
The Wayback Machine - https://web.archive.org/web/20140813163018/https://developer.beatsmusic.com/docs/read/genre/Get

Lookup

Get an existing Beats genre.


Endpoint URL

/api/genres/:id


HTTP Method

GET


Authentication

OAuth 2.0: Access token required. See Authentication for examples and details.


Parameters

Name Required Description Example
id required Unique ID of the genre. eg97074088215970048

Response Elements

ResponseDescription
code

Beats API response code. If successful, code is 'OK'. Otherwise it will be an error code.


Example Request

curl -X GET https://partner.api.beatsmusic.com/v1/api/genres/eg97074088215970048?
    access_token=[ACCESS_TOKEN]

Example Response

{
    data: {
        id: "eg97074088215970048",
        username: "beatshiphop",
        name: "Beats Hip-Hop",
        verified: true,
        total_follows: 0,
        total_followed_by: 56838,
        playlist_count: 846,
        type: "genre"
    },
    code: "OK"
}

Docs Navigation