Cloud Firestore API logo

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.

Visit site ↗Health checked 9h ago
Use it when

Real-time listeners (data changes auto-push to clients)

Watch for

Limited query capabilities (no JOINs or complex filters)

First check

Create project in Firebase Console + enable Firestore. Web SDK: const db = getFirestore(app); await setDoc(doc(db, "users", "alice"), {name: "Alice"});

Auth
CORS
No
HTTPS
Yes
Signup
?
Latency
41 ms
Protocol
REST, gRPC
Pricing

Uptime · 30-day window

Probes: 1Uptime: 100%Avg latency: 41ms
01

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.

02

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
03

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
04

Example request

Generic template — replace <endpoint> with the real path from the docs.
curl https://google.com/<endpoint>
05

Getting started

Create project in Firebase Console + enable Firestore. Web SDK: const db = getFirestore(app); await setDoc(doc(db, "users", "alice"), {name: "Alice"});

06

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.

07

Technical details

CORS: NoHTTPS: YesSignup: ?Open source: No
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
08

Tags

09

More from Google