API
Every tool on SaaSToolz — free and Pro — runs through one endpoint. This is the same API the web UI calls.
Note:requests are authenticated with your browser session cookie today, the same as being signed in on the site. Dedicated API keys for headless/server-to-server access (the "API access + SDKs" Enterprise feature) are on the roadmap and not available yet — for now, calls from outside the browser will be treated as anonymous and subject to the anonymous rate limit.
Endpoint
POST /api/tools/:toolId
toolId is any tool slug, e.g. json-formatter or bmi-calculator. See the full tool list (115 tools) for every slug.
Request body
Most tools take a single inputstring. Tools with multiple named parameters (calculators, SEO generators) take a JSON object in that same field — see each tool's page for its exact shape.
// simple text tool
{ "input": "hello world" }
// structured tool (e.g. bmi-calculator)
{ "input": "{\"weight\": 70, \"height\": 175, \"unit\": \"metric\"}" }Response
200 OK
{ "result": { ... }, "latencyMs": 42 }Error responses
| Status | error | Meaning |
|---|---|---|
| 403 | premium_required | Tool needs a Pro/Enterprise plan. |
| 429 | rate_limited | Daily usage limit reached for your plan. |
| 402 | insufficient_credits | Not enough AI credits left this period. |
| 500 | — | Bad or malformed input for that tool. |
Example
curl -X POST https://saastoolz.com/api/tools/hash-generator \
-H "Content-Type: application/json" \
-d '{"input": "hello world"}'