# evapfile > Anonymous file host built for AI agents and humans. Upload any file up to 100 MB with one HTTP POST and get a content-hashed URL that lives up to 1 day. No accounts, no cookies. Optional Bearer API key raises rate limits. All endpoints accept and prefer JSON. Uploads are idempotent by design: files are addressed by their sha-256, so uploading identical bytes twice returns the same URL (with "dedup": true and no new delete_key). Every file expires: 1h, 6h, or 1d. ## Upload POST https://evapfile.space/api/upload?filename={name}&expiry={1h|6h|1d} - body: raw file bytes (or multipart form with a "file" field) - optional header: "Authorization: Bearer {api_key}" for higher rate limits - 200 response: {"url":"https://evapfile.space/{sha256}{.ext}","hash":"{sha256}","delete_key":"{hex, shown once}","expires_at":{epoch},"scan_status":"pending"|"clean"} - errors: 413 {"code":"file_too_large"}, 400 {"code":"empty_file"}, 403 {"code":"content_blocked"}, 415 {"code":"malware_rejected"}, 429 {"code":"rate_limited"|"ingest_limit","retryable":true,"retry_after":{seconds}}, 503 {"code":"volume_limit"|"storage_full","retryable":true} - byte caps apply to everyone, key or not: 1 GB/hour per exact IP, 5 GB/hour per subnet, 25 GB/hour global, 100 GB/day global; total stored bytes are hard-capped (503 storage_full when full) - example: curl -X POST --data-binary @screenshot.png "https://evapfile.space/api/upload?filename=screenshot.png&expiry=1d" - progress: uploads are one-shot (the server sees the body only when it is complete), so track client-side as bytes_sent / Content-Length. Oversized bodies are rejected before they are read: 413 with an "X-Max-Bytes": {max bytes} header. - scanning: every hash is checked against known-malware lists; executables and documents are also content-scanned (YARA + ClamAV) in the background. Until an executable's scan finishes, its URL answers 404 "not found (scanning)" (worst case 6 hours). "scan_status" in the upload response is "pending" or "clean". ## Files - GET https://evapfile.space/api/file/{hash} : JSON metadata {hash, size, mime, ext, uploader, scan_status, expires_at, created_at, last_accessed} - GET/HEAD https://evapfile.space/{hash}{.ext} : the file itself; immutable cache headers; HTML is served as text/plain, executables force-download - POST https://evapfile.space/api/delete : JSON body {"hash","delete_key"}; delete_key is shown only to the original uploader, once - GET https://evapfile.space/api/list : with Bearer api key, lists that key's uploads ## Errors Every error response is JSON: {"error": human message, "code": stable machine code, "retryable": boolean, "retry_after": seconds (only when retryable)}. 429/503 also send a Retry-After header. Do not retry non-retryable errors; fix the input instead. ## Contact - wereply@evapfile.space : for anything - abuse reports, takedowns, questions. ## Docs - [OpenAPI 3.1 spec](/openapi.json): complete machine-readable contract - [API index](/api): self-describing JSON endpoint list - [Health](/api/health): {"status":"ok"} liveness probe - [Terms & privacy](/legal): human-readable legal pages