1. Home
  2. Docs
  3. Linguix API
  4. Example API response and data
Last updated 318 days ago

Example API response and data

API response example:

{
    "status": 200,
    "alerts": [
        {
            "length": 6,
            "offset": 60,
            "message": "Possible grammar mistake found.",
            "category": "Noun Number",
            "replacements": [
                "uploads"
            ]
        },
        {
            "length": 3,
            "offset": 92,
            "message": "Use a comma before ‘so’ if it connects two independent clauses (unless they are closely connected and short).",
            "category": "Punctuation",
            "replacements": [
                ", so"
            ]
        },
        {
            "length": 4,
            "offset": 121,
            "message": "Possible grammar mistake found.",
            "category": "Noun Number",
            "replacements": [
                "cases"
            ]
        }
    ],
    "stats": {
        "wordsCount": 26,
        "charsCount": 115,
        "sentencesCount": 1,
        "avgWordLength": 4.346153846153846,
        "avgSentenceLength": 26,
        "fleschIndex": 47.037307692307735,
        "readingTimeSeconds": 8,
        "speakingTimeSeconds": 12,
        "textScore": 5
    }
}
Was this article helpful to you? Yes No 2

How can we help?

Looking for help ?
Contact Support

We’re here to help you with anything you need.

Contact us