Database as a Service

Welcome to the official developer documentation. Provision, query, and manage scalable SQLite databases instantly via a simple REST API.

Authentication

All API requests must be authenticated. Include your master API key in the headers of every request.

X-API-Key: YOUR_API_KEY_HERE
API Endpoints
POST /api/database/create

Provisions a fresh, isolated SQLite database for your account.

curl -X POST http://nader.page/api/database/create \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY" \
  -d '{
    "database_name": "my_new_app_db"
  }'
POST /api/database/query

Executes a SQL query against your specific database. Supports SELECT, INSERT, UPDATE, and schema modifications.

curl -X POST http://nader.page/api/database/query \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY" \
  -d '{
    "database_name": "my_new_app_db",
    "query": "CREATE TABLE users (id INTEGER PRIMARY KEY, name TEXT)"
  }'
POST /api/database/list

Retrieves an array of all databases currently provisioned under your account.

curl -X POST http://nader.page/api/database/list \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY" \
  -d '{}'
Rate Limits & Quotas

To ensure fair usage, Free Tier users are strictly rate-limited to 60 requests per minute and 500 requests per billing cycle. Premium users enjoy unlimited quota limits with elevated API speeds (1800/min). If you exceed your quota, the API will return a 429 Too Many Requests status.