/list endpoint returns information about all downloads, including active, paused, completed, and errored downloads.
GET /list
Retrieve a list of all downloads.Request
This endpoint accepts no parameters. Simply make a GET request with authentication.Response
Returns a JSON array of download status objects. Each object contains detailed information about a download.Unique identifier for the download.
The URL being downloaded.
The filename of the download.
Full absolute path to the destination file.
Total file size in bytes.
Number of bytes downloaded so far.
Download progress as a percentage (0-100).
Current download speed in MB/s.
Current download status. Possible values:
"queued"- Download is queued and waiting to start"downloading"- Download is actively in progress"paused"- Download has been paused"completed"- Download finished successfully"error"- Download encountered an error
Error message if the download failed. Only present when
status is "error".Estimated time remaining in seconds. Only relevant for active downloads.
Number of active connections being used for this download.
Unix timestamp (seconds) when the download was added.
Total time taken in milliseconds. Only present for completed downloads.
Average download speed in bytes per second. Only present for completed downloads.
Examples
Response Example
Filtering Downloads
The API returns all downloads regardless of status. You can filter downloads in your application based on thestatus field:
Empty Response
If there are no downloads, the endpoint returns an empty array:Error Responses
Use Cases
- Dashboard: Build a web dashboard showing all current downloads
- Monitoring: Poll this endpoint to monitor download progress
- Automation: Check if specific downloads are complete before triggering other actions
- Statistics: Calculate total bandwidth usage or completion rates