◇unslop · API reference

unslop

Score and rewrite that strips AI-speak. Spanish and English.

base: https://unslop.agentictray.comauth: optionalJSON version

Quick start

curl -X POST https://unslop.agentictray.com/api/score \
  -H "Content-Type: application/json" \
  -d '{"text":"Delivering our comprehensive solution to your business."}'

Authentication

Opcional. Sin llave te atienden con el plan Free. Una llamada PROGRAMATICA (un script, no el navegador de la landing) exige el plan Team: feature `api`.

El navegador de la landing recibe una cookie de sesion firmada por el servidor: sus propias llamadas no cuentan como uso de API. Cualquier peticion que TRAIGA una llave es uso programatico por definicion, aunque tambien traiga la cookie. Las llamadas internas (IP de la red) nunca se cobran.

Limits

Plans

PlanPrice/moScore/dayRewrite/dayAPI calls/dayMax chars
Free0101005000
Solo155000500040000
Team49500050050040000

Endpoints

POST/api/scorealias: /api/unslop/score

Scores how AI-sounding a text is (0 = human, 100 = pure filler).

Request

Content-Type: application/json
  • textREQUIREDstring
    El texto a medir. Maximo 40000 caracteres (5000 en el plan Free).

Responses

  • 200
    application/json
    {"score": 0, "verdict": "...", "tells": [], "fix": "", "engine": "deep", "words": 0, "hits": [], "by_cat": {}, "lang": "es", "plan": "free", "used": 0, "limit": 10, "score_scale": "deep"}
    engine puede ser deep, regex-fallback, too-short o local-softcap. score_scale dice si el score es profundo o de superficie.
  • 400
    application/json
    {"error": "bad_json"}
  • 400
    application/json
    {"error": "empty_or_too_large"}
  • 400
    application/json
    {"error": "no_text"}
  • 402
    application/json
    {"error": "plan_required", "feature": "score", "plan": "free", "message": "..."}
  • 413
    application/json
    {"error": "text_too_long", "plan": "free", "max_chars": 5000, "chars": 9000}
  • 402
    application/json
    {"error": "plan_required", "feature": "api", "plan": "free", "message": "programmatic API access is on the Team plan"}
    Llamada programatica (script) con un plan sin la feature api.
  • 429
    application/json
    {"error": "daily_limit", "feature": "api", "plan": "team", "used": 500, "limit": 500}
    Cuota api_daily agotada (plan Team).
  • 429
    application/json
    {"error": "daily_limit", "feature": "score", "plan": "free", "used": 10, "limit": 10}
POST/api/rewritealias: /api/unslop/rewrite

Rewrites the text the way a person would say it.

Request

Content-Type: application/json
  • textREQUIREDstring
    El texto a reescribir. Maximo 40000 caracteres.
  • roundsinteger (1-3)
    Rondas del LLM. Por omision 2. Bajalo si vas con presupuesto de latencia.

Responses

  • 200
    application/json
    {"text": "...", "before": 0, "after": 0, "hits_before": 0, "hits_after": 0, "plan": "free", "used": 0, "limit": 10, "score_scale": "surface"}
    Tarda entre 10 y 30 segundos por llamada (va al modelo).
  • 400
    application/json
    {"error": "bad_json"}
  • 400
    application/json
    {"error": "empty_or_too_large"}
  • 400
    application/json
    {"error": "no_text"}
  • 402
    application/json
    {"error": "plan_required", "feature": "rewrite", "plan": "free", "message": "rewrite is on the paid plan"}
  • 413
    application/json
    {"error": "text_too_long", "plan": "free", "max_chars": 5000, "chars": 9000}
  • 402
    application/json
    {"error": "plan_required", "feature": "api", "plan": "free", "message": "programmatic API access is on the Team plan"}
    Llamada programatica (script) con un plan sin la feature api.
  • 429
    application/json
    {"error": "daily_limit", "feature": "api", "plan": "team", "used": 500, "limit": 500}
    Cuota api_daily agotada (plan Team).
  • 429
    application/json
    {"error": "daily_limit", "feature": "rewrite", "plan": "free", "used": 10, "limit": 10}
  • 500
    application/json
    {"error": "rewrite_failed: <TipoDeExcepcion>"}
GET/api/planalias: /api/unslop/plan

Plan, limits and consumption of the caller. Call it before batching.

Responses

  • 200
    application/json
    {"plan": "free", "label": "Free", "features": ["score", "rewrite"], "limits": {"score_daily": 10, "rewrite_daily": 10, "api_daily": 0, "max_chars": 5000}, "used": {"score": 0, "rewrite": 0, "api": 0}}
POST/api/lead

Captures an email for the pricing page when checkout is not configured.

Request

Content-Type: application/json
  • emailREQUIREDstring
    Debe ser un correo con dominio valido.
  • planstring
    El tier que le interesa (solo, team).

Responses

  • 200
    application/json
    {"ok": true, "plan": "solo"}
  • 400
    application/json
    {"ok": false, "error": "invalid_email"}
  • 400
    application/json
    {"ok": false, "error": "too_large"}
  • 400
    application/json
    {"ok": false, "error": "bad_request"}
GET/unslop/buy

The pricing page (HTML).

Responses

  • 200
    text/html
    (la pagina de precios)
GET/healthz

Service status.

Responses

  • 200
    application/json
    {"ok": true}
GET/api/docs

This same reference, as JSON.

Responses

  • 200
    application/json
    { ... } (this document)
GET/docs

This same reference, as HTML.

Responses

  • 200
    text/html
    (this page)

Notes