Skip to main content
POST
/
api
/
ext
/
generic
/
text
/
readability-score
Calculate text readability score
curl --request POST \
  --url https://app.spotzee.com/api/ext/generic/text/readability-score \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data 'text=This is a sample text to analyze for readability and sentiment scores.'
{
  "status": "success",
  "data": {
    "fleschReadingEase": 65.3,
    "fleschKincaidGrade": 8.2,
    "smogIndex": 9.1,
    "colemanLiauIndex": 10.3,
    "automatedReadabilityIndex": 8.7,
    "linsearWriteFormula": 9.5,
    "rix": 4.2,
    "medianGrade": 9,
    "readingTime": 45
  }
}

Authorizations

Authorization
string
header
required

Bearer token authentication. Use format: Bearer YOUR_API_KEY

Body

application/x-www-form-urlencoded
text
string
required

Text content to analyze

Example:

"This is a sample text to analyze for readability and sentiment scores."

Response

Successfully calculated readability score

status
string
required
Example:

"success"

data
object
required
Example:
{
  "fleschReadingEase": 65.3,
  "fleschKincaidGrade": 8.2,
  "smogIndex": 9.1,
  "colemanLiauIndex": 10.3,
  "automatedReadabilityIndex": 8.7,
  "linsearWriteFormula": 9.5,
  "rix": 4.2,
  "medianGrade": 9,
  "readingTime": 45
}