Skip to main content
GET
/
plans
Retrieve Plans
curl --request GET \
  --url http://anchored.host/api/plans \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "Plans retrieved successfully!",
  "plans": [
    {
      "id": "budget-2c-4gb",
      "name": "Small",
      "description": "Perfect for small projects and websites.",
      "shared": true,
      "threads": 2,
      "memory": 4096,
      "memoryUnit": "MB",
      "storage": 20,
      "storageUnit": "GB",
      "bandwidth": 2000,
      "bandwidthUnit": "GB",
      "price": 500
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Successful response with plans data

success
boolean
Example:

true

message
string
Example:

"Plans retrieved successfully!"

plans
object[]