FLAC duration returns sample frames, sample rate and playback time from STREAMIN...
https://ton.halowerk.com/v1/flac-handoff-sample-durationOverview
FLAC duration returns sample frames, sample rate and playback time from STREAMINFO. Use it when an agent needs a duration without decoding the audio.
Protocol
x402 (POST)
Price
$0.0050
Payment Asset
USD Coin
Payment Network
Base
Category
uncategorized
Provider
ton
Source
bazaar
Indexed
2026-11-21 14:05:04
Health
Status
unknown
Latency (p50)
—
Uptime (30d)
—
Reliability Score
—
Last Checked
Never
Last Healthy
Never
Consecutive Failures
0
x402 Payment Validation
Payment Requirements
—
Asset Verified
—
Facilitator
—
Input Schema
{
"body": {
"audio_base64": "ZkxhQwAAACIAQABAAAAnAAA1AfQA8AAAAIDq7lKO6VBm21EHo4bbFfKzAwAAJAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAABAAAAAAAAAACcAQAQAAC8IAAAASEFMT1dFUksCAAAACgAAAFRJVExFPVRvbmUNAAAAVFJBQ0tOVU1CRVI9MYEAAAwAAAAAAAAAAAAAAAD/+GQIAD9eQSAA5zafCD//h//4f/+oDpMmTJkyZMmTJkyZMmTAlF7/+GQIAT9LQSB95zsqDRRRRRRRRFFFFFFFFEUUUUUUUURRRRRRRRRAACsIQhCEA/w/w/y6fA=="
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Output Schema
{
"example": {
"data": {
"frames": 128,
"hz": 8000,
"seconds": 0.016
},
"limitations": "Bounded native FLAC files. Metadata and first sync checked; audio frames are not decoded.",
"measured_at": "2026-11-20T23:46:22.061Z",
"source": {
"reference": "Caller-supplied native FLAC metadata; RFC 9639",
"retrieved_at": "2026-11-20T23:46:22.062Z"
}
},
"type": "json"
}