Skip to content

Work in progress

This documentation page is currently work in progress.
Not all existing DecAPI endpoints are documented here yet - mostly Twitch and YouTube endpoints. The rest of the endpoints should have accurate documentation :)
For the currently active documentation, please visit docs.decapi.me.

Changelog for December 13th, 2024

YouTube

The "Latest video" endpoint has received some improvements:

  • You can use the shorts_url parameter to get a URL that goes to the "Shorts layout" of YouTube, if your video is a "Shorts" video - Feature request on GitHub (issue #113)
    • Example: https://decapi.me/youtube/latest_video?shorts_url=1&handle=@NileRedExtra
    • Regular videos will still give you a URL that looks like: https://youtu.be/VIDEO_ID_HERE.
    • However, "Shorts" (videos under 1 minute) will give you a URL that looks like: https://youtube.com/shorts/VIDEO_ID_HERE.
  • You can now pass your YouTube @ 'handle' instead of channel ID or legacy username. This was previously not supported.