zapi.
APIsPricingDocsMCP
APIsPricingDocsMCPSign in
zapi.
APIsPricingDocsMCP
APIsPricingDocsMCPSign in
On this page
  • Playground
  • Code examples
  • Full reference
  • Related APIs
Uploader/Litterbox
Logo Litterbox

Litterbox

Upload file ephemeral 1h-72h. Max 1GB.

Endpoints
1
Requests
1
Updated
3 months ago
For LLMs
llms.txt
Endpoint health7 hours ago
  • uploadnot measured
no measurements yetdaily 01:00 WIB

Playground

1 endpoint
POST/v1/uploader:litterbox/uploadno cache2 paramschecking key…
Parameters
filefilerequired

File yang mau di-upload. Max 1GB.

durationenum

Durasi simpan sebelum file auto-dihapus. Default 1h.

·
Response
EXAMPLE
{
  "mime": "image/png",
  "service": "litterbox",
  "fileName": "bilibili-global-icon-filled-256.png",
  "fileSize": 32606,
  "expiresAt": "2026-05-23T10:45:58.885Z",
  "expiresIn": "1h",
  "publicUrl": "https://litter.catbox.moe/ykif06.png",
  "uploadedAt": "2026-05-23T09:45:58.885Z",
  "oneTimeDownload": false
}

Code examples

Upload File
zpi-sdkrecommended
// npm i zpi-sdk
import { ZpiClient } from "zpi-sdk";

const client = new ZpiClient({ apiKey: "zpi_xxxxxxxxxxxxxxxxxxxxxxxx" });

const data = await client.run("uploader:litterbox", "upload", {
  "file": "report.pdf",
  "duration": "1h"
});
console.log(data);
Full SDK reference →
request.sh
curl -X POST "https://api.zpi.web.id/v1/uploader:litterbox/upload" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx" \
  -F "file=@/path/to/file.jpg"

Full reference

1 endpoint · plain text
POSTUpload File/v1/uploader:litterbox/uploadUpload file ephemeral 1h-72h. Max 1GB.

Parameters

filefilerequiredin form
File yang mau di-upload. Max 1GB.
durationenumoptionalin form
Durasi simpan sebelum file auto-dihapus. Default 1h. Values: 1h, 12h, 24h, 72h.

Request

curl -X POST "https://api.zpi.web.id/v1/uploader:litterbox/upload" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Example response

{
  "mime": "image/png",
  "service": "litterbox",
  "fileName": "bilibili-global-icon-filled-256.png",
  "fileSize": 32606,
  "expiresAt": "2026-05-23T10:45:58.885Z",
  "expiresIn": "1h",
  "publicUrl": "https://litter.catbox.moe/ykif06.png",
  "uploadedAt": "2026-05-23T09:45:58.885Z",
  "oneTimeDownload": false
}

Related APIs

More in uploader

Uguu

uploader/uguu

Upload file ephemeral 3 jam. Max 128MB.

21 calls·no cache

Tmpfiles

uploader/tmpfiles

Upload file ephemeral 1 jam. Max 100MB.

2 calls·no cache

Gofile

uploader/gofile

Upload file tanpa batas size. Reset expiry tiap download.

2 calls·no cache

Cutout Image

uploader/cutout

Upload gambar ke S3 presigned URL (3 jam). Khusus image.

2 calls·no cache

Kappa.lol

uploader/kappa-lol

Upload a file and receive a short shareable link.

0 calls·5m cache

Temp.sh

uploader/temp-sh

Upload a file to a temporary host with short retention.

0 calls·5m cache
Browse APIsPricingDocsMCP serverGet an API key
zapi.One key, one response shape.
TermsPrivacyCookiesAUPRefunds© 2026