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 beta phase. We fully support it and are happy to help, but things could change as we modify it and roll out new features.

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 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: