vltcdn.xyz API
Base URL: https://vltcdn.xyz/api/v1 · OpenAPI spec
Authentication
Create a key on the developer page and send it as Authorization: Bearer vlt_… (or X-API-Key). Keys have a scope:
upload— upload files and create short links.full— everything: list, read, delete, account info.
Upload
curl -H "Authorization: Bearer $KEY" -F "file=@screenshot.png" https://vltcdn.xyz/api/v1/files{ "file": { "id": "Ab3xK9m", "url": "https://vltcdn.xyz/i/Ab3xK9m", "pageUrl": "https://vltcdn.xyz/i/Ab3xK9m", "rawUrl": "…", "thumbUrl": "…", "size": 81234, … } }Endpoints
POST /files— multipart upload, fieldfile(upload)GET /files?limit=50&cursor=…— list, newest first (full)GET /files/:id— metadata (full)DELETE /files/:id(full)POST /links— JSON{"url":"https://…","slug":"optional"}(upload)GET /links,DELETE /links/:slug(full)GET /me— plan and quota (full)
curl -H "Authorization: Bearer $KEY" -H "Content-Type: application/json" \
-d '{"url":"https://example.com/some/long/url"}' https://vltcdn.xyz/api/v1/linksErrors
Always JSON: {"error":{"code":"quota_exceeded","message":"…"}}. Codes: unauthorized 401, insufficient_scope / email_unverified / quota_exceeded / plan_required 403, not_found 404, file_too_large 413, unsupported_type 415, rate_limited 429.
Link options, trash and large files
Add expires_in (seconds), password and max_views (1 = one-time link) as extra multipart fields on upload, or change them later with PATCH /files/:id:
curl -X PATCH -H "Authorization: Bearer $KEY" -H "Content-Type: application/json" \
-d '{"maxViews":1,"password":"s3cret","expiresAt":"2027-01-01T00:00:00Z"}' https://vltcdn.xyz/api/v1/files/Ab3xK9mDELETE /files/:idmoves a file to the 7-day trash; add?permanent=trueto delete for good.POST /files/:id/restorerestores.GET /files?trashed=truelists the trash.- Files above ~100 MB:
POST /uploadswith{"name":"big.mp4","size":123456789},PUTthe bytes to the returnedurlwith the returned headers, thenPOST /uploads/:id/complete. (Non-image files only; paid plans.)
Rate limits
Per key and per IP, per minute. Every response carries X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset; a 429 includes Retry-After (seconds).
ShareX
- Open the developer page and download the uploader
.sxcu; double-click it to install. - In ShareX choose Destinations → Image uploader → Custom image uploader (and the same for File uploader).
- Optional: download the URL shortener config and select it under Destinations → URL shortener.
Treat the .sxcu file like a password: it contains your key. Revoke it on the developer page if it leaks.