Ma wo users nkɔ upload mfoni, vidio ne documents firi browser mu tẽẽ. Wɔde files kora daa kɔsi sɛ wo anaa wo app poe, na CDN link ne signed webhook wɔ biara mu. Ɛwɔ Rapidfile plan biara mu, na bandwidth fees nni hɔ.
codePersistent file storage ma developers' apps: files gyina hɔ kɔsi sɛ wo anaa wo app poe, na wɔde CDN links som. Sɛ wopɛ sɛ file a ɛpow ne ho bɛkɔ, fa Rapidfile. Sɛ wopɛ sɛ wo ara hyɛ mfoni ne vidio, fa Rapidfile Media.
addNya API keyKenkan docs
2 GBfree storage
$5/mo ma 100 GB
50 GBfile kɛse sen biara
app/api/upload/route.ts
// app/api/upload/route.ts: runs on your server, so the secret key stays privateimport { auth } from'@/lib/auth'; // your own session checkexportasyncfunctionPOST(req: Request) {
const user = awaitauth(req);
if (!user) returnResponse.json({ error: 'unauthorized' }, { status: 401 });
const { name, size, type } = await req.json();
const res = awaitfetch('https://api.rapidfile.cc/v1/uploads', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.RAPIDFILE_SECRET_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({ name, size, type, metadata: { userId: user.id } }),
});
returnResponse.json(await res.json(), { status: res.status });
}
// In the browser: no SDK, no API keyconst picked = document.querySelector('input[type=file]').files[0];
// 1. Ask your own server for an upload URLconst { upload } = awaitfetch('/api/upload', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ name: picked.name, size: picked.size, type: picked.type }),
}).then((r) => r.json());
// 2. Send the bytes straight to Rapidfile (files up to 95 MB use one PUT)const res = awaitfetch(upload.url, { method: 'PUT', body: picked });
const { file } = await res.json();
console.log(file.url); // https://cdn.rapidfile.cc/<id>/<name>
terminal
# 1. Create an upload (server side, with your secret key)curl https://api.rapidfile.cc/v1/uploads \
-H"Authorization: Bearer $RAPIDFILE_SECRET_KEY" \
-H"Content-Type: application/json" \
-d'{"name":"cat.jpg","size":48213,"type":"image/jpeg"}'# 2. PUT the bytes to upload.url from the response (no key needed)curl-T cat.jpg "$UPLOAD_URL"# Or upload from your server in one request (up to 95 MB)curl-T cat.jpg -H"Content-Type: image/jpeg" \
-H"Authorization: Bearer $RAPIDFILE_SECRET_KEY" \
"https://api.rapidfile.cc/v1/files?name=cat.jpg"
Nea user uploads hia nyinaa, na wonnhia sɛ wo ara de yɛ
bolt
Direct browser uploads
Wo server de signed upload URL ma browser. Bytes nkɔ wo server mu, enti ɛnhia proxy anaa scale.
upload_file
Multipart kɔsi 50 GB
Files kɛse kyɛ parts a wɔnyinyin mu na wɔsan sɔ hwɛ ankasa. SDK no yɛ saa de function baako.
link
CDN links
File biara a ɛyɛ public nya URL a ɛtena hɔ daa wɔ cdn.rapidfile.cc so, ɛyɛ ma <img>, <video> anaa download link.
lock
Private files, signed URLs
Ma uploads private na de signed URLs a ɛbɛpow sɛ wopɛ ma, firi sɛkan kakra kɔsi nna 7.
notifications
Webhooks ne HMAC
Nya file.uploaded ne file.deleted events, a wɔde HMAC-SHA256 ahyɛ so, enti wo nim sɛ firi yɛn nkyɛn ne mu.
speed
Bandwidth free
Egress fees nni hɔ, daily request limit nni hɔ: CDN delivery nni hɔ enni so wɔ plan biara mu, enti file a nnipa pii hwehwɛ nkyɛ wo sika.
verified_user
Bo a ɛnsakra
Fi free ase, afei $5, $15, $49 bosome biara. Bo a ɛwɔ page no ne bo a ɛwɔ invoice no.
terminal
REST a ɛyɛ pɛ, SDK ketewa
Endpoints kakra, JSON mu ne mu, CORS ma. Fa browser SDK anaa fetch firi kasa biara mu.
smart_toy MCP server
Ma wo AI agent nya file uploads
Fa Claude Code, Cursor, VS Code anaa MCP client biara ka https://api.rapidfile.cc/mcp ho wɔ app secret key so. Wo agent betumi aupload text, binary anaa URL, na ɔnya CDN link, de signed upload URLs ma, list ne pɔe files ne hwɛ nkɔsoɔ.
upload_file
create_upload_url
list_files
get_file
delete_file
get_signed_url
get_usage
descriptionMCP docsNya key
Claude Code
claude mcp add --transport http rapidfile-api https://api.rapidfile.cc/mcp --header"Authorization: Bearer rk_live_…"
Ɛdeɛn na mehia?
Upload API yɛ persistent storage ma developers: files gyina hɔ kɔsi sɛ wo anaa wo app poe. Sɛ wopɛ sɛ wosoma file a ɛpow ne ho anaa wo ara hyɛ wo mfoni ne vidio, eyi ne nea ɛfata sen.
sendSoma file pɛ → Rapidfilephoto_libraryHyɛ mfoni anaa vidio daa → Mediacode_blocksKora wo app files daa → Upload API
send
Rapidfile
rapidfile.cc
Soma file kɔ obi
boltNea ɛyɛ
Soma files kɛse, folders ne vidio wɔ link, QR code anaa 6-digit kɔd so.
scheduleFiles ara gyina hɔ bere bɛn
Ɛberɛ tiaa: nnɔnhwerɛ 1 kɔsi nna 30, na wɔpoe no ankasa.
groupƐma hena
Obiara. Ɛnhia akontɔ ma nnipa a wɔnya.
paymentsƐwɔ wo plan mu
Free: 500 MB a wonni akontɔ, 2 GB wɔ sign in mu. Plus firi $3.99/bosome kɔ products abiɛsa nyinaa.
uploadSoma filephoto_library
Rapidfile Media
media.rapidfile.cc
Hyɛ mfoni ne vidio
boltNea ɛyɛ
CDN links a ɛtena hɔ daa ma mfoni, GIFs ne vidio, player a ɛyɛ pɛ ne embed codes.
File upload service a wɔde ma wo web anaa mobile app. Wo server de secret key ayɛ upload, wo user browser kɔ file no kɔ Rapidfile, na wonya CDN link ne webhook. Enzonic LLC na ɔyɛ no na ɔdi so, team no a ɛyɛ Rapidfile.
Ɛboa sɛn?
Upload API wɔ Rapidfile plan biara mu: 2 GB persistent storage ne CDN requests a enni so wɔ free; storage kɛse wɔ Rapidfile Plus ne Pro mu. Sɛ wopɛ nkɔsoɔ kɛse, add-ons fi $5 bosome biara ma 100 GB. Bo no nni hɔ nsakra: bandwidth anaa upload biara fees nni hɔ. Hwɛ pricing.
Ɛberɛ dɛn na wɔkora files?
Daa. Upload API yɛ persistent storage: files gyina hɔ kɔsi sɛ wo anaa wo app poe wɔ dashboard anaa API so (DELETE /v1/files/:id). Biribiara nnpoe ankasa, sɛnea Rapidfile transfers a ɛpoe wɔn ankasa nnɔnhwerɛ 1 kɔsi nna 30.
Files tena me server so anaa?
Dabi. Wo server de JSON request kakra de bɔ upload. Bytes kɔ firi browser kɔ Rapidfile de signed URL a ɛtena hɔ nnɔnhwerɛ baako na ɛyɛ file no nko ara.
Uploads betumi asɛe kɛse sɛn?
Kɔsi 512 MB per file wɔ free plan so, na kɔsi 50 GB wɔ Scale so. Files a ɛboro 95 MB kɔ parts a wɔnyinyin mu; browser SDK no de yɛ, ne retries ne progress.
Files betumi ayɛ private?
Yes. Fa "acl": "private" ka ho wɔ upload mu. Private files nni public URL; wo server bɛbɔ signed URLs a ɛtena nna kakra (kɔsi nna 7) sɛ user bɛhwɛ file no.
Frameworks bɛn na wɔboa?
Biribiara a betumi ayɛ HTTPS request. Docs no wɔ copy-paste akwankyerɛ ma Next.js, Express, SvelteKit ne plain HTML, na API no yɛ plain REST ne JSON.
Ɛwɔ SDK?
Browser module a ɛnhia dependency biara wɔ https://api.rapidfile.cc/sdk.js (MIT licensed). Ɛde files baako ne multipart files ka, ɛda progress so, na ɛsan sɔ failed parts hwɛ bio. Server fam no, hia fetch nko ara.
AI agents betumi de API yɛ adwuma?
Yes. https://api.rapidfile.cc/mcp yɛ remote MCP server (Streamable HTTP). Fa Claude Code, Cursor, VS Code anaa MCP client biara ka ho wɔ app secret key so, na agent betumi aupload files, list ne pɔe, yɛ signed URLs ne hwɛ nkɔsoɔ. Hwɛ MCP ma AI agents.
Ma uploads nkɔ ɛnnɛ anadwo
Yɛ app, kopi secret key kɔ wo server mu, na fa SDK no ka ho.