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
- Free API tier: 100 requests/day per key.
- Pro API tier: 5,000 requests/day per key.
- API usage is tracked separately from your web UI usage — using the API never counts against your browser limits, and vice versa.
On exceeding your limit:
{
"error": "api_rate_limit_exceeded",
"message": "You've hit your API limit of 100 requests/day.",
"limit": 100
}Errors
401— missing/invalid key429— rate limit exceeded403— key generation attempted without a Pro plan
