Get Genre by ID

Fetch a single Chartmetric genre by its ID.

Path Parameters
  • id
    Type: integer
    min:  
    0
    max:  
    2147483647
    required

    Integer numbers.

Responses
  • application/json
Request Example for get/api/genres/{id}
curl https://api.chartmetric.com/api/genres/0 \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
  "obj": {
    "id": 462925,
    "name": "K-Pop",
    "type": "genre_v2",
    "source": "cm"
  }
}