SONOTELLER.AI

FREEMIUM
Official
Official
Verified
By SONOTELLER | Updated vor einem Tag | Music
Popularity

9.6 / 10

Latency

29,598ms

Service Level

97%

Health Check

100%

Back to All Tutorials (2)

How to make calls to SONOTELLER API

Python snippet for reference:

import requests

#music analysis endpoint
url = “https://sonoteller-ai1.p.rapidapi.com/music

#lyrics analysis endpoint
url = “https://sonoteller-ai1.p.rapidapi.com/lyrics

#sections analysis endpoint
url = “https://sonoteller-ai1.p.rapidapi.com/sections

#music file public url: *** for mp3 it’s highly recommended to include artist and title ID3 metadata in the file. It will drive to better results ***
#High performance hosts recommended (like Amazon S3 or Google Cloud Storage)
#If you don’t have a host, you can use a Google Drive link (sharing settings as “Anyone with the link” to ensure public accessibility)

file_url = “https://storage.googleapis.com/musikame-files/thefatrat-mayday-feat-laura-brehm-lyriclyrics-videocopyright-free-music.mp3

payload = {“file”: file_url}
headers = {
“content-type”: “application/json”,
“X-RapidAPI-Key”: “YOUR_RAPID_API_KEY”,
“X-RapidAPI-Host”: “sonoteller-ai1.p.rapidapi.com
}

response = requests.request(“POST”, url, json=payload, headers=headers)

print(response.text)