# Migrating from the MongoDB Data API to Supabase

DevFeed: [Migrating from the MongoDB Data API to Supabase](<https://devfeed.tech/articles/migrating-from-the-mongodb-data-api-to-supabase-455.md>)

Original publisher: [Read original article](<https://supabase.com/blog/migrating-mongodb-data-api-with-supabase>)

Author: Prashant Sridharan

Published: 2025-03-20T07:00:00Z

Content type: tutorial

Language: en

Sources: [Supabase Blog](<https://devfeed.tech/sources/supabase-blog.md>)

Topics: [Supabase](<https://devfeed.tech/topics/supabase.md>), [MongoDB](<https://devfeed.tech/topics/mongodb.md>), [REST API](<https://devfeed.tech/topics/rest-api.md>), [PostgreSQL](<https://devfeed.tech/topics/postgresql.md>), [JSON](<https://devfeed.tech/topics/json.md>), [CRUD](<https://devfeed.tech/topics/crud.md>), [Databases](<https://devfeed.tech/topics/databases.md>), [web applications](<https://devfeed.tech/topics/web-applications.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [authentication](<https://devfeed.tech/tags/authentication.md>), [backend](<https://devfeed.tech/tags/backend.md>), [database](<https://devfeed.tech/tags/database.md>), [frameworks](<https://devfeed.tech/tags/frameworks.md>), [graphql](<https://devfeed.tech/tags/graphql.md>), [guide](<https://devfeed.tech/tags/guide.md>), [json](<https://devfeed.tech/tags/json.md>), [mongodb](<https://devfeed.tech/tags/mongodb.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [postgresql](<https://devfeed.tech/tags/postgresql.md>), [rest](<https://devfeed.tech/tags/rest.md>), [rest-api](<https://devfeed.tech/tags/rest-api.md>), [web](<https://devfeed.tech/tags/web.md>)

## AI overview

This guide explains how to migrate from MongoDB's deprecated Data API to Supabase. It presents Supabase as an open-source alternative with managed PostgreSQL, an automatically generated REST API through PostgREST, and integrated authentication, real-time features, file storage, and serverless functions. The migration process covers exporting MongoDB data, importing it as JSON, normalizing it with SQL, adapting API calls, and adding Supabase features.

## Source excerpt

A guide to migrating from the MongoDB Data API to Supabase.