Deezer Genre API

The Genre API from Deezer — 3 operation(s) for genre.

OpenAPI Specification

deezer-genre-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Deezer Public Album Genre API
  description: Public REST API for the Deezer music streaming service. Catalog endpoints (tracks, albums, artists, playlists, charts, genres, radios, editorial, search) are available unauthenticated; user-scoped endpoints require an OAuth 2.0 access token issued via the Deezer Connect flow.
  version: 1.0.0
servers:
- url: https://api.deezer.com
  description: Deezer public REST API
security: []
tags:
- name: Genre
paths:
  /genre:
    get:
      tags:
      - Genre
      summary: List genres
      responses:
        '200':
          description: Genres
  /genre/{id}:
    get:
      tags:
      - Genre
      summary: Get a genre
      parameters:
      - in: path
        name: id
        required: true
        schema:
          type: integer
      responses:
        '200':
          description: Genre
  /genre/{id}/artists:
    get:
      tags:
      - Genre
      summary: List artists in a genre
      parameters:
      - in: path
        name: id
        required: true
        schema:
          type: integer
      responses:
        '200':
          description: Artists
components:
  securitySchemes:
    oauth2:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://connect.deezer.com/oauth/auth.php
          tokenUrl: https://connect.deezer.com/oauth/access_token.php
          scopes:
            basic_access: Basic profile info
            email: Get user's email address
            offline_access: Long-lived access
            manage_library: Manage user's library
            manage_community: Manage user's community
            delete_library: Delete from user's library
            listening_history: Read listening history