Audio Download
audio_downloadDownload audio from a public URL and receive a job ID to track the extraction request through HuntAPI.
Instructions
Audio Download. Download audio from a URL via HuntAPI and receive a job id. Credit cost: 1 credit per call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | URL to download audio from. | |
| fields | No | Comma-separated list of fields to keep in the response, with dot notation for nested fields (e.g. name,location.city). Does not change the credit cost. | |
| webhook_url | No | URL of the webhook where results will be sent. When specified, the system will attempt to send the response to this URL up to 3 times with a 5-second delay between each attempt. The results will be sent as a POST request. | |
| audio_format | No | Desired output format for the audio. Default: "mp3". | |
| max_duration | No | Maximum duration of the downloaded content in seconds. If the audio is longer than this value, only the content up to this duration will be downloaded. | |
| audio_quality | No | Desired audio quality. Default: "best". | |
| download_type | No | Desired download type. Supported values: audio (default). Default: "audio". | |
| webhook_authorization | No | Authorization header for the webhook. This parameter allows you to add authentication to your webhook endpoint. |