Video Download API
The Video Download API allows you to download videos from platforms like YouTube, extract audio, and retrieve metadata. This is an asynchronous API: you initiate a job and then poll for the result.
This parameter specifies the private key you'll need for Hunt access.
Endpoint: GET https://api.huntapi.com/v1/video/download
The URL of the video to download (e.g., YouTube URL).
Desired video quality. Options: best, 1080p, 720p, 480p, 360p.
Note: Videos longer than 1 hour are limited to 720p.
Content type to download:
audio_video: Video with audio (default)audio: Audio track onlyvideo: Video track only
Preferred output format: mp4, webm, mkv. (Best effort basis)
Maximum duration in seconds. Content exceeding this is trimmed.
URL to receive a POST callback when the job finishes.
Authorization header for the webhook request.
Response
{
"job_id": "0193443f-fb80-9d19-29ba-82bc77c7cd84"
}Endpoint: GET https://api.huntapi.com/v1/jobs/{job_id}
Check the status of your job using the job_id returned from Step 1.
Response Example (Running)
{
"id": "019ff14c-49fe-09b5-0cd5-e6c575481a6b",
"status": "Running",
"success": null,
"endpoint": "/api/video/download",
"progress": 63,
"created_at": "2026-08-11T14:48:56.574227Z",
"started_at": "2026-08-11T14:48:56.577590Z",
"completed_at": null,
"duration_ms": null,
"args": {
"query": "https://www.youtube.com/watch?v=Z5YP8kznWZs",
"download_type": "audio_video",
"video_quality": "720p"
},
"result": null
}Response Example (Completed)
{
"id": "0193305e-e144-a995-3acc-6703bb48e13a",
"status": "CompletedJob",
"success": true,
"endpoint": "/api/video/download",
"progress": 100,
"created_at": "2024-11-15T15:09:04.709497Z",
"started_at": "2024-11-15T15:09:04.714422Z",
"completed_at": "2024-11-15T15:10:44.268Z",
"duration_ms": 99592,
"args": {
"query": "https://yt.com/watch?v=..."
},
"result": {
"metadata": {
"title": "The New Claude 3.5 Sonnet",
"view_count": 82398,
"upload_date": 1729641600
},
"response": "https://s3.huntapi.com/videos/32f88fc4-e728-4c45-b27c-6ee539575595.webm"
}
}progress is a number from 0 to 100 while the job runs (Queued → 0, Running → 1–99, terminal → 100). Status values: Queued, Running, CompletedJob, Error, NotFound, BadRequest.
Need metadata without downloading the file? Use the Media Metadata API (GET https://api.huntapi.com/v1/media/metadata) - synchronous, 1 credit.
Related
VIDEO API
Discover why Hunt is the preferred API provider for developers.