MongoHQ Documentation

Documentation for using and extending the MongoHQ Platform.

MongoHQ API: Plans

Plans available to create databases from the API.

The plans API allows you to see what plans are available to create databases via the API. These include any custom deployments on your account.

GET /plans

This returns a list of the shared plans and custom deploys.

Required Parameters:

_apikey Your MongoHQ account’s secret key.

Example Request:

curl -X GET https://api.mongohq.com/plans?_apikey=12345

Example Result:

1
2
3
4
5
6
7
8
9
10
11
12
[{
  "name":"Micro",
  "slug":"micro",
  "price":5,
  "type":"hosted"
 },
 {
  "name":"Replica Set: Large",
  "slug":"rs_large",
  "price":300,
  "type":"hosted"
}]