Put it. Get it. Burn it.
A small HTTP API for files that should not live forever. Every drop has an expiry, an optional download cap, and an optional pickup link you can hand to anyone.
Base URL https://nulltransfer.com/v1. Requests and responses are JSON, except file bodies, which are raw bytes. Times are ISO 8601 in UTC, sizes are bytes.
Keys
Get a key by subscribing: Starter, 19 EUR a month or Business, 99 EUR a month. Payment runs through Polar, which emails your key and keeps it in your customer portal. Keys start with nt_live-. Send it in the Authorization header. We keep only a hash of it, and it stops working the moment your subscription ends.
Authorization: Bearer nt_live-...
Put a file
POST /v1/drops with the file as the body. Bodies up to 95 MB go up in one request; larger files use multipart.
| Query | Meaning |
|---|---|
| filename | Name used when someone downloads it. Optional. |
| ttl | Seconds until it burns. 60 up to your plan's maximum. Default 86400 (24 hours). |
| max_downloads | Burn after this many full downloads. Optional, unlimited until expiry by default. |
| link | 0 to skip the public pickup link. On by default. |
curl -X POST "https://nulltransfer.com/v1/drops?filename=report.pdf&ttl=3600&max_downloads=1" \
-H "Authorization: Bearer $NULLTRANSFER_KEY" \
-H "Content-Type: application/pdf" \
--data-binary @report.pdf
{
"id": "drp_4m8k2x0q7r1vt9za",
"status": "ready",
"filename": "report.pdf",
"size": 482113,
"downloads": 0,
"max_downloads": 1,
"expires_at": "2026-12-02T10:00:00.000Z",
"content": "/v1/drops/drp_4m8k2x0q7r1vt9za/content",
"link": "https://dl.nulltransfer.com/d/drp_4m8k2x0q7r1vt9za/Qm9...",
"has_link": true
}
The link appears in this response only. We keep a hash of its token, not the token.
Big files
Above 95 MB, open a multipart drop with the total size, send the parts, then complete it. Parts are at least 5 MiB except the last, and the response tells you the part size to use.
# 1. open it
curl -X POST "https://nulltransfer.com/v1/drops?multipart=1&size=4294967296&filename=disk.img" \
-H "Authorization: Bearer $NULLTRANSFER_KEY"
# => "upload": { "part_size": 5242880, "parts": 820, "put": "/v1/drops/drp_.../parts/{n}" }
# 2. send each part, keep each etag
curl -X PUT "https://nulltransfer.com/v1/drops/drp_.../parts/1" \
-H "Authorization: Bearer $NULLTRANSFER_KEY" --data-binary @part-0001
# => { "part_number": 1, "etag": "..." }
# 3. complete with every part
curl -X POST "https://nulltransfer.com/v1/drops/drp_.../complete" \
-H "Authorization: Bearer $NULLTRANSFER_KEY" \
-d '{"parts":[{"part_number":1,"etag":"..."}]}'
Parts can go up in parallel. If the parts do not add up to the declared size, the drop is burned and you start again. Unfinished uploads are cleared after 7 days.
Get it back
GET /v1/drops/:id/content streams the bytes. Range requests work, so downloads can resume; only a request that starts at byte 0 counts toward max_downloads.
curl -H "Authorization: Bearer $NULLTRANSFER_KEY" \
https://nulltransfer.com/v1/drops/drp_4m8k2x0q7r1vt9za/content -o report.pdf
GET /v1/drops/:id returns the drop's details without the bytes.
Pickup links
The link needs no key: whoever holds it can download, until the drop expires or its downloads run out. Links are served from a separate download domain, always as an attachment with application/octet-stream, so a drop can never render as a page on our site.
Burn
DELETE /v1/drops/:id deletes the bytes now. Links stop working immediately.
curl -X DELETE -H "Authorization: Bearer $NULLTRANSFER_KEY" \
https://nulltransfer.com/v1/drops/drp_4m8k2x0q7r1vt9za
List and usage
GET /v1/drops lists your live drops, newest first, up to 200. GET /v1/usage shows this month's requests, transfer, live storage and stored GB-months against your plan.
Plans and limits
| Limit | Starter, 19 EUR / month | Business, 99 EUR / month |
|---|---|---|
| file size | 5 GB | 50 GB |
| longest ttl | 30 days | 90 days |
| storage included | 300 GB-months | 1 TB-month |
| held at once | 300 GB | 1 TB |
| requests | 100,000 a month | 2,000,000 a month |
| extra storage | 0.05 EUR per GB-month | 0.05 EUR per GB-month |
| downloads | Not charged. Pick up as often as your caps allow. | |
A GB-month is one gigabyte kept for a whole month. A 10 GB file kept for 3 days uses about 1 GB-month. Short expiries are cheap on purpose.
Errors
Errors come back as {"error": {"code": "...", "message": "..."}} with a matching status.
| Code | Status | Meaning |
|---|---|---|
| unauthorized | 401 | Missing, unknown or revoked key. |
| size_required | 411 | No Content-Length, or no size for a multipart drop. |
| file_too_large | 413 | Bigger than your plan allows. |
| use_multipart | 413 | Over 95 MB in one request. |
| bad_ttl | 400 | ttl outside 60 seconds to your plan's maximum. |
| storage_quota | 507 | This drop would pass the storage you can hold at once. |
| request_quota | 429 | Monthly requests used up. |
| gone | 410 | Expired, burned, or out of downloads. |
| not_found | 404 | No drop with that id on this key. |
Encrypt first
The API stores whatever bytes you send. For the same promise as a live send, seal the file before it leaves your machine, and send the key to the receiver some other way.
# seal with a passphrase, then put the ciphertext
age -p -o report.pdf.age report.pdf
curl -X POST "https://nulltransfer.com/v1/drops?filename=report.pdf.age" \
-H "Authorization: Bearer $NULLTRANSFER_KEY" --data-binary @report.pdf.age