AI Assistants

Cursor Video Downloader

Use Cursor Video Downloader with Hunt
Cursor Video Downloader with HuntAPI

Use 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:

  1. GET /v1/video/download?query=...job_id
  2. Poll GET /v1/jobs/{job_id} until status=CompletedJob
  3. Read progress (0–100) while Running
  4. 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_KEY in Cursor / shell env - never commit it
  • Use https://api.huntapi.com/v1/media/metadata before downloading to check duration
  • For audio-only: download_type=audio

Related

VIDEO API

Discover why Hunt is the preferred API provider for developers.