Skip to content

crate.label(key)

label(key: string, opts?: RequestOptions): Promise<LabelDossierContract>

Fetch a label dossier in one call (cluster-first) by cluster_id or slug — the label peer of artist, promoted to a first-class resource in v2.

EndpointGET /api/v2/label/{key}
Authkey
ReturnsLabelDossierContract
Retryableyes
Idempotentyes
const l = await crate.label('warp-records');
  • empty_key — on an empty/whitespace key.
  • CrateAPIError — on a non-2xx response.