Embed a badge
Show the length in a README or course description — it links back here and updates itself

Markdown
[](https://playlistduration.com/video/jOgqWdck7BU)
HTML
<a href="https://playlistduration.com/video/jOgqWdck7BU"><img src="https://playlistduration.com/badge/video/jOgqWdck7BU.svg" alt="Length: 9h 11m 48s" width="135" height="20"></a>
Add ?speed=1.5 to the image URL for the time at that speed, ?label=Course to change the left text, or ?style=flat-square for square corners.
Want the numbers themselves? GET https://playlistduration.com/api/v1/video/jOgqWdck7BU returns them as JSON — free, no key. API docs →
Data from the YouTube Data API as of 2026-09-22 (cached).