PocketBase API
PocketBase API
PocketBase is open-source Go single-binary BaaS (auth + DB + storage + realtime) — single-file deployment, zero ops; ultra-minimal Firebase alternative.
Single binary (Go) — pocketbase serve and done
SQLite limitations (not for ultra-high concurrency)
Download binary from pocketbase.io + ./pocketbase serve to start. HTTP: POST /api/collections/users/records {email: "...", password: "..."}
Uptime · 30-day window
About this API
PocketBase is a lightweight open-source BaaS launched 2022, maintained by single author Gani Georgiev (Bulgaria). Extreme positioning: "simplest Firebase alternative" — a single Go binary IS the entire backend (auth, DB, storage, realtime, email all built-in), SQLite as DB (one file), ./pocketbase serve and done. No docker compose with many services, no cloud config, no ops. This minimalism made it popular with indie developers / learning projects / privacy-first apps, 42k+ GitHub stars. Suits small scale (thousands to tens of thousands of users); ultra-high concurrency or big data needs cluster-based Supabase / Firebase.
What you can build
- 1Indie developer / small project backends
- 2Self-hosted SaaS (one server one binary)
- 3Mobile app backend prototypes
- 4Privacy-sensitive scenarios (fully offline)
Strengths & limitations
Strengths
- Single binary (Go) — pocketbase serve and done
- SQLite backend zero config
- Complete BaaS features (auth + db + storage + realtime + email)
- Built-in admin UI (DB browser / record editor)
Limitations
- SQLite limitations (not for ultra-high concurrency)
- Smaller ecosystem than Supabase
- No official cloud (must self-deploy)
Example request
curl https://pocketbase.io/<endpoint> \
-H "Authorization: Bearer $ACCESS_TOKEN"Getting started
Download binary from pocketbase.io + ./pocketbase serve to start. HTTP: POST /api/collections/users/records {email: "...", password: "..."}
FAQ
PocketBase vs. Supabase?+
Small projects + minimal self-host: PocketBase. Mid-large projects + Postgres: Supabase.
Technical details
- Auth type
- jwt
- Pricing
- free
- Rate limit
- 本地无限制
- Protocols
- REST, WebSocket
- SDKs
- javascript, typescript, dart