Account
Account Info
https://api-v2.ddownload.com/api/account/info?key=key
Account Stats
https://api-v2.ddownload.com/api/account/stats?key=key&last=last
Upload
Upload Form
Upload Server
https://api-v2.ddownload.com/api/upload/server?key=key
Files
Get File Info
https://api-v2.ddownload.com/api/file/info?key=key&file_code=file_code
Get Files List
https://api-v2.ddownload.com/api/file/list?key=key&page=page&per_page=per_page&fld_id=fld_id&public=public&created=created&name=name
Check Files (Batch)
Check the status of multiple files at once. Returns whether each file exists, is accessible, or has been removed due to DMCA.
https://api-v2.ddownload.com/api/file/check?key=key&file_code=file_code
File Exists (Duplicate Check)
Check if a file already exists in your account before uploading. Search by MD5 hash, filename, or filename + size.
https://api-v2.ddownload.com/api/file/exists?key=key&md5=md5
https://api-v2.ddownload.com/api/file/exists?key=key&name=name
https://api-v2.ddownload.com/api/file/exists?key=key&name=name&size=size
You must provide either md5 OR name. Adding size with name makes the search more accurate. MD5 search is the most reliable.
Rename File
https://api-v2.ddownload.com/api/file/rename?key=key&file_code=file_code&name=name
Set File Folder
https://api-v2.ddownload.com/api/file/set_folder?key=key&file_code=file_code&fld_id=fld_id
Set File Property
Change file visibility and access settings. You can set files to public/private and/or restrict access to premium users only.
https://api-v2.ddownload.com/api/file/set_property?key=key&file_code=file_code&public=public&premium_only=premium_only
At least one of public or premium_only must be specified. You can set both in a single request.
Make files private:
https://api-v2.ddownload.com/api/file/set_property?key=YOUR_KEY&file_code=abc123xyz456&public=0
Set files to premium-only:
https://api-v2.ddownload.com/api/file/set_property?key=YOUR_KEY&file_code=abc123xyz456&premium_only=1
Make files public and available to all users:
https://api-v2.ddownload.com/api/file/set_property?key=YOUR_KEY&file_code=abc123xyz456,def789ghi012&public=1&premium_only=0
Get Deleted Files
https://api-v2.ddownload.com/api/files/deleted?key=key&last=last
Folders
Get Folder/File List
https://api-v2.ddownload.com/api/folder/list?key=key&fld_id=fld_id
Create New Folder
https://api-v2.ddownload.com/api/folder/create?key=key&parent_id=parent_id&name=name
Rename Folder
https://api-v2.ddownload.com/api/folder/rename?key=key&fld_id=fld_id&name=name
Delete Folder
Delete a folder. If the folder contains files or subfolders, use force=1 to move them and delete anyway.
https://api-v2.ddownload.com/api/folder/delete?key=key&fld_id=fld_id
Move Folder
Move a folder to a different parent folder. Use parent_id=0 to move to root.
https://api-v2.ddownload.com/api/folder/move?key=key&fld_id=fld_id&parent_id=parent_id
You cannot move a folder into itself or into one of its own subfolders (circular reference protection).