API Genius Lyrics
• 1 min read
import requests
url = "https://genius-song-lyrics1.p.rapidapi.com/search"
querystring = {"q":"Alan Walker","per_page":"10","page":"1"}
headers = {
"X-RapidAPI-Key": "45de2811f2mshc93a1328afeb302p1ee42bjsnbde76995c6f3",
"X-RapidAPI-Host": "genius-song-lyrics1.p.rapidapi.com"
}
response = requests.request("GET", url, headers=headers, params=querystring)
print(response.text)
string = {response.text}
{"meta":{"status":200},"response":{"hits":[{"highlights":[],"index":"song","type":"song","result":{"_type":"song","annotation_count":13,"api_path":"/songs/2396871","artist_names":"Alan Walker","full_title":"Faded by Alan Walker","header_image_thumbnail_url":"https://images.genius.com/10db94c5c11e1bb1ac9cc917a6c59250.300x300x1.jpg","header_image_url":"https://images.genius.com/10db94c5c11e1bb1ac9cc917a6c59250.1000x1000x1.jpg","id":2396871,"instrumental":false,"language":"en","lyrics_owner_id":93685,"lyrics_state":"complete","lyrics_updated_at":1648231336,"path":"/Alan-walker-faded-lyrics","pyongs_count":116,"relationships_index_url":"https://genius.com/Alan-walker-faded-sample","release_date_components":{"year":2015,"month":12,"day":3},"release_date_for_display":"December 3, 2015","release_date_with_abbreviated_month_for_display":"Dec. 3, 2015","song_art_image_thumbnail_url":"https://images.genius.com/708aef5551c9f670205b5cab3f38c8bd.300x300x1.jpg","song_art_image_url":"https://images.genius.com/708aef5551c9f670205b5cab3f38c8bd.1000x1000x1.jpg","stats":{"unreviewed_annotations":0,"concurrents":2,"hot":false,"pageviews":1429351},"title":"Faded","title_with_featured":"Faded","updated_by_human_at":1644264066,"url":"https://genius.com/Alan-walker-faded-lyrics","featured_artists":[],"primary_artist":{"_type":"artist","api_path":"/artists/456537","header_image_url":"https://images.genius.com/5dc7f5c57981ba34e464414f7fc08ebf.1000x333x1.jpg","id":456537,"image_url":"https://images.genius.com/70b44d7b5a4be028e87b865dd425a4cc.1000x1000x1.jpg","index_character":"a","is_meme_verified":false,"is_verified":true,"name":"Alan Walker","slug":"Alan-walker","url":"https://genius.com/artists/Alan-walker","iq":3530}}},{"highlights":[],"index":"song","type":"song","result":{"_type":"song","annotation_count":2,"api_path":"/songs/3801089","artist_names":"Alan Walker (Ft. Au/Ra & Tomine Harket)","full_title":"Darkside by Alan Walker (Ft. Au/Ra & Tomine Harket)","header_image_thumbnail_url":"https://images.genius.com/10db94c5c11e1bb1ac9cc917a6c59250.300x300x1.jpg","header_image_url":"https://images.genius.com/10db94c5c11e1bb1ac9cc917a6c59250.1000x1000x1.jpg","id":3801089,"instrumental":false,"language":"en","lyrics_owner_id":6355938,"lyrics_state":"complete","lyrics_updated_at":1644862245,"path":"/Alan-walker-darkside-lyrics","pyongs_count":47,"relationships_index_url":"https://genius.com/Alan-walker-darkside-sample","release_date_components":{"year":2018,"month":7,"day":27},"release_date_for_display":"July 27, 2018","release_date_with_abbreviated_month_for_display":"Jul. 27, 2018","song_art_image_thumbnail_url":"https://images.genius.com/bbfa8575eaff89e5e2c93c8a0095fab9.300x300x1.png","song_art_image_url":"https://images.genius.com/bbfa8575eaff89e5e2c93c8a0095fab9.1000x1000x1.png","stats":{"unreviewed_annotations":1,"hot":false,"pageviews":698329},"title":"Darkside","title_with_featured":"Darkside (Ft. Au/Ra & Tomine Harket)","updated_by_human_at":1644862246,"url":"https://genius.com/Alan-walker-darkside-lyrics","featured_artists":[{"_type":"artist","api_path":"/artists/142571","header_image_url":"https://images.genius.com/4cdb3c39b6f693a32805ed616601dc27.1000x667x1.jpg","id":142571,"image_url":"https://images.genius.com/ff8b82d65a1dcafebbc117ba8265b162.939x939x1.jpg","index_character":"a","is_meme_verified":false,"is_verified":true,"name":"Au/Ra","slug":"Au-ra","url":"https://genius.com/artists/Au-ra","iq":2063},{"_type":"artist","api_path":"/artists/500222","header_image_url":"https://images.genius.com/5cb04a3fa934944e15d8cbab927e5d7c.1000x1000x1.jpg","id":500222,"image_url":"https://images.genius.com/a9f076d8b434fdf9ad08d773868188a7.1000x1000x1.jpg","index_character":"t","is_meme_verified":false,"is_verified":false,"name":"Tomine Harket","slug":"Tomine-harket","url":"https://genius.com/artists/Tomine-harket"}],"primary_artist":{"_type":"artist","api_path":"/artists/456537","header_image_url":"https://images.genius.com/5dc7f5c57981ba34e464414f7fc08ebf.1000x333x1.jpg","id":456537,"image_url":"https://images.genius.com/70b44d7b5a4be028e87b865dd425a4cc.1000x1000x1.jpg","index_character":"a","is_meme_verified":false,"is_verified":true,"name":"Alan Walker","slug":"Alan-walker","url":"https://genius.com/artists/Alan-walker","iq":3530}}},{"highlights":[],"index":"song","type":"song","result":{"_type":"song","annotation_count":5,"api_path":"/songs/3714282","artist_names":"Alan Walker (Ft. Sophia Somajo)","full_title":"Diamond Heart by Alan Walker (Ft. Sophia Somajo)","header_image_thumbnail_url":"https://images.genius.com/10db94c5c11e1bb1ac9cc917a6c59250.300x300x1.jpg","header_image_url":"https://images.genius.com/10db94c5c11e1bb1ac9cc917a6c59250.1000x1000x1.jpg","id":3714282,"instrumental":false,"language":"en","lyrics_owner_id":6355938,"lyrics_state":"complete","lyrics_updated_at":1664101366,"path":"/Alan-walker-diamond-heart-lyrics","pyongs_count":36,"relationships_index_url":"https://genius.com/Alan-walker-diamond-heart-sample","release_date_components":{"year":2018,"month":9,"day":28},"release_date_for_display":"September 28, 2018","release_date_with_abbreviated_month_for_display":"Sep. 28, 2018","song_art_image_thumbnail_url":"https://images.genius.com/c0d2b31b18186ca1898e0622f44a3b0d.300x300x1.jpg","song_art_image_url":"https://images.genius.com/c0d2b31b18186ca1898e0622f44a3b0d.1000x1000x1.jpg","stats":{"unreviewed_annotations":4,"hot":false,"pageviews":546153},"title":"Diamond Heart","title_with_featured":"Diamond Heart (Ft. Sophia Somajo)","updated_by_human_at":1664101366,"url":"https://genius.com/Alan-walker-diamond-heart-lyrics","featured_artists":[{"_type":"artist","api_path":"/artists/404796","header_image_url":"https://images.genius.com/d1ed6c19253d29e9e6560b9bdee0f176.960x539x1.jpg","id":404796,"image_url":"https://images.genius.com/f971256aaddf684c7a2585e00fc8db14.700x700x1.jpg","index_character":"s","is_meme_verified":false,"is_verified":false,"name":"Sophia Somajo","slug":"Sophia-somajo","url":"https://genius.com/artists/Sophia-somajo"}],"primary_artist":{"_type":"artist","api_path":"/artists/456537","header_image_url":"https://images.genius.com/5dc7f5c57981ba34e464414f7fc08ebf.1000x333x1.jpg","id":456537,"image_url":"https://images.genius.com/70b44d7b5a4be028e87b865dd425a4cc.1000x1000x1.jpg","index_character":"a","is_meme_verified":false,"is_verified":true,"name":"Alan Walker","slug":"Alan-walker","url":"https://genius.com/artists/Alan-walker","iq":3530}}},{"highlights":[],"index":"song","type":"song","result":{"_type":"song","annotation_count":1,"api_path":"/songs/5123075","artist_names":"Alan Walker & Ava Max","full_title":"Alone, Pt. II by Alan Walker & Ava Max","header_image_thumbnail_url":"https://images.genius.com/0b14a916f0d132ea696b587ecd5c8dea.300x300x1.jpg","header_image_url":"https://images.genius.com/0b14a916f0d132ea696b587ecd5c8dea.1000x1000x1.jpg","id":5123075,"instrumental":false,"language":"en","lyrics_owner_id":8059868,"lyrics_state":"complete","lyrics_updated_at":1652728556,"path":"/Alan-walker-and-ava-max-alone-pt-ii-lyrics","pyongs_count":33,"relationships_index_url":"https://genius.com/Alan-walker-and-ava-max-alone-pt-ii-sample","release_date_components":{"year":2019,"month":12,"day":27},"release_date_for_display":"December 27, 2019","release_date_with_abbreviated_month_for_display":"Dec. 27, 2019","song_art_image_thumbnail_url":"https://images.genius.com/9fa97a64e5bebfbf9d692b7b82bbed90.300x300x1.png","song_art_image_url":"https://images.genius.com/9fa97a64e5bebfbf9d692b7b82bbed90.1000x1000x1.png","stats":{"unreviewed_annotations":0,"hot":false,"pageviews":342624},"title":"Alone, Pt. II","title_with_featured":"Alone, Pt. II","updated_by_human_at":1652720366,"url":"https://genius.com/Alan-walker-and-ava-max-alone-pt-ii-lyrics","featured_artists":[],"primary_artist":{"_type":"artist","api_path":"/artists/2055165","header_image_url":"https://assets.genius.com/images/default_avatar_300.png?1665072509","id":2055165,"image_url":"https://assets.genius.com/images/default_avatar_300.png?1665072509","index_character":"a","is_meme_verified":false,"is_verified":false,"name":"Alan Walker & Ava Max","slug":"Alan-walker-and-ava-max","url":"https://genius.com/artists/Alan-walker-and-ava-max"}}},{"highlights":[],"index":"song","type":"song","result":{"_type":"song","annotation_count":1,"api_path":"/songs/3234393","artist_names":"Alan Walker, Digital Farm Animals, Noah Cyrus & Juliander","full_title":"All Falls Down by Alan Walker, Digital Farm Animals, Noah Cyrus & Juliander","header_image_thumbnail_url":"https://images.genius.com/10db94c5c11e1bb1ac9cc917a6c59250.300x300x1.jpg","header_image_url":"https://images.genius.com/10db94c5c11e1bb1ac9cc917a6c59250.1000x1000x1.jpg","id":3234393,"instrumental":false,"language":"en","lyrics_owner_id":93685,"lyrics_state":"complete","lyrics_updated_at":1601012369,"path":"/Alan-walker-digital-farm-animals-noah-cyrus-and-juliander-all-falls-down-lyrics","pyongs_count":39,"relationships_index_url":"https://genius.com/Alan-walker-digital-farm-animals-noah-cyrus-and-juliander-all-falls-down-sample","release_date_components":{"year":2017,"month":10,"day":27},"release_date_for_display":"October 27, 2017","release_date_with_abbreviated_month_for_display":"Oct. 27, 2017","song_art_image_thumbnail_url":"https://images.genius.com/dc1c965917b3b1cb820008cfc217ae9e.300x300x1.jpg","song_art_image_url":"https://images.genius.com/dc1c965917b3b1cb820008cfc217ae9e.1000x1000x1.jpg","stats":{"unreviewed_annotations":0,"hot":false,"pageviews":326969},"title":"All Falls Down","title_with_featured":"All Falls Down","updated_by_human_at":1609878489,"url":"https://genius.com/Alan-walker-digital-farm-animals-noah-cyrus-and-juliander-all-falls-down-lyrics","featured_artists":[],"primary_artist":{"_type":"artist","api_path":"/artists/2408754","header_image_url":"https://assets.genius.com/images/default_avatar_300.png?1665072509","id":2408754,"image_url":"https://assets.genius.com/images/default_avatar_300.png?1665072509","index_character":"a","is_meme_verified":false,"is_verified":false,"name":"Alan Walker, Digital Farm Animals, Noah Cyrus & Juliander","slug":"Alan-walker-digital-farm-animals-noah-cyrus-and-juliander","url":"https://genius.com/artists/Alan-walker-digital-farm-animals-noah-cyrus-and-juliander"}}},{"highlights":[],"index":"song","type":"song","result":{"_type":"song","annotation_count":3,"api_path":"/songs/4395068","artist_names":"Alan Walker, Sabrina Carpenter & Farruko","full_title":"On My Way by Alan Walker, Sabrina Carpenter & Farruko","header_image_thumbnail_url":"https://images.genius.com/0b14a916f0d132ea696b587ecd5c8dea.300x300x1.jpg","header_image_url":"https://images.genius.com/0b14a916f0d132ea696b587ecd5c8dea.1000x1000x1.jpg","id":4395068,"instrumental":false,"language":"en","lyrics_owner_id":5667167,"lyrics_state":"complete","lyrics_updated_at":1611267605,"path":"/Alan-walker-sabrina-carpenter-and-farruko-on-my-way-lyrics","pyongs_count":60,"relationships_index_url":"https://genius.com/Alan-walker-sabrina-carpenter-and-farruko-on-my-way-sample","release_date_components":{"year":2019,"month":3,"day":21},"release_date_for_display":"March 21, 2019","release_date_with_abbreviated_month_for_display":"Mar. 21, 2019","song_art_image_thumbnail_url":"https://images.genius.com/ad957509e73769340113146e3d74f4f7.300x300x1.png","song_art_image_url":"https://images.genius.com/ad957509e73769340113146e3d74f4f7.1000x1000x1.png","stats":{"unreviewed_annotations":0,"hot":false,"pageviews":301679},"title":"On My Way","title_with_featured":"On My Way","updated_by_human_at":1646242626,"url":"https://genius.com/Alan-walker-sabrina-carpenter-and-farruko-on-my-way-lyrics","featured_artists":[],"primary_artist":{"_type":"artist","api_path":"/artists/1767908","header_image_url":"https://assets.genius.com/images/default_avatar_300.png?1665072509","id":1767908,"image_url":"https://assets.genius.com/images/default_avatar_300.png?1665072509","index_character":"a","is_meme_verified":false,"is_verified":false,"name":"Alan Walker, Sabrina Carpenter & Farruko","slug":"Alan-walker-sabrina-carpenter-and-farruko","url":"https://genius.com/artists/Alan-walker-sabrina-carpenter-and-farruko"}}},{"highlights":[],"index":"song","type":"song","result":{"_type":"song","annotation_count":1,"api_path":"/songs/2917386","artist_names":"Alan Walker","full_title":"Alone by Alan Walker","header_image_thumbnail_url":"https://images.genius.com/10db94c5c11e1bb1ac9cc917a6c59250.300x300x1.jpg","header_image_url":"https://images.genius.com/10db94c5c11e1bb1ac9cc917a6c59250.1000x1000x1.jpg","id":2917386,"instrumental":false,"language":"en","lyrics_owner_id":3768782,"lyrics_state":"complete","lyrics_updated_at":1664011912,"path":"/Alan-walker-alone-lyrics","pyongs_count":40,"relationships_index_url":"https://genius.com/Alan-walker-alone-sample","release_date_components":{"year":2016,"month":12,"day":2},"release_date_for_display":"December 2, 2016","release_date_with_abbreviated_month_for_display":"Dec. 2, 2016","song_art_image_thumbnail_url":"https://images.genius.com/7055783b516c9db919098cd119ab714e.300x300x1.jpg","song_art_image_url":"https://images.genius.com/7055783b516c9db919098cd119ab714e.1000x1000x1.jpg","stats":{"unreviewed_annotations":0,"hot":false,"pageviews":247432},"title":"Alone","title_with_featured":"Alone","updated_by_human_at":1664011912,"url":"https://genius.com/Alan-walker-alone-lyrics","featured_artists":[],"primary_artist":{"_type":"artist","api_path":"/artists/456537","header_image_url":"https://images.genius.com/5dc7f5c57981ba34e464414f7fc08ebf.1000x333x1.jpg","id":456537,"image_url":"https://images.genius.com/70b44d7b5a4be028e87b865dd425a4cc.1000x1000x1.jpg","index_character":"a","is_meme_verified":false,"is_verified":true,"name":"Alan Walker","slug":"Alan-walker","url":"https://genius.com/artists/Alan-walker","iq":3530}}},{"highlights":[],"index":"song","type":"song","result":{"_type":"song","annotation_count":1,"api_path":"/songs/3089240","artist_names":"Alan Walker (Ft. Gavin James)","full_title":"Tired by Alan Walker (Ft. Gavin James)","header_image_thumbnail_url":"https://images.genius.com/4dcbbcb94dcf4af84c1071e35973255a.300x300x1.jpg","header_image_url":"https://images.genius.com/4dcbbcb94dcf4af84c1071e35973255a.640x640x1.jpg","id":3089240,"instrumental":false,"language":"en","lyrics_owner_id":126836,"lyrics_state":"complete","lyrics_updated_at":1657300524,"path":"/Alan-walker-tired-lyrics","pyongs_count":25,"relationships_index_url":"https://genius.com/Alan-walker-tired-sample","release_date_components":{"year":2017,"month":5,"day":19},"release_date_for_display":"May 19, 2017","release_date_with_abbreviated_month_for_display":"May. 19, 2017","song_art_image_thumbnail_url":"https://images.genius.com/4dcbbcb94dcf4af84c1071e35973255a.300x300x1.jpg","song_art_image_url":"https://images.genius.com/4dcbbcb94dcf4af84c1071e35973255a.640x640x1.jpg","stats":{"unreviewed_annotations":0,"hot":false,"pageviews":178316},"title":"Tired","title_with_featured":"Tired (Ft. Gavin James)","updated_by_human_at":1657293239,"url":"https://genius.com/Alan-walker-tired-lyrics","featured_artists":[{"_type":"artist","api_path":"/artists/452119","header_image_url":"https://images.genius.com/9c79847d754ca506adc64bd1e7f40c50.615x615x1.jpg","id":452119,"image_url":"https://images.genius.com/9c79847d754ca506adc64bd1e7f40c50.615x615x1.jpg","index_character":"g","is_meme_verified":false,"is_verified":true,"name":"Gavin James","slug":"Gavin-james","url":"https://genius.com/artists/Gavin-james","iq":924}],"primary_artist":{"_type":"artist","api_path":"/artists/456537","header_image_url":"https://images.genius.com/5dc7f5c57981ba34e464414f7fc08ebf.1000x333x1.jpg","id":456537,"image_url":"https://images.genius.com/70b44d7b5a4be028e87b865dd425a4cc.1000x1000x1.jpg","index_character":"a","is_meme_verified":false,"is_verified":true,"name":"Alan Walker","slug":"Alan-walker","url":"https://genius.com/artists/Alan-walker","iq":3530}}},{"highlights":[],"index":"song","type":"song","result":{"_type":"song","annotation_count":3,"api_path":"/songs/7432868","artist_names":"salem ilese, TOMORROW X TOGETHER & Alan Walker","full_title":"PS5 by salem ilese, TOMORROW X TOGETHER & Alan Walker","header_image_thumbnail_url":"https://images.genius.com/791f4e51e8a23d5c0c91d25c2f4cdd26.300x300x1.png","header_image_url":"https://images.genius.com/791f4e51e8a23d5c0c91d25c2f4cdd26.1000x1000x1.png","id":7432868,"instrumental":false,"language":"en","lyrics_owner_id":7748793,"lyrics_state":"complete","lyrics_updated_at":1663082433,"path":"/Salem-ilese-tomorrow-x-together-and-alan-walker-ps5-lyrics","pyongs_count":12,"relationships_index_url":"https://genius.com/Salem-ilese-tomorrow-x-together-and-alan-walker-ps5-sample","release_date_components":{"year":2022,"month":2,"day":23},"release_date_for_display":"February 23, 2022","release_date_with_abbreviated_month_for_display":"Feb. 23, 2022","song_art_image_thumbnail_url":"https://images.genius.com/791f4e51e8a23d5c0c91d25c2f4cdd26.300x300x1.png","song_art_image_url":"https://images.genius.com/791f4e51e8a23d5c0c91d25c2f4cdd26.1000x1000x1.png","stats":{"unreviewed_annotations":1,"hot":false,"pageviews":180018},"title":"PS5","title_with_featured":"PS5","updated_by_human_at":1663071333,"url":"https://genius.com/Salem-ilese-tomorrow-x-together-and-alan-walker-ps5-lyrics","featured_artists":[],"primary_artist":{"_type":"artist","api_path":"/artists/3071759","header_image_url":"https://assets.genius.com/images/default_avatar_300.png?1665072509","id":3071759,"image_url":"https://assets.genius.com/images/default_avatar_300.png?1665072509","index_character":"s","is_meme_verified":false,"is_verified":false,"name":"salem ilese, TOMORROW X TOGETHER & Alan Walker","slug":"Salem-ilese-tomorrow-x-together-and-alan-walker","url":"https://genius.com/artists/Salem-ilese-tomorrow-x-together-and-alan-walker"}}},{"highlights":[],"index":"song","type":"song","result":{"_type":"song","annotation_count":6,"api_path":"/songs/2486419","artist_names":"Alan Walker","full_title":"Sing Me to Sleep by Alan Walker","header_image_thumbnail_url":"https://images.genius.com/10db94c5c11e1bb1ac9cc917a6c59250.300x300x1.jpg","header_image_url":"https://images.genius.com/10db94c5c11e1bb1ac9cc917a6c59250.1000x1000x1.jpg","id":2486419,"instrumental":false,"language":"en","lyrics_owner_id":104344,"lyrics_state":"complete","lyrics_updated_at":1628044059,"path":"/Alan-walker-sing-me-to-sleep-lyrics","pyongs_count":28,"relationships_index_url":"https://genius.com/Alan-walker-sing-me-to-sleep-sample","release_date_components":{"year":2016,"month":6,"day":2},"release_date_for_display":"June 2, 2016","release_date_with_abbreviated_month_for_display":"Jun. 2, 2016","song_art_image_thumbnail_url":"https://images.genius.com/82006c454b4bb897f02c1a66e2d3f2df.300x300x1.jpg","song_art_image_url":"https://images.genius.com/82006c454b4bb897f02c1a66e2d3f2df.300x300x1.jpg","stats":{"unreviewed_annotations":4,"hot":false,"pageviews":158635},"title":"Sing Me to Sleep","title_with_featured":"Sing Me to Sleep","updated_by_human_at":1628044059,"url":"https://genius.com/Alan-walker-sing-me-to-sleep-lyrics","featured_artists":[],"primary_artist":{"_type":"artist","api_path":"/artists/456537","header_image_url":"https://images.genius.com/5dc7f5c57981ba34e464414f7fc08ebf.1000x333x1.jpg","id":456537,"image_url":"https://images.genius.com/70b44d7b5a4be028e87b865dd425a4cc.1000x1000x1.jpg","index_character":"a","is_meme_verified":false,"is_verified":true,"name":"Alan Walker","slug":"Alan-walker","url":"https://genius.com/artists/Alan-walker","iq":3530}}}]}}