Skip to content

API guide

Prepaid balance, pay per use, any account. Text is never stored. Keys and balance: API page.

Pricing

CallPer 1,000 words, per versionMinimum per version
Humanize, Medium$1.00$0.35
Humanize, Extra$1.25$0.65
Humanize, Max$1.50$0.80
Style check$0.01 a call, up to about 8,000 words
  • Ultra: included within your plan's words. Past them, or above Ultra's limits, the balance pays. The response says which: billed_from.
  • Top-ups: $10, $25, $50, $100. Failed calls are refunded. The balance does not expire.

Claude and ChatGPT

MCP server at https://samesay.app/api/mcp. One click per app.

Other MCP clients: Authorization: Bearer or ?key=. OpenAPI: /api/openapi.json.

Request

curl https://samesay.app/v1/humanize \
  -H "Authorization: Bearer hz_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"text": "Your draft...", "strength": "extra", "n": 2}'

Parameters

FieldTypeMeaning
textstring, requiredThe draft. At least 30 characters, up to 8,000 words per call.
strengthstringmedium (closest to the draft), extra or max (rewritten the furthest). Default: medium. Older clients may send rounds instead: 1 is Medium, 2 or 3 Extra, 4 Max.
nintegerVersions, 1 to 3, ranked by the meaning check, best first. Each version is billed. Capped by text length.
accentstringOptional. The English reads as if written by a French (fr), Spanish (es), Russian (ru), Dutch (nl) or Nordic speaker (nordic, or nordic-sv, nordic-da, nordic-no, nordic-fi). Applied to every version after the rewrite; figures, names and citations stay exactly as written. Free.
accent_strengthinteger1 to 10, default 5: 1 applies 10% of the accent's habits, 10 applies all of them. Only used with accent.
fidelitybooleanThe Fidelity check: citations, figures, names, quotations and terms of your text are listed before the rewrite and put back wherever they changed; invented ones are removed. Free. Default: true.

Response

{
  "id": "6f1c…",
  "strength": "extra",
  "words_in": 182,
  "versions": 2,
  "outputs": [
    { "rank": 1, "text": "…", "words": 176, "human_score": 74, "style_score": 94,
      "meaning_ok": true, "meaning_flags": [],
      "fidelity": { "facts": 9, "kept": 8, "restored": 1, "removed": 0 } }
  ],
  "billed_from": "balance",
  "charged_usd": 1.3,
  "plan_words_left": null,
  "balance_usd": 23.7
}

Also: POST /v1/style-check with {"text": "…"} returns the AI-style score, its breakdown and the flagged sentences; GET /v1/balance returns balance_usd (free).

Errors and limits

  • 401 missing or revoked key.
  • 402 the balance is too low for this call, code insufficient_balance, with balance_usd, needed_usd and top_up_url. Nothing is charged.
  • 413 text over 8,000 words: send it in parts. 429 more than 30 humanize calls a minute per key.
  • 502 the rewrite failed on our side, code run_failed. The call is refunded in full.