PocketBase API logo

PocketBase API

PocketBase API

UnknownFreedeveloper-tools

PocketBase is open-source Go single-binary BaaS (auth + DB + storage + realtime) — single-file deployment, zero ops; ultra-minimal Firebase alternative.

Use it when

Single binary (Go) — pocketbase serve and done

Watch for

SQLite limitations (not for ultra-high concurrency)

First check

Download binary from pocketbase.io + ./pocketbase serve to start. HTTP: POST /api/collections/users/records {email: "...", password: "..."}

Auth
jwt
CORS
?
HTTPS
Yes
Signup
?
Protocol
REST, WebSocket
Pricing
free

Uptime · 30-day window

Health history will appear here after the next daily check.
01

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.

02

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)
03

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)
04

Example request

Generic template — replace <endpoint> with the real path from the docs.
curl https://pocketbase.io/<endpoint> \
  -H "Authorization: Bearer $ACCESS_TOKEN"
05

Getting started

Download binary from pocketbase.io + ./pocketbase serve to start. HTTP: POST /api/collections/users/records {email: "...", password: "..."}

06

FAQ

PocketBase vs. Supabase?+

Small projects + minimal self-host: PocketBase. Mid-large projects + Postgres: Supabase.

07

Technical details

CORS: ?HTTPS: YesSignup: ?Open source: No
Auth type
jwt
Pricing
free
Rate limit
本地无限制
Protocols
REST, WebSocket
SDKs
javascript, typescript, dart
08

Tags