BlogAtlas Vector Search voted most loved vector database in 2024 Retool State of AI report Read more >

MongoDB

The Query API.
Simple, expressive and unified.

A flexible, intuitive way to work with data. Deliver applications with minimal code and maximum productivity, in the language and tool of your choice.

Build Now
Learn how
Atlas architecture diagram highlighting "Transactional" and "Analytical" within the Unified Interface category.

The MongoDB Query API gives developers an intuitive way to handle complex data workloads for any data type, including arrays, geospatial, and time series data, so they can deliver more with less code.

  • Work in your preferred language
  • A single interface for operational, analytical, and search workloads

Work easily with any data type

Get complete control over your data with the MongoDB Query API. It’s designed to handle any data structure with ease, including key-value, graph, geospatial, time series, and objects. Optimized for embedded arrays and objects, these expressive querying capabilities unlock the flexibility of the document model.

Query an array
Illustration of web pages and a shopping cart representing various data structures.
Illustration of web pages with check marks to represent handling key tasks.

Boost productivity with a single interface

Unlock the full potential of data operations. Perform key operations, including indexing, querying, and updating; all through a single, powerful API. Modernize your applications by using transactional, search, and analytical queries, without the need to switch between interfaces or struggle with complex query syntax.

Learn about full-text search

Simplify the development process

Query and aggregate data using your preferred coding language. The MongoDB Query API includes drivers to programmatically generate queries and build aggregation pipelines— removing the need to learn a new query language from scratch.

Get language drivers
Illustration of bracket icons moving through a pipe and transforming into check marks to represent a simple developement process.

Feature overview

Simplify working with data

Work with data in an intuitive, familiar way. Deliver data-driven applications with minimal code run queries, build complex aggregation pipelines, and power applications, all in your preferred language.
View Documentation
Expressive querying made easy
Easily query on a range of data types including geospatial, graph, time series, as well as on nested arrays and objects, all while working in your preferred language.
Python
Javascript
Java
MongoShell
Composable in-database transformations
Build modular, multi-stage aggregation pipelines to run powerful analytics. Query across collections and databases, and transform your data to surface insights and make better decisions.
Python
Javascript
Java
MongoShell
Full-text search, time series, and more
Use a single interface for creating complex queries that power search workloads, time-series workloads, and event-driven apps. Save time on integrating multiple APIs or complex ETL.
Python
Javascript
Java
MongoShell

Query. Transform. Analyze.

See what the Query API has to offer — and how it has empowered other organizations to transform their applications and workflows.

Get the most out of Atlas

Power more data-driven experiences and insights with the rest of our developer data platform.
Explore all our products

Start using the Query API today

Get started in seconds. Use preloaded sample data sets to familiarize yourself with the Query API — and the MongoDB developer data platform.
Try FreeLearn more
BUILD YOUR MONGODB DATABASE WITH:
  • CRUD
  • Aggregations
  • Change streams
  • Geospatial and graph
  • Full-text search
  • Language drivers