Music
Tap intervals to BPM API
Derives BPM from tap intervals (or timestamps) by averaging gaps, and reports the standard deviation, steadiness and a confidence rating — a tap-tempo detector with a stability read-out. Answers 'What BPM is a 500 ms tap?', 'How steady is my tapping?'.
Price$0.04per request
MethodPOST
Route/v1/music/tap-tempo
StatusLive
MIME typeapplication/json
Rate limit120/minute
Cache0s public
musictap-tempobpmtempobeat-detectiontimingrhythmaudioproduction
API URL
Integration docshttps://x402.hexl.dev/v1/music/tap-tempoExample request
{
"intervalsMs": [
500,
500,
500
]
}Example response
{
"tapCount": 4,
"intervalCount": 3,
"meanIntervalMs": 500,
"bpm": 120,
"bpmRounded": 120,
"stdDevMs": 0,
"steadiness": 1,
"confidence": "high"
}Input schema
{
"type": "object",
"properties": {
"intervalsMs": {
"type": "array",
"items": {
"type": "number"
},
"examples": [
[
500,
500,
500
]
]
},
"timestampsMs": {
"type": "array",
"items": {
"type": "number"
},
"examples": [
[
0,
500,
1000,
1500
]
]
}
}
}Output schema
{
"type": "object",
"additionalProperties": true
}