Servinza logoservinza / tools

API Docs

Every tool on Servinza is also available as a JSON API. Generate a key from your account page (Pro plan required) and pass it as a Bearer token.

Authentication

Include your key in the Authorization header on every request:

Authorization: Bearer <your_api_key>

Endpoints

Every tool page has a matching endpoint at POST /api/<tool-slug> (the slug shown in that tool's URL). Request bodies match what the tool's form sends in the browser.

Example request

curl -X POST https://servinza.com/api/word-counter \
  -H "Authorization: Bearer sk_servinza_xxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{"text": "hello world"}'

Example response

{
  "result": { "words": 2 }
}

Rate limits

On exceeding your limit:

{
  "error": "api_rate_limit_exceeded",
  "message": "You've hit your API limit of 100 requests/day.",
  "limit": 100
}

Errors