Skip to the documentation
API

Estimate what Nextmail costs

Every plan priced for a usage, and the cheapest one that fits.

GET/tools/cost

Runs the real call on your workspace.

GET /tools/cost

Every plan priced for a usage, and the cheapest one that fits.

Example

Needs no scope. sends is emails sent a month, received emails received a month, aiActions AI actions a day, storage GB kept, apiRequests API and MCP requests a month, and interval is month or year. Every amount is in US cents per month, and a plan that cannot carry the usage has fits: false and names why in blockers.

curl
curl "$API/tools/cost?sends=25000&received=40000&domains=2&people=4&aiActions=30" -H "$AUTH"
Response
{  "object": "cost_estimate",  "interval": "month",  "need": { "sends": 25000, "received": 40000, "domains": 2, "people": 4, "aiActions": 30, "storage": 0, "apiRequests": 0 },  "plans": [    {      "object": "plan_estimate",      "plan": "free",      "name": "Starter",      "fits": true,      "blockers": [],      "baseCents": 0,      "extraSends": 22000,      "sendsCents": 1100,      "extraReceived": 37000,      "receivedCents": 1480,      "extraAiActions": 600,      "aiCents": 300,      "extraDomains": 0,      "domainsCents": 0,      "extraStorage": 0,      "storageCents": 0,      "extraApiRequests": 0,      "apiRequestsCents": 0,      "extrasCents": 2880,      "totalCents": 2880    },    {      "object": "plan_estimate",      "plan": "professional",      "name": "Pro",      "fits": true,      "blockers": [],      "baseCents": 2000,      "extraSends": 0,      "sendsCents": 0,      "extraReceived": 10000,      "receivedCents": 350,      "extraAiActions": 0,      "aiCents": 0,      "extraDomains": 0,      "domainsCents": 0,      "extraStorage": 0,      "storageCents": 0,      "extraApiRequests": 0,      "apiRequestsCents": 0,      "extrasCents": 350,      "totalCents": 2350    },    {      "object": "plan_estimate",      "plan": "business",      "name": "Max",      "fits": true,      "blockers": [],      "baseCents": 20000,      "extraSends": 0,      "sendsCents": 0,      "extraReceived": 0,      "receivedCents": 0,      "extraAiActions": 0,      "aiCents": 0,      "extraDomains": 0,      "domainsCents": 0,      "extraStorage": 0,      "storageCents": 0,      "extraApiRequests": 0,      "apiRequestsCents": 0,      "extrasCents": 0,      "totalCents": 20000    }  ],  "cheapest": "professional"}

These are the prices of the cost calculator on the Nextmail website, and it reads nothing in the workspace. It prices the plans a workspace can choose for itself, each with its own rates for extras, so Enterprise, priced in a contract, is not listed. cheapest is null when no plan fits.

Reference