This tool can be queried directly via a URL to get a raw JSON output, suitable for use in scripts or other automated processes.
The API endpoint is the main page of the tool, with a query parameter.
/index.html?employees=
employees (required): The total number of employees in the organisation. Must be an integer of 0 or greater.The request will return a JSON object containing the account size and guideline price. In case of an invalid input, it will return a plain text error message.
{
"size": "AccountSize",
"price": PriceAsNumber
}
Error: Please enter a valid, non-negative number.
Note: Your command line tool may download the HTML file. For programmatic use, fetch the URL and parse the body of the response.
curl "https://ce-calc.sethmb.xyz/index.html?employees=5"
{
"size": "Micro",
"price": 320
}
curl "https://ce-calc.sethmb.xyz/index.html?employees=300"
{
"size": "Large",
"price": 600
}