NetEase Music API

Source: Internet
Author: User

This analysis is the NetEase music API

Song Search api:http://music.163.com/api/search/get/web?csrf_token=

Need to use post to get

Parameters:

referer=http://music.163.com/search/

Hlposttag=</span>

Hlpretag=<span class=\ "S-fc7\" >

Limit= returns the number of results

offset= (Current page-1) * Number of results returned

s= need to search for songs or singers

total= If the first page is true otherwise flase

Type=1

return results

{"Result": {"Songcount": $, "songs": [{"id": 186001, "name ":" Qi Li Xiang "," artists ": [{" id ": 6452," name ":" Jay Chou "," Picurl ": null," Alias ": []," albumsize ": 0 , "Picid": 0, "trans": null, "Img1v1url": "Http://p3."                Music.126.net/6y-uleoritedbvrolv0q8a==/5639395138885805.jpg "," Img1v1 ": 0}                    ], "album": {"id": 18903, "name": "Qi Qi Xiang",                        "Artist": {"id": 0, "name": "", "Picurl": null,                        "Alias": [], "albumsize": 0, "Picid": 0, "Trans": null,                        "Img1v1url": "Http://p4.music.126.net/6y-UleORITEDbvrOLV0Q8A==/5639395138885805.jpg", "Img1v1": 0}, "Publishtime": 1091462400000, "size": 1                0, "Copyrightid": 1007, "status": 1, "Picid": 102254581384072                }, "duration": 299000, "Copyrightid": 1007, "status": 3, "Alias": [], "fee": 0, "Mvid": 185014, "Rtype": 1, "rUr L ":" http://wap.118100.cn/ca/ps/5347/1150000019 "," Ftype ": 1}, {" id " : 186125, "name": "Unable to open mouth", "artists": [{"id": 645                        2, "name": "Jay Chou", "Picurl": null, "Alias": [], "AlbumSIze ": 0," Picid ": 0," trans ": null," Img1v1url ":" Htt                    P://p3.music.126.net/6y-uleoritedbvrolv0q8a==/5639395138885805.jpg "," img1v1 ": 0                    }], "album": {"id": 18915, "name": "Fant West", "Artist": {"id": 0, "name": "", "Picurl":                        NULL, "Alias": [], "albumsize": 0, "Picid": 0, "Trans": null, "Img1v1url": "http://p3.music.126.net/6y-UleORITEDbvrOLV0Q8A==/5639 395138885805.jpg "," Img1v1 ": 0}," Publishtime ": 100091520000                    0, "size": Ten, "Copyrightid": 1007, "status": 1, "Picid": 593736279122"duration": 285000, "Copyrightid": 1007, "status": 3,                "Alias": [], "fee": 0, "Mvid": 143050, "Rtype": 1,                "Rurl": "http://wap.118100.cn/ca/ps/5347/1150000040", "Ftype": 1}, { "id": 186055, "name": "Back to the past", "artists": [{"id                        ": 6452," name ":" Jay Chou "," Picurl ": null," Alias ": [],                        "Albumsize": 0, "Picid": 0, "trans": null,                        "Img1v1url": "Http://p3.music.126.net/6y-UleORITEDbvrOLV0Q8A==/5639395138885805.jpg",                    "Img1v1": 0}], "album": {"id": 18907,   "Name": "Octave Space",                 "Artist": {"id": 0, "name": "", "Pi                         CURL ": null," Alias ": []," albumsize ": 0," Picid ": 0, "Trans": null, "Img1v1url": "Http://p4.music.126.net/6y-UleORITEDbvrOLV0Q8A ==/5639395138885805.jpg "," Img1v1 ": 0}," Publishtime ": 10269                    21600000, "size": Ten, "Copyrightid": 1007, "status": 1, "Picid": 5953855464827125}, "duration": 231000, "Copyrightid": 100                7, "status": 3, "Alias": [], "fee": 0, "Mvid": 154014,            "Rtype": 1, "Rurl": "http://wap.118100.cn/ca/ps/5347/1150000008", "Ftype": 1     },            {           "id": 185815, "name": "Dandelion's Convention", "artists": [{ "id": 6452, "name": "Jay Chou", "Picurl": null, "a                         Lias ": []," albumsize ": 0," Picid ": 0," trans ": null,                        "Img1v1url": "Http://p3.music.126.net/6y-UleORITEDbvrOLV0Q8A==/5639395138885805.jpg",                    "Img1v1": 0}], "album": {"id": 18886, "Name": "I am Busy", "artist": {"id": 0, "Nam                        E ":" "," Picurl ": null," Alias ": []," albumsize ": 0, "Picid": 0, "trans": null, "Img1v1url": "Http://p4.mu sic.126.net/6y-uleoritedBvrolv0q8a==/5639395138885805.jpg "," Img1v1 ": 0}," Publishti                     Me ": 1193846400000," size ": Ten," Copyrightid ": 1007," status ": 1, "Picid": 60473139533046}, "duration": 247000, "copyright                Id ": 1007," status ": 3," Alias ": []," fee ": 0," Mvid ": 0,            "Rtype": 1, "Rurl": "http://wap.118100.cn/ca/ps/5347/1150000036", "Ftype": 1                    }, {"id": 186109, "name": "Doomsday", "Artists": [                        {"id": 6452, "name": "Jay Chou", "Picurl": null,                        "Alias": [], "albumsize": 0, "Picid": 0, "Trans": null, "Img1v1url": "Http://p4.music.126.net/6y-UleORITEDbvrOLV0Q8A==/5639395138885805.jpg",                    "Img1v1": 0}], "album": {"id": 18914,                        "Name": "Fantasy Plus", "artist": {"id": 0, "Name": "", "Picurl": null, "Alias": [], "album Size ": 0," Picid ": 0," trans ": null," Img1v1url ":" HT                    Tp://p4.music.126.net/6y-uleoritedbvrolv0q8a==/5639395138885805.jpg "," img1v1 ": 0 }, "Publishtime": 1009468800000, "Size": 3, "Copyrightid": 1007  , "status": 1, "Picid": 130841883712118}, "duration":                265000,"Copyrightid": 1007, "status": 1, "Alias": [], "fee": 0, "Mvid                ": 154013," Rtype ": 1," Rurl ":" http://wap.118100.cn/ca/ps/5347/1150000011 ", "Ftype": 1}]}, "Code": 200}

This will allow you to get the song playback address and image address.

Lyrics api:http://music.163.com/api/song/lyric/

Post form Send

Parameters

Os=pc

Id= Song ID

Lv=-1

Kv=-1

Tv=-1

Direct return to lyrics content

You can use this interface to make a song like the Micro-song: Vdiange such a public number

We can add a micro-song: Vdiange

Test the Music interface effect.

NetEase Music API

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.