Introduction to the MongoHQ API

The MongoHQ REST API allows you to create and interact with MongoDB databases created on the MongoHQ platform with an easy to use JSON API over HTTPS. Please note that at the moment, the API should be considered as being in its legacy phase. We are happy to help, but the product is no longer actively developed.

To see the new MongoHQ REST API, go to MongoHQ REST API 2014-06

Getting Started

To start using the MongoHQ REST API, you will need to do the following:

  1. Sign up for an account at MongoHQ.com.
  2. Once logged in, click on the My Account drop-down menu at the top-right, and select 'Account Settings'.
  3. Look for the section labeled API Token. From there, grab your token.

The base API end point is https://api.mongohq.com/2011-09 and you will pass your key as a params named _apikey for authentication.

API Documentation

The sections of the REST API documentation are listed here: