
Cloud Firestore API
Cloud Firestore API
Cloud Firestore API is Google Cloud managed NoSQL document database — real-time sync, offline support, strong consistency; a top choice for mobile / web app backends.
Real-time listeners (data changes auto-push to clients)
Limited query capabilities (no JOINs or complex filters)
Create project in Firebase Console + enable Firestore. Web SDK: const db = getFirestore(app); await setDoc(doc(db, "users", "alice"), {name: "Alice"});
Uptime · 30-day window
About this API
Firestore is Google's next-generation NoSQL document database launched 2017, upgrading from Firebase Realtime Database. Design core: (1) Document model (collection > document > sub-collection nested), fits mobile/web app data models; (2) Real-time sync (register onSnapshot listener, data changes auto-pushed); (3) Offline support (mobile cache during disconnect, auto-sync on reconnect); (4) Strong consistency (multi-region replication while guaranteeing read-after-write). Common uses: mobile app backend, collaboration apps (Google Docs-style), IoT device state, chat apps. vs. Firebase Realtime Database: Firestore is more structured, better scaling. Realtime DB is cheaper, lower latency. New projects: Firestore. vs. Supabase: Firestore is NoSQL, Supabase is Postgres relational — pick based on document vs relational need.
What you can build
- 1Mobile app real-time data sync (chat, collaboration)
- 2Web app backend (Firebase integration with auth + storage)
- 3IoT device state collection
- 4Small SaaS backend
Strengths & limitations
Strengths
- Real-time listeners (data changes auto-push to clients)
- Offline-first (mobile SDK handles network interruptions)
- Strong consistency (unlike Firebase Realtime DB which is eventual)
- Deep Firebase ecosystem integration
Limitations
- Limited query capabilities (no JOINs or complex filters)
- Per read/write pricing — expensive at scale
- Hard to migrate out
Example request
curl https://google.com/<endpoint>Getting started
Create project in Firebase Console + enable Firestore. Web SDK: const db = getFirestore(app); await setDoc(doc(db, "users", "alice"), {name: "Alice"});
FAQ
Firestore vs. Realtime DB?+
New projects: Firestore (more modern). Realtime DB suits simple key-value at scale with low-latency needs.
Firestore vs. Supabase?+
NoSQL + mobile-heavy: Firestore. SQL/relational + flexible queries: Supabase.
Technical details
- Auth type
- unknown
- Pricing
- unknown
- Protocols
- REST, gRPC
- SDKs
- python, javascript, typescript, go, java, swift, kotlin
- Response time
- 41 ms
- Last health check
- 5/12/2026, 7:37:31 AM
More from Google
Google Workspace Admin SDK API programmatically manages Workspace organizations — users, groups, devices, domains, audit logs, organizational units.
Retrieve AdMob accounts, apps, ad units, ad sources, and generate mediation or network reports.
Work with AdSense Host accounts, ad clients, ad units, reports, and ad code generation from one API surface.
Programmatically manage Apigee organizations, API proxy deployments, attributes, certificates, and hybrid operations.
Google BigQuery API is the REST interface to GCP's flagship data warehouse — execute SQL queries, manage datasets/tables, stream inserts, and use built-in ML.
Control Binary Authorization attestors and policy checks for container images deployed to GKE and Anthos.
Fetch Business Profile location metrics, daily time series, and monthly search keyword impressions.
Google Calendar API lets apps create, read, and update calendar events programmatically — the go-to integration for scheduling apps.