GET
/
api
/
v1
/
jobs
/
:id
curl --location --request GET 'https://huntapi.com/api/v1/jobs/018b1e9c-4c91-8b41-7a23-194757ee0a59' \
--header 'Content-Type: application/json' \
--header 'x-api-key: <token>'
{
    "id": "0193443f-fb80-9d19-29ba-82bc77c7cd8c",
    "status": "QueuedJob",
    "endpoint": "/api/video/download",
    "created_at": "2024-11-19T11:47:44.127229Z",
    "started_at": "2024-11-19T11:47:44.134374Z",
    "args": {
        "query": "https://<redacted>.com/watch?v=KngdLKv9RAc"
    }
}
This endpoint is not billed and can be called unlimited times without any cost implications
x-api-key
string
required
This parameter specifies the private key you’ll need for HuntAPI.com access.

Response

id
string
Unique identifier for the job (UUID format)
status
string
Current status of the job:
  • QueuedJob: Job is in progress
  • CompletedJob: Job has finished processing
success
boolean
Indicates if the job completed successfully. Only present when status is CompletedJob
endpoint
string
The API endpoint that initiated this job (e.g., “/api/video/download”)
created_at
string
ISO 8601 timestamp when the job was created
started_at
string
ISO 8601 timestamp when the job started processing
duration_ms
number
Time taken to complete the job in milliseconds. Only present when status is CompletedJob
args
object
Input parameters provided when creating the job (e.g., query URL, async flag)
result
object
Output data from the completed job. Only present when status is CompletedJob
curl --location --request GET 'https://huntapi.com/api/v1/jobs/018b1e9c-4c91-8b41-7a23-194757ee0a59' \
--header 'Content-Type: application/json' \
--header 'x-api-key: <token>'
{
    "id": "0193443f-fb80-9d19-29ba-82bc77c7cd8c",
    "status": "QueuedJob",
    "endpoint": "/api/video/download",
    "created_at": "2024-11-19T11:47:44.127229Z",
    "started_at": "2024-11-19T11:47:44.134374Z",
    "args": {
        "query": "https://<redacted>.com/watch?v=KngdLKv9RAc"
    }
}