{
    "ok": true,
    "name": "LatestYouTu.be API",
    "endpoints": {
        "GET /api/latest/{@handle|UC-channel-id}": "Newest regular video of a channel.",
        "GET /api/latest/{@handle|UC-channel-id}?shorts": "Newest Short.",
        "GET /api/latest/{@handle|UC-channel-id}?live": "Running livestream; video is null while offline.",
        "GET /api/video/{video-id}": "The channel a video belongs to, and that channel's permanent link.",
        "GET /api/health": "Can the server reach YouTube right now? HTTP 200 = ok, 503 = problem."
    },
    "parameters": {
        "mode": "Optional: video (default), shorts or live. ?shorts and ?live work as shorthand."
    },
    "openapi": "https://latestyoutu.be/openapi.yaml",
    "example": "https://latestyoutu.be/api/latest/@mkbhd",
    "limits": "Free, no key. 60 requests per minute per IP; responses are cached for 60 seconds.",
    "docs": "https://latestyoutu.be/llms.txt"
}