Clash DB

🟢 SYSTEM ONLINE

Lightweight, schema-less JSON storage proxy. No bloat. Just endpoints.

> QUICK TEST CONSOLE

Waiting for command...

> DATA EXPLORER

How to use

Send a request to /api/{your_path}. URL paths map directly to Redis keys (e.g., /api/user/settingsuser:settings).

Supported Methods: GET, POST, DELETE.

JS Example (Fetch)

const url = 'https://your-domain.vercel.app/api/bot/config';
const headers = {
  'Content-Type': 'application/json',
  'x-api-key': 'your-master-key'
};

await fetch(url, {
  method: 'POST',
  headers,
  body: JSON.stringify({ active: true, workers: 4 })
});

const data = await fetch(url, { headers }).then(r => r.json());
console.log(data);

Python Example (Requests)

import requests

url = 'https://your-domain.vercel.app/api/bot/config'
headers = {'x-api-key': 'your-master-key'}

requests.post(url, json={'active': True, 'workers': 4}, headers=headers)
data = requests.get(url, headers=headers).json()
print(data)

# Delete it when done
requests.delete(url, headers=headers)