Skip to main content

Getting a stress pattern for a song

Full API reference

Now that you've got your song's foundation in place, it's time to get its stress pattern! To do this, make a POST request to the /getStressPattern endpoint with the following parameters:

Get a stress pattern for a song
POST /getStressPattern HTTP/1.1
Host: staging.casperaki.com
Content-Type: application/json
{
<Insert song>
}

This will give you the stress pattern for your specified song. You can use this API to analyze and understand the rhythmic structure of your song, helping you to create a unique and captivating sound.

Note: The Authorization header requires a valid JWT token, which can be obtained by following our authentication process.