cURL
curl --request GET \ --url https://api.videodb.io/download \ --header 'x-access-token: <api-key>'
{ "success": true, "data": { "downloads": [ { "id": "download-12345", "name": "video_download.mp4", "status": "done", "created_at": "2023-11-07T05:31:56Z", "download_url": "https://example.com/download/video.mp4" } ] } }
Retrieve a list of all video download jobs and their status
import requests response = requests.get( "https://api.videodb.io/download", headers={"x-access-token": "your_api_key"}, params={ "page_index": 0, "count": 50 } ) result = response.json() downloads = result.get('data', {}).get('downloads', []) for download in downloads: print(f"{download['id']}: {download['name']} - {download['status']}")
page_index
count
processing
done
error
download_url
API key for authentication (sk-xxx format)
0
x <= 5000
50
List of downloads
true
Show child attributes