Duaer

入门

在 Duaer 里查MusicBrainz 音乐库

在 Duaer 里:MusicBrainz:艺人、专辑与发行版本、录音,含日期、国家、唱片公司与标签。一次成功查询用 1 额度。

能拿到什么

Duaer 数据市场里的「MusicBrainz 音乐库」:MusicBrainz:艺人、专辑与发行版本、录音,含日期、国家、唱片公司与标签。查到结果时用 1 额度,结果交给数字组织的下一个节点。

从节点创建器选 Duaer 数据 → MusicBrainz 音乐库,或打开 数据市场。相关:Open Library 图书、维基百科。

适合做什么

  • 获取艺人的国家、出道年份与风格。
  • 列出一张专辑的各个版本与唱片公司。

在画布里检索

  1. 打开节点创建器,选 Duaer 数据 → MusicBrainz music。
  2. 填 Words(如 Radiohead);Type(release 或 recording)可选。
  3. Limit 默认 10,最大 20。执行。

查到结果才扣 1 额度;没有结果、输入有误或上游失败都不扣。

用 API 调用

  • GET https://api.duaer.com/v1/data/musicbrainz?words=Radiohead
  • Authorization: Bearer <Duaer key>

下方是与数据市场「复制技能」相同的英文技能,含参数、示例与返回字段。

调用技能(英文)

与数据市场「复制技能」一致。

---
name: duaer-musicbrainz
description: >-
  Duaer MusicBrainz music. MusicBrainz: artists, albums and releases, and recordings with dates, countries, labels, and tags.
  One successful search uses 1 Duaer credit.
---

# Duaer MusicBrainz music

Duaer MusicBrainz music searches the open MusicBrainz database for artists, releases, or recordings, best match first.

## When to use

- Get an artist’s country, start year, and genres.
- List the editions of an album with labels.

## When not to use

- Books. Use https://skills.duaer.com/open-library.md.
- Museum objects. Use https://skills.duaer.com/vam-museum.md.

## Call

`GET https://api.duaer.com/v1/data/musicbrainz?words=Radiohead`

Header: `Authorization: Bearer <Duaer key>`

Use an account key or a model API key.

Get a Duaer key: https://skills.duaer.com/keys.md

## Parameters

Provide `words`.

- `words` — Artist, album, or song such as Radiohead.
- `type` — Optional. `artist`, `release`, or `recording`. Default artist.
- `limit` — Optional. Rows to return, from 1 to 20. Default 10.

## Examples

- `GET https://api.duaer.com/v1/data/musicbrainz?words=Radiohead` — the band and similar names.
- `GET https://api.duaer.com/v1/data/musicbrainz?words=OK%20Computer&type=release` — releases of OK Computer.

## Result

The response is `{ "items": [...] }`. Each item has `source`, `title`, `url`, and `summary`, plus:

- `mbid`, `name`, `type`, `score` — MusicBrainz ID, name, kind, and match score.
- `country`, `area`, `begin`, `end`, `tags` — for artists.
- `release`, `artist`, `date`, `label`, `tracks`, `status`, `releaseType` — for releases.
- `recording`, `artist`, `lengthSec`, `firstReleaseDate`, `release` — for recordings.

Fields without a value are left out.

## Credits

A search that returns at least one row uses 1 credit.
An empty search, a search that finds nothing, or a failed search uses 0.
Wrong input returns 400 with a message and uses 0.
No remaining credits returns 402 and does not search.
A missing key returns 401.

## Related

- https://skills.duaer.com/open-library.md — Duaer Open Library
- https://skills.duaer.com/wikipedia.md — Duaer Wikipedia

常见问题

Duaer 的MusicBrainz 音乐库检索扣多少额度?

查到结果时扣 1 额度;没有结果或出错不扣。

Duaer MusicBrainz 音乐库能播放音乐吗?

不能。Duaer 只返回曲目与发行信息,不含音频。

同组