Connect to AI
Backend as a Service OAuth 2.0

Firebase REST API

Google's mobile and web app development platform

Firebase is Google's comprehensive app development platform that provides backend services including real-time databases, authentication, cloud storage, hosting, and serverless functions. Developers use Firebase to build scalable web and mobile applications without managing infrastructure, leveraging its real-time synchronization, automatic scaling, and integrated analytics to rapidly develop and deploy production-ready applications.

Base URL https://firebaseio.googleapis.com/v1

API Endpoints

MethodEndpointDescription
GET/projects/{projectId}/databases/{databaseId}/documents/{collectionPath}/{documentId}Retrieve a specific document from Firestore database
POST/projects/{projectId}/databases/{databaseId}/documents/{collectionPath}Create a new document in a Firestore collection
PATCH/projects/{projectId}/databases/{databaseId}/documents/{collectionPath}/{documentId}Update specific fields in an existing Firestore document
DELETE/projects/{projectId}/databases/{databaseId}/documents/{collectionPath}/{documentId}Delete a document from Firestore database
POST/projects/{projectId}/databases/{databaseId}/documents:runQueryExecute a structured query against Firestore database
POST/v1/accounts:signUpCreate a new user account with email and password
POST/v1/accounts:signInWithPasswordAuthenticate user with email and password credentials
POST/v1/accounts:sendOobCodeSend email verification or password reset email
POST/v1/accounts:updateUpdate user profile information or password
POST/v1/accounts:deleteDelete a user account from Firebase Authentication
GET/v1/projects/{projectId}/webAppsList all web apps registered in the Firebase project
POST/v1/projects/{projectId}/webAppsRegister a new web application with Firebase project
GET/v0/b/{bucket}/o/{objectPath}Retrieve metadata or download file from Cloud Storage
POST/v0/b/{bucket}/oUpload a new file to Firebase Cloud Storage bucket
DELETE/v0/b/{bucket}/o/{objectPath}Delete a file from Firebase Cloud Storage

Code Examples

# Get a Firestore document
curl -X GET \
  'https://firestore.googleapis.com/v1/projects/my-project/databases/(default)/documents/users/user123' \
  -H 'Authorization: Bearer ya29.a0AfH6SMBx...' \
  -H 'Content-Type: application/json'

# Create a new document
curl -X POST \
  'https://firestore.googleapis.com/v1/projects/my-project/databases/(default)/documents/users' \
  -H 'Authorization: Bearer ya29.a0AfH6SMBx...' \
  -H 'Content-Type: application/json' \
  -d '{
    "fields": {
      "name": {"stringValue": "John Doe"},
      "email": {"stringValue": "john@example.com"},
      "age": {"integerValue": "30"}
    }
  }'

Use Firebase from Claude / Cursor / ChatGPT

Get a hosted MCP endpoint for Firebase. Paste your Firebase API key, copy back one URL, drop it into Claude Desktop, Cursor, or any AI client that supports remote MCP. Your AI calls Firebase directly with your credentials — no local install, works on mobile.

firebase_create_document Create a new document in any Firestore collection with automatic field type detection and validation
firebase_query_collection Execute complex queries on Firestore collections with filtering, ordering, and pagination support
firebase_authenticate_user Authenticate users via email/password or third-party providers and manage authentication tokens
firebase_upload_file Upload files to Cloud Storage with automatic metadata extraction and access control configuration
firebase_batch_operations Perform atomic batch writes, updates, or deletes across multiple Firestore documents

Connect in 60 seconds

Paste your Firebase key → get an MCP URL → paste into Claude/Cursor. Hosted by IOX, encrypted at rest.

Connect Firebase to your AI →

Related APIs