AI Assistants
Cursor Video Downloader
Use Cursor Video Downloader with HuntUse Cursor with HuntAPI to download videos, extract audio, and fetch metadata while coding. Perfect for agents, terminal workflows, and media pipelines.
Agent workflow
Ask Cursor:
Download this video with HuntAPI and save the CDN URL: <youtube-url>
The agent should:
GET /v1/video/download?query=...→job_id- Poll
GET /v1/jobs/{job_id}untilstatus=CompletedJob - Read
progress(0–100) whileRunning - Return
result.response
curl example
# Start
curl -s "https://api.huntapi.com/v1/video/download?query=VIDEO_URL&video_quality=720p" \
-H "x-api-key: $HUNTAPI_API_KEY"
# Poll
curl -s "https://api.huntapi.com/v1/jobs/JOB_ID" \
-H "x-api-key: $HUNTAPI_API_KEY"
# Metadata only
curl -s "https://api.huntapi.com/v1/media/metadata?query=VIDEO_URL" \
-H "x-api-key: $HUNTAPI_API_KEY"
Tips
- Store
HUNTAPI_API_KEYin Cursor / shell env - never commit it - Use
https://api.huntapi.com/v1/media/metadatabefore downloading to check duration - For audio-only:
download_type=audio
Related
VIDEO API
Discover why Hunt is the preferred API provider for developers.