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
| Response | Description |
|---|---|
| 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"
}

