Quick start

Quick Start

1

Get an API key

Open the bot @lufs_loader_botarrow-up-rightSettingsAPICreate new key.

API access requires a yearly subscription.

2

Send your first request

curl -X POST https://lufs.space:8445/api/v1/analyze/url \
  -H "X-API-Key: lufs_your_key" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ"}'
3

Get the result

{
  "bpm": 113.0,
  "bpm_confidence": 0.95,
  "key": "A minor",
  "key_confidence": 0.92,
  "hz": 440.0,
  "hz_confidence": 0.94,
  "analysis_time": 4.8,
  "cached": false,
  "analyzer_version": "2.8.1"
}

Last updated