Database API
A tenant-scoped JSON database over HTTP. Free to start, then priced per request and per GB-hour with a monthly free allowance on every meter. No instance to size and no idle fee on the shared tiers.
Shared tiers
Free
10 databases, 10000 records and 0.1 GiB each. Every account, no card.
Usage
Unlocked by buying credits: 100 databases, 10000000 records and 10 GiB each. Pay only past the free allowances below.
Usage pricing
| Meter | Price | Free each month |
|---|---|---|
| Reads | $0.0000004 / request ($0.4 per million) | 100000 request |
| Writes | $0.000002 / request ($2 per million) | 50000 request |
| Hot storage (NVMe/Postgres) | $0.0003425 / GB-hour | 73 GB-hour |
Billed from mojojojo credits ($0.001 each); fractions accrue and are never rounded up. Cold data moves to R2-backed storage at the object price.
Dedicated preview
A private instance on rented Hetzner NVMe, continuously backed up to R2. Provisioned by hand during preview — ask for one.
| Plan | Month | vCPU | RAM | NVMe | Backups |
|---|---|---|---|---|---|
| small | $15 | 2 | 4 GB | 80 GB | continuous to R2, 7 day PITR |
| standard | $49 | 4 | 16 GB | 160 GB | continuous to R2, 14 day PITR |
| large | $129 | 8 | 32 GB | 240 GB | continuous to R2, 30 day PITR |
API
curl -X POST https://mojojojo.cc/v1/data/namespaces \
-H "Authorization: Bearer $MOJOJOJO_KEY" -d '{"name":"app"}'
curl -X PUT https://mojojojo.cc/v1/data/namespaces/$DB/records \
-H "Authorization: Bearer $MOJOJOJO_KEY" -d '{"key":"user:1","value":{"plan":"pro"}}'
curl https://mojojojo.cc/v1/db/usage -H "Authorization: Bearer $MOJOJOJO_KEY"
