Malvryx Temp API

Free file hosting API by Dev Malvryx. Rate limited for public users — unlimited for trusted API keys.

Base URL: https://tmp.malvryx.dev

Upload a File

POST https://tmp.malvryx.dev/upload
Content-Type: multipart/form-data

Fields:
  file        File binary (multipart)
  url         Remote URL to fetch and host (alternative to file)
  type        "temp" | "permanent"  (default: temp)
  expiry      "1h" | "6h" | "24h" | "7d" | "30d"  (temp only, default: 24h)
  burnAfterRead  "true" to delete access after first download
  password    Optional password to protect the file
POST https://tmp.malvryx.dev/upload
Content-Type: application/json

{
  "url": "https://example.com/file.pdf",
  "type": "temp",
  "expiry": "7d"
}

Response

{
  "success": true,
  "duplicate": false,
  "id": "mxv_aB3kR9xY",
  "directUrl": "https://tmp.malvryx.dev/f/mxv_aB3kR9xY.pdf",
  "cdnUrl": "https://cdn.tmp.malvryx.dev/files/mxv_aB3kR9xY.pdf",
  "previewUrl": "https://tmp.malvryx.dev/preview/mxv_aB3kR9xY",
  "deleteToken": "del_...",
  "type": "temp",
  "expiry": "7d",
  "expiresAt": "2026-04-18T00:00:00.000Z",
  "sizeBytes": 4200000,
  "mimeType": "application/pdf"
}

Get File Info

GET https://tmp.malvryx.dev/f/:id/info

Download (Direct)

GET https://tmp.malvryx.dev/f/mxv_aB3kR9xY.pdf
X-File-Password: yourpassword   (if password protected)
Range: bytes=0-1023             (range requests supported)

Delete Access

DELETE https://tmp.malvryx.dev/f/:id
X-Delete-Token: del_...

Server Status

GET https://tmp.malvryx.dev/status

Rate Limits Free

15 requests/min  ·  20 uploads/hour

Pass X-API-Key header for unlimited access (trusted keys only).

Limits

Temp uploads: 50MB

Permanent uploads: 20MB

Expiry options: 1h, 6h, 24h, 7d, 30d

Built by Dev Malvryx · Upload a file