音
Genius API
5 endpointsMusic & AudioGlobalsocial:read
Returns songs, artists, albums, lyrics and annotated lines from Genius, including song details and an artist's song list.
View as Markdown| GET | /genius/search | Songs, artists and albums that match a search. The answer has no paging. |
| GET | /genius/song | Title, artist, album, release date, description and page views of one song. |
| GET | /genius/artist | Name, followers, verification and description of one artist. |
| GET | /genius/artistSongs | Songs of one artist in a sort order, 20 per page. |
| GET | /genius/referents | Annotated lines of one song, each with its annotations, 20 per page. |
search
GET
/v1/genius/searchSongs, artists and albums that match a search. The answer has no paging.
scope social:read5 unitscached 10 minpaginated
Parameters
querystring required | Search terms. e.g. bohemian rhapsody |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
6 fields
artistName | string |
fullTitle | string |
id | string |
title | string |
type | string |
url | string |
curl "https://api.hoshime.com/v1/genius/search?query=bohemian+rhapsody" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/genius/search?query=bohemian+rhapsody", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/genius/search?query=bohemian+rhapsody", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "artistName": "…", "fullTitle": "…", "id": "abc123", "title": "…", "type": "…", "url": "https://…" } ], "meta": { "cached": false, "endpoint": "search", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "genius", "requestId": "req_2Xb9kQ…", "units": 5 } }
song
GET
/v1/genius/songTitle, artist, album, release date, description and page views of one song.
scope social:read5 unitscached 24 h
Parameters
idinteger required | Song id, from search or from the song URL. e.g. 5049949 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
13 fields
album | string |
annotationCount | integer (int64) |
artistId | string |
artistName | string |
description | string |
fullTitle | string |
id | string |
imageUrl | string |
language | string |
pageviews | integer (int64) |
releaseDate | string |
title | string |
url | string |
curl "https://api.hoshime.com/v1/genius/song?id=5049949" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/genius/song?id=5049949", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/genius/song?id=5049949", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "album": "…", "annotationCount": 1280, "artistId": "abc123", "artistName": "…", "description": "…", "fullTitle": "…", "id": "abc123", "imageUrl": "https://…", "language": "…", "pageviews": 0, "releaseDate": "…", "title": "…", "url": "https://…" }, "meta": { "cached": false, "endpoint": "song", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "genius", "requestId": "req_2Xb9kQ…", "units": 5 } }
artist
GET
/v1/genius/artistName, followers, verification and description of one artist.
scope social:read5 unitscached 24 h
Parameters
idinteger required | Artist id, from search or from the artist URL. e.g. 3043085 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
13 fields
avatarUrl | string |
bio | string |
createdAt | string |
followerCount | integer (int64) |
followingCount | integer (int64) |
id | string |
instagram | string |
name | string |
postCount | integer (int64) |
twitter | string |
url | string |
username | string |
verified | boolean |
curl "https://api.hoshime.com/v1/genius/artist?id=3043085" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/genius/artist?id=3043085", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/genius/artist?id=3043085", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "avatarUrl": "https://…", "bio": "…", "createdAt": "2026-11-06T09:41:00Z", "followerCount": 1280, "followingCount": 1280, "id": "abc123", "instagram": "…", "name": "…", "postCount": 1280, "twitter": "…", "url": "https://…", "username": "…", "verified": false }, "meta": { "cached": false, "endpoint": "artist", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "genius", "requestId": "req_2Xb9kQ…", "units": 5 } }
artistSongs
GET
/v1/genius/artistSongsSongs of one artist in a sort order, 20 per page.
scope social:read5 unitscached 1 hpaginated
Parameters
idinteger required | Artist id. e.g. 3043085 |
sortstring | Sort order.popularitytitlerelease_datedefault popularity |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
5 fields
artistName | string |
fullTitle | string |
id | string |
title | string |
url | string |
curl "https://api.hoshime.com/v1/genius/artistSongs?id=3043085" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/genius/artistSongs?id=3043085", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/genius/artistSongs?id=3043085", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "artistName": "…", "fullTitle": "…", "id": "abc123", "title": "…", "url": "https://…" } ], "meta": { "cached": false, "endpoint": "artistSongs", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "genius", "requestId": "req_2Xb9kQ…", "units": 5 } }
referents
GET
/v1/genius/referentsAnnotated lines of one song, each with its annotations, 20 per page.
scope social:read5 unitscached 1 hpaginated
Parameters
songIdinteger required | Song id. e.g. 5049949 |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
9 fields
annotations | Annotation[] |
body | string |
id | string |
url | string |
verified | boolean |
votesTotal | integer (int64) |
classification | string |
fragment | string |
id | string |
curl "https://api.hoshime.com/v1/genius/referents?songId=5049949" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/genius/referents?songId=5049949", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/genius/referents?songId=5049949", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "annotations": [ { "body": null, "id": null, "url": null, "verified": null, "votesTotal": null } ], "classification": "…", "fragment": "…", "id": "abc123" } ], "meta": { "cached": false, "endpoint": "referents", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "genius", "requestId": "req_2Xb9kQ…", "units": 5 } }