Integrate our lossless upload engine programmatically.
You can also retrieve this documentation in JSON format at /api/help.
Upload a single file with client-side AES-256-GCM encryption and instant duplicate detection.
Content-Type: application/json
{
"filename": "image.png",
"content": "...", // Base64 encoded AES-256-GCM ciphertext (IV 12B + Ciphertext + Tag 16B)
"encrypted": true, // Required: true
"rawHash": "a1e4e277...", // (Recommended) Hex SHA-256 of the unencrypted file for instant duplicate detection
"pHash": null // (Optional) Perceptual hash
}
200 OK: {"success": true, "url": "https://.../public/00a83ad20c78.png", "cached": false}
409 Conflict (Duplicate): File already exists. Returns existing file URL instantly without uploading. {"success": true, "cached": true, "url": "..."}
413 Payload Too Large: Over 24MB limit.
415 Unsupported Media Type: Executable files blocked.
Upload multiple files efficiently in one single Git commit.
{
"files": [
{ "filename": "1.png", "content": "...", "encrypted": true, "rawHash": "..." },
{ "filename": "2.png", "content": "...", "encrypted": true, "rawHash": "..." }
]
}
200 OK: {"success": true, "results": [{"filename": "1.png", "url": "...", "cached": false}]}
Create a shareable collection/album link for multiple uploaded files.
{
"files": ["f00d8734c00b.pdf", "00a83ad20c78.png"]
}
200 OK: {"success": true, "albumId": "...", "url": "https://.../folder.html?album=..."}
Integrate our services easily using our official developer tools.
A command-line interface for uploading files directly from your terminal with end-to-end encryption.
curl -O https://dr-fast-upload.pages.dev/dev-tools/dr-fast-upload.py
pip install cryptography
python dr-fast-upload.py myfile.jpg
python dr-fast-upload.py "C:\Users\Bob\Documents\image.png"
An embeddable Drag & Drop upload widget for websites and web applications with native in-browser encryption.
<!-- Add to your HTML -->
<div id="dr-upload-widget"></div>
<script src="https://dr-fast-upload.pages.dev/dev-tools/iframe.js"></script>