# 聚合搜索接口
# 接口描述
通过关键词模糊查询相关的数据,支持按匹配度排列。支持查询的数据包括:歌曲、专辑、艺人、歌单、电台、榜单。
# 调用方法
请求接口:/SEARCH/merge.json
请求方法:POST
# 输入参数
参数名 | 类型 | 是否必传 | 说明 |
---|---|---|---|
word | string | 必传 | 关键词 |
type | numeric | 必传 | 1 歌曲 2 歌手 3 专辑 41 歌单 42 电台 43 榜单 |
pageNo | numeric | 必传 | 页数;值只能为 1 |
pageSize | numeric | 必传 | 每页数量;值范围[1,300] |
# 返回结果
查询歌曲
{
"state": true,
"errcode": "",
"errmsg": "",
"data": {
"typeTrack": [
{
"artist": [
{
"artistCode": "A10047720",
"birthday": "1983-07-17",
"gender": "男",
"name": "薛之谦",
"artistType": 38,
"artistTypeName": "歌手",
"pic": "https://img01.dmhmusic.com/0101/M00/F8/AE/ChR45V7XEJWAZJ8KAAL8wj6aS4w115.jpg",
"region": ""
}
],
"cpId": 23,
"pic": "https://img01.dmhmusic.com/0412/M00/FF/D8/ChAKEl_JBDKAF77lAGio9UC9CWk155.jpg",
"title": "不爱我",
"duration": 264,
"assetId": "T10056342609",
"genre": "流行",
"albumTitle": "不爱我",
"id": "T10056342609",
"lang": "中文",
"afReplayGain": -2.75,
"albumAssetCode": "P10003444966",
"releaseDate": "2020-08-20T00:00:00.000Z",
"isrc": "CNZ502001162",
"sort": 1,
"meanVolume": -12.8,
"maxVolume": 0,
"lyric": "https://static01.dmhmusic.com/0412/M00/FF/D9/ChAKEV_JBDGAEmyAAAAE7A_DLms269.txt",
"pay_model": 2,
"_trackId": 18755966,
"_score": 1.0000001,
"TSID": "T10056342609",
"allRate": ["3000", "320", "64", "128"],
"pushTime": "2020-08-20T00:00:00+08:00",
"downTime": "2037-01-01T00:00:00+08:00",
"bizList": ["sdk_cpm"],
"rateFileInfo": {
"64": {
"size": 2115617,
"format": "aac"
},
"128": {
"size": 4231462,
"format": "mp3"
},
"320": {
"size": 10578591,
"format": "mp3"
},
"3000": {
"size": 24968215,
"format": "flac"
}
}
},
{}
],
"typeArtist": [],
"typeAlbum": [],
"typeResources": [],
"total": 114,
"searchMode": "match new"
}
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
查询专辑
{
state: true,
errcode: "",
errmsg: "",
data: {
typeTrack: [],
typeArtist: [],
typeAlbum: [{
albumAssetCode: "P10002470065",
releaseDate: "2006-06-09T00:00:00.000Z",
artist: [{
artistCode: "A10047720",
birthday: "1983-07-17",
gender: "男",
name: "薛之谦",
artistType: 38,
artistTypeName: "歌手",
pic: "https://img01.dmhmusic.com/0101/M00/F8/AE/ChR45V7XEJWAZJ8KAAL8wj6aS4w115.jpg",
region: ""
}],
cpId: 51,
introduce: "⊙我型我SHOW"
人气天王 2006 年乐坛最具爆发力的 "新优质偶像"
随碟附赠DV......",
genre: "流行",
upc: "00602517034198",
pic: "https://img01.dmhmusic.com/0208/M00/7E/38/ChR461va3LaAPkTNAAY8sx0TKq4701.jpg",
type: 1,
title: "薛之谦",
lang: "中文",
_score: 99.011215,
downTime: "2037-01-01T00:00:00+08:00",
trackList: [{
duration: 290,
artist: [{
artistCode: "A10047720",
birthday: "1983-07-17",
gender: "男",
name: "薛之谦",
artistType: 38,
artistTypeName: "歌手",
pic: "https://img01.dmhmusic.com/0101/M00/F8/AE/ChR45V7XEJWAZJ8KAAL8wj6aS4w115.jpg",
region: ""
}],
assetId: "T10047981992",
isrc: "HKA610600168",
sort: 1,
title: "王子归来"
},
{}
],
pushTime: "2019-06-18T14:48:13+08:00",
available: true,
availableErrMsg: ""
}
],
typeResources: [],
total: 42,
searchMode: "match"
}
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
查询艺人
{
"state": true,
"errcode": "",
"errmsg": "",
"data": {
"typeTrack": [],
"typeArtist": [
{
"birthday": "1983-07-17T00:00:00.000Z",
"pictorialList": [
"/0101/M00/F8/BD/ChR45F7XEB6ALAviACVYPZ-ozvE976.jpg"
],
"gender": 1,
"introduce": "薛之谦,中国内地男歌手,籍贯上海市。2004年,第一次参加大型歌......",
"weight": 55,
"pic": "https://img01.dmhmusic.com/0101/M00/F8/AE/ChR45V7XEJWAZJ8KAAL8wj6aS4w115.jpg",
"blood": 4,
"artistCode": "A10047720",
"birthPlace": "",
"name": "薛之谦",
"region": "",
"height": 172,
"_score": 61.300476
}
],
"typeAlbum": [],
"typeResources": [],
"total": 1,
"searchMode": "match"
}
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
查询歌单/电台/榜单
{
"state": true,
"errcode": "",
"errmsg": "",
"data": {
"typeTrack": [],
"typeArtist": [],
"typeAlbum": [],
"typeResources": [
{
"thirdCateList": [],
"thirdTagList": [],
"pic": "https://img01.dmhmusic.com/0208/M00/46/A9/ChR47Fqiat6AUf9sAB-MOPPovJQ146.jpg",
"sort": 226,
"title": "薛之谦",
"menu": [],
"addDate": "2020-06-13T00:41:43.000Z",
"indexDataAddTime": "2020-12-07T21:59:55.953Z",
"tagList": ["国语流行"],
"id": 251118,
"cateList": [2376],
"desc": "",
"resourceType": 1,
"_score": 40.158867,
"trackCount": 28
}
],
"total": 4,
"searchMode": "match"
}
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
← 专辑歌曲数统计接口 多种条件组合查询接口 →