Api Reference

Infos & Options

General information about the Deezer service and API.

Infos Module

Get general information about the service (e.g., country, currency).

const info = await deezer.infos();
export interface Infos {
  country_iso: string;
  country: string;
  open: boolean;
  pop: string;
  upload_token: string;
  upload_token_lifetime: number;
  user_token: string | null;
  hosts: {
    stream: string;
    images: string;
  };
  ads: {
    audio?: {
      default: {
        start: number;
        interval: number;
        unit: string;
      };
    };
    display?: {
      interstitial: {
        start: number;
        interval: number;
        unit: string;
      };
    };
    [key: string]: any;
  };
  has_podcasts: boolean;
  offers: any[];
}

Options Module

Get available options for the API.

const options = await deezer.options();
export interface Options {
  streaming: boolean;
  streaming_duration: number;
  offline: boolean;
  hq: boolean;
  ads_display: boolean;
  ads_audio: boolean;
  too_many_devices: boolean;
  can_subscribe: boolean;
  radio_skips: number;
  lossless: boolean;
  preview: boolean;
  radio: boolean;
  type: "options";
}
Copyright © 2026