Skip to content

SongBPM API

4 endpointsMusic & AudioGlobalsocial:read4 real examples

Returns songs with tempo, key, length and streaming links, plus artists and their songs from SongBPM.

View as Markdown
GET/songbpm/searchSongs the site matches to a search text, each with its tempo, key, length and streaming links.
GET/songbpm/songOne song's page: its tempo, key, length, title, artist and streaming links.
GET/songbpm/artistThe songs of one artist on the site, with their tempo and key, with cursor paging.
GET/songbpm/artistsThe artists of the site's index, optionally those starting with one letter, with cursor paging.

song

GET/v1/songbpm/song

One song's page: its tempo, key, length, title, artist and streaming links.

scope social:read1 unitcached 24 h

Parameters

path
string
required
Song path from the site, artist and song slugs joined by a slash, such as coldplay/yellow.
e.g. coldplay/yellow
tunnel
string
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.
proxy
string
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.
profileId
string
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

11 fields
amazonUrlstring
appleUrlstring
artiststring
artworkUrlstring
bpminteger (int64)
durationSecinteger (int64)
keystring
pathstring
spotifyUrlstring
titlestring
urlstring
curl "https://api.hoshime.com/v1/songbpm/song?path=coldplay%2Fyellow" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "amazonUrl": "https://www.amazon.com/s?k=Coldplay+-+Yellow&i=digital-music&tag=songbpm-20",
    "appleUrl": "https://geo.music.apple.com/us/album/yellow/1122782080?i=1122782283&at=11l4DB&app=music",
    "artist": "Coldplay",
    "artworkUrl": "",
    "bpm": 173,
    "durationSec": 267,
    "key": "B",
    "path": "coldplay/yellow",
    "spotifyUrl": "https://open.spotify.com/track/3AJwUDP919kvQ9QcozQPxg",
    "title": "Yellow",
    "url": "https://songbpm.com/@coldplay/yellow"
  },
  "meta": {
    "cached": false,
    "endpoint": "song",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "songbpm",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

artist

GET/v1/songbpm/artist

The songs of one artist on the site, with their tempo and key, with cursor paging.

scope social:read1 unitcached 6 hpaginated

Parameters

path
string
required
Artist slug from the site, such as coldplay.
e.g. coldplay
cursor
string
meta.pagination.nextCursor of the previous page. Omit it for the first page.
tunnel
string
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.
proxy
string
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.
profileId
string
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

11 fields
amazonUrlstring
appleUrlstring
artiststring
artworkUrlstring
bpminteger (int64)
durationSecinteger (int64)
keystring
pathstring
spotifyUrlstring
titlestring
urlstring
curl "https://api.hoshime.com/v1/songbpm/artist?path=coldplay" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "amazonUrl": "https://www.amazon.com/s?k=Coldplay+-+1.36&i=digital-music&tag=songbpm-20",
      "appleUrl": "https://geo.music.apple.com/us/album/1-36/695500500?i=695500503&at=11l4DB&app=music",
      "artist": "Coldplay",
      "artworkUrl": "https://i.scdn.co/image/ab67616d0000b27340b57befa24e9fe0e888f4a1",
      "bpm": 137,
      "durationSec": 126,
      "key": "C♯/D♭",
      "path": "coldplay/1.36",
      "spotifyUrl": "https://open.spotify.com/track/7fSFdF4ymvjiOIr1EzB2pu",
      "title": "1.36",
      "url": "https://songbpm.com/@coldplay/1.36"
    },
    {
      "amazonUrl": "https://www.amazon.com/s?k=Coldplay+-+2000+Miles&i=digital-music&tag=songbpm-20",
      "appleUrl": "https://geo.music.apple.com/us/album/2000-miles/1312929633?i=1312930360&at=11l4DB&app=music",
      "artist": "Coldplay",
      "artworkUrl": "https://i.scdn.co/image/ab67616d0000b273220adaed034222cf569cc3b3",
      "bpm": 118,
      "durationSec": 196,
      "key": "G",
      "path": "coldplay/2000-miles",
      "spotifyUrl": "https://open.spotify.com/track/5v1SC5d3F8VHwqkXx53f7d",
      "title": "2000 Miles",
      "url": "https://songbpm.com/@coldplay/2000-miles"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "artist",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "songbpm",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

artists

GET/v1/songbpm/artists

The artists of the site's index, optionally those starting with one letter, with cursor paging.

scope social:read1 unitcached 24 hpaginated

Parameters

letter
string
First letter of the artist name. Omit it for the whole index.
abcdefghijklmnopqrstuvwxyz
e.g. c
cursor
string
meta.pagination.nextCursor of the previous page. Omit it for the first page.
tunnel
string
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.
proxy
string
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.
profileId
string
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

4 fields
artworkUrlstring
namestring
pathstring
urlstring
curl "https://api.hoshime.com/v1/songbpm/artists?letter=c" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "artworkUrl": "https://i.scdn.co/image/ab67616d0000b273f7dc27b7ef4bf83f5c7a1e0e",
      "name": "大C",
      "path": "c",
      "url": "https://songbpm.com/@c"
    },
    {
      "artworkUrl": "https://i.scdn.co/image/ab67616d0000b2731e2a9521975e9abba59c09ff",
      "name": "C.",
      "path": "c-",
      "url": "https://songbpm.com/@c-"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "artists",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "songbpm",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}
esc
↑↓ move↵ open