nulltransfer
0x0100 api, v1

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.

header
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.

QueryMeaning
filenameName used when someone downloads it. Optional.
ttlSeconds until it burns. 60 up to your plan's maximum. Default 86400 (24 hours).
max_downloadsBurn after this many full downloads. Optional, unlimited until expiry by default.
link0 to skip the public pickup link. On by default.
request
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
201 created
{
  "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.

multipart
# 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.

request
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.

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.

request
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

LimitStarter, 19 EUR / monthBusiness, 99 EUR / month
file size5 GB50 GB
longest ttl30 days90 days
storage included300 GB-months1 TB-month
held at once300 GB1 TB
requests100,000 a month2,000,000 a month
extra storage0.05 EUR per GB-month0.05 EUR per GB-month
downloadsNot 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.

CodeStatusMeaning
unauthorized401Missing, unknown or revoked key.
size_required411No Content-Length, or no size for a multipart drop.
file_too_large413Bigger than your plan allows.
use_multipart413Over 95 MB in one request.
bad_ttl400ttl outside 60 seconds to your plan's maximum.
storage_quota507This drop would pass the storage you can hold at once.
request_quota429Monthly requests used up.
gone410Expired, burned, or out of downloads.
not_found404No 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.

with age
# 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