System Operational

Unlimited File Hosting
Made Simple

Upload files instantly with auto-rename and smart preview. Powered by Cloudflare & Telegram.

0
Total Files
0 MB
Total Size
0
Today
Bandwidth

Click or Drag to Upload

Max 20MB • Auto Rename • Smart Preview

Unlimited Storage

Store as many files as you want without any restrictions.

Secure & Private

Files are renamed randomly and stored securely.

Global CDN

Lightning fast download speeds from anywhere.

BJ Hosting API

Simple, powerful file hosting API for developers.

RESTful API
No Auth Required
JSON Response
50MB Max Size

Endpoint

POST https://44f948a7.hosting-project.pages.dev/api/upload
Key: file
Type: multipart/form-data

JSON Response

{
  "creator": "@BJ_Devs on Telegram",
  "ok": true,
  "filename": "file_83920.jpg",
  "size": 83638,
  "uploaded_on": "2026-01-07T14:11:52.833Z",
  "media_type": "image/jpeg",
  "data": "https://44f948a7.hosting-project.pages.dev/file/x9k2m/image.jpg"
}

Code Examples

Python

import requests

# Method 1: File Upload
url = "https://44f948a7.hosting-project.pages.dev/api/upload"
files = {'file': open('image.jpg', 'rb')}
response = requests.post(url, files=files)
print(response.json())

# Method 2: URL Upload
res = requests.get(url, params={'url': 'https://example.com/img.png'})
print(res.json())

JavaScript

async function uploadFile(fileInput) {
    const file = fileInput.files[0];
    const formData = new FormData();
    formData.append('file', file);

    try {
        const response = await fetch('https://44f948a7.hosting-project.pages.dev/api/upload', {
            method: 'POST',
            body: formData
        });

        const result = await response.json();
        
        if (result.ok) {
            console.log("Success:", result.data);
            console.log("Details:", result);
        }
    } catch (error) {
        console.error("Error:", error);
    }
}

cURL

# File Upload
curl -X POST https://44f948a7.hosting-project.pages.dev/api/upload \
  -F "file=@/path/to/your/image.jpg"

# URL Upload
curl "https://44f948a7.hosting-project.pages.dev/api/upload?url=https://example.com/image.jpg"