Build file sharing
into your product.
58+ REST endpoints, OpenAPI 3.1 spec, 6 webhook events, per-file analytics, and 10,000 req/min on Business. No credit card, no credit-card vendor lock-in.
OpenAPI 3.1 spec
Every endpoint documented with request/response schemas. Import into Postman, Insomnia, or generate a client with openapi-generator.
Multipart uploads
Presigned URLs straight to cloud storage, so uploads never transit our Node server. 10 MB chunks, auto-resume, 500 GB max file size on Business.
Per-file analytics
Countries, referrers, browsers, devices, and 90-day timeseries for every file you own. Read it straight from the API.
Webhooks with HMAC
6 events (FILE_UPLOADED / DOWNLOADED / DELETED / EXPIRED, FOLDER_CREATED / DELETED) signed with X-Drupload-Signature.
Custom vanity links
drupload.net/my-cool-mod instead of 8-char IDs. Keep both working. The random ID never breaks.
Remote URL import
Paste a URL and we fetch it server-side, stream it to R2/B2. Protected against SSRF. Ideal for mirroring releases or moving files out of Drive/Dropbox.
Quickstart
From zero to your first upload in 60 seconds.
# 1. Create an API key from /dashboard/api-keys (requires PRO+)
export DRUPLOAD_KEY=drp_xxxxxxxxxxxxxxxx
# 2. Check your quota
curl -H "X-API-Key: $DRUPLOAD_KEY" \
https://drupload.net/api/v1/me/usage
# 3. List your files
curl -H "X-API-Key: $DRUPLOAD_KEY" \
https://drupload.net/api/v1/me/files
# 4. Import a file from a public URL
curl -X POST https://drupload.net/api/v1/upload/remote \
-H "X-API-Key: $DRUPLOAD_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://example.com/release-v1.0.zip",
"fileName": "release-v1.0.zip"
}'// npm i node-fetch (Node 18+ has fetch built-in)
const API = "https://drupload.net/api/v1";
const KEY = process.env.DRUPLOAD_KEY;
async function drupload(path, options = {}) {
const res = await fetch(API + path, {
...options,
headers: {
"X-API-Key": KEY,
"Content-Type": "application/json",
...options.headers,
},
});
const body = await res.json();
if (!res.ok) throw new Error(body?.error?.message ?? "request failed");
return body;
}
// Get usage, list files, set a vanity URL
const usage = await drupload("/me/usage");
const files = await drupload("/me/files");
await drupload(`/files/${files[0].shareId}/slug`, {
method: "PATCH",
body: JSON.stringify({ slug: "my-cool-mod" }),
});# pip install requests
import os, requests
API = "https://drupload.net/api/v1"
KEY = os.environ["DRUPLOAD_KEY"]
s = requests.Session()
s.headers.update({"X-API-Key": KEY})
# Usage snapshot
usage = s.get(f"{API}/me/usage").json()
print(f"Tier: {usage['tier']['name']}, storage used: {usage['storage']['usedBytes']}")
# Remote-import a file
r = s.post(f"{API}/upload/remote", json={
"url": "https://example.com/file.zip",
"fileName": "file.zip",
})
r.raise_for_status()
print(f"Imported: https://drupload.net/{r.json()['shareId']}")Rate limits
Every response includes X-RateLimit-*headers so your SDK knows what's left.
| Tier | req / min | Notes |
|---|---|---|
| ANONYMOUS | 60 | per-IP, no credentials required |
| FREE | 120 | any registered account |
| PRO | 600 | $5.99/mo or $4.99 × 12 yearly |
| CREATOR | 2,000 | $19.99/mo, primary API tier |
| BUSINESS | 10,000 | $49.99/mo, heavy automation |
Official TypeScript and Python SDKs
Auto-generated from the OpenAPI spec. Until then, fetch + requests examples above cover 100% of the API surface. The spec is published at /docs/json and you can generate a typed client today with npx @openapitools/openapi-generator-cli.
Ship a file-sharing feature this afternoon
Create a free account, grab an API key and start uploading. Upgrade when you need more storage or higher rate limits, paid in crypto with no credit card.