AI-assistenten

Claude Video Downloader

/library/claude-video-downloader

Video's downloaden

Gebruik Claude met HuntAPI om video’s te downloaden, audio te extraheren en metadata op te halen. Werkt goed met Claude Projects, tool use / MCP en developer-workflows.

Wat je kunt doen

  • Claude vragen een video van een URL te downloaden en een CDN-link terug te geven
  • Alleen audio extraheren voor transcripts of podcasts
  • Metadata eerst bekijken met https://api.huntapi.com/v1/media/metadata
  • Voortgang tonen via progress (0–100) van https://api.huntapi.com/v1/jobs/{id}

Snel starten

Hunt-downloads zijn asynchroon. Claude (of je MCP-tool) moet:

  1. Download starten → job_id krijgen
  2. Pollen tot status = CompletedJob
  3. result.response teruggeven

Stap 1: download starten

GET https://api.huntapi.com/v1/video/download?query=https://www.youtube.com/watch?v=VIDEO_ID&download_type=audio_video
x-api-key: YOUR_API_KEY

Response:

{ "job_id": "0193443f-fb80-9d19-29ba-82bc77c7cd84" }

Stap 2: status & voortgang

GET https://api.huntapi.com/v1/jobs/0193443f-fb80-9d19-29ba-82bc77c7cd84
x-api-key: YOUR_API_KEY
statusBetekenisprogress
QueuedWacht op een worker0
RunningDownload / upload1–99
CompletedJobKlaar100
Error / NotFound / BadRequestMislukt100

Voltooide payload:

{
  "status": "CompletedJob",
  "progress": 100,
  "result": {
    "metadata": { "title": "Example video", "duration": 432 },
    "response": "https://s3.huntapi.com/videos/<uuid>.mp4"
  }
}

Metadata zonder download

GET https://api.huntapi.com/v1/media/metadata?query=https://www.youtube.com/watch?v=VIDEO_ID
x-api-key: YOUR_API_KEY

Claude gebruiken met HuntAPI

Optie A - Claude Projects + instructies

Bewaar je API-sleutel als secret in je integratielaag (plak hem niet in de chat). Instructies:

When the user shares a video URL, use HuntAPI:
1. GET https://api.huntapi.com/v1/media/metadata?query=<url> (optional preview)
2. GET /v1/video/download?query=<url>
3. Poll GET /v1/jobs/{job_id} every 2s until CompletedJob
4. Share result.response and a short metadata summary

Optie B - MCP / tool calling

Exposeer Hunt-endpoints als tools (download, jobs, metadata). Claude kan ze in een lus aanroepen tot de job klaar is.

Optie C - Developer-scripts

Vanuit Claude Code / Cursor dezelfde HTTP-endpoints aanroepen met curl of je SDK, daarna de CDN-URL terugplakken in Claude.

Voorbeeldprompts

  • “Download deze YouTube-video in 720p en geef me de MP4-link: <url>”
  • “Haal alleen audio als MP3”
  • “Toon eerst titel en duur, download daarna als het onder 20 minuten is”

Gerelateerd

VIDEO API

Discover why Hunt is the preferred API provider for developers.