Grammar Checker APIs

Documentation

Buy Now

Basic Plan – $20

AI Technology

One-click Checking

Multi Languages

1 Million Characters

Pro Plan – $100

AI Technology

One Click Chceking

Multi Languages

10 Million Characters

Read Documentation

Are you looking for a seamless way to integrate advanced Grammar Checker into your application, website, or software? Look no further! Our Grammar Checking tool API offers a cutting-edge solution that will transform the way you handle text content.

How it works?

Follow the simple steps mentioned below to use our Grammar Checker APIs:

1. Sign Up: Create an account and get API access credentials

2. Integrate: Use the steps mentioned in documentation to integrate Translation APIs with your application

3. Check Grammar: Start sending text through the API and receive expertly Translated text in an instant.

Grammar Checker APIs Integration Guide

URL (POST):

Use POST request and the API endpoint URL for making POST requests to translate text is:

https://resources.paraphrasingtool.ai/endpoint/grammar.php

Payload:

Here’s the break down of the components of above payload:

  • uid (User ID): This is your unique User ID associated with your account. It helps the API identify and track your requests. Replace [Your User ID] with your actual User ID.
  • key (API Key): Your API key serves as authentication for your requests. Replace [Your API key] with your actual API key.
  • text: This is where you provide the text you want to translate. Replace the provided example text with the content you wish to translate.
  • dest (Destination Language): Specify the destination language for the translated output. In this case, "ar" represents Arabic. Below are the languages and their code:
{
    "uid": "[Your User ID]",
    "key": "[Your API key]",
    "text": "tis is simple gramatical error lined.",
    "dest": "en-US"
}

Headers:

The format of the data being sent in the request is JSON

{
  'Content-Type': 'application/json'
}

Output:

  • success: This field indicates whether the API request was successful (true) or not (false).
  • message: A message describing the outcome of the request. In this case, it’s “Success!” indicating that the translation process was completed without issues.
  • Output: The suggestion for each grammar mistake in the provided text
{
    "data": {
        "language": {
            "code": "en-US",
            "detectedLanguage": {
                "code": "en-US",
                "confidence": 0.99,
                "name": "English (US)",
                "source": "ngram"
            },
            "name": "English (US)"
        },
        "matches": [
            {
                "contextForSureMatch": -1,
                "ignoreForIncompleteSentence": true,
                "length": 3,
                "message": "Did you mean “this” or the literary contraction “'tis” (straight apostrophe) or “’tis” (curly apostrophe) as an alternative for “it is”?",
                "offset": 0,
                "replacements": [
                    {
                        "value": "this"
                    },
                    {
                        "value": "'tis"
                    },
                    {
                        "value": "’tis"
                    },
                    {
                        "value": "it is"
                    }
                ],
                "rule": {
                    "category": {
                        "id": "TYPOS",
                        "name": "Possible Typo"
                    },
                    "description": "tis (this)",
                    "id": "TIS",
                    "isPremium": false,
                    "issueType": "misspelling",
                    "subId": "1",
                    "urls": [
                        {
                            "value": "https://www.lexico.com/definition/'tis"
                        }
                    ]
                },
                "shortMessage": "Possible typo"
            },
            {
                "contextForSureMatch": 0,
                "ignoreForIncompleteSentence": false,
                "length": 3,
                "message": "Possible spelling mistake found.",
                "offset": 15,
                "replacements": [
                    {
                        "value": "are"
                    },
                    {
                        "shortDescription": "second-person singular simple past of 'be', e.g. 'you were'",
                        "value": "were"
                    },
                    {
                        "value": "we"
                    },
                    {
                        "shortDescription": "past of verb 'wear'",
                        "value": "wore"
                    },
                    {
                        "value": "wire"
                    }
                ],
                "rule": {
                    "category": {
                        "id": "TYPOS",
                        "name": "Possible Typo"
                    },
                    "description": "Possible spelling mistake",
                    "id": "MORFOLOGIK_RULE_EN_US",
                    "isPremium": false,
                    "issueType": "misspelling"
                },
                "shortMessage": "Spelling mistake"
            },
            {
                "contextForSureMatch": 0,
                "ignoreForIncompleteSentence": false,
                "length": 6,
                "message": "Possible spelling mistake found.",
                "offset": 19,
                "replacements": [
                    {
                        "value": "talkie"
                    },
                    {
                        "value": "talking"
                    },
                    {
                        "value": "talk in"
                    }
                ],
                "rule": {
                    "category": {
                        "id": "TYPOS",
                        "name": "Possible Typo"
                    },
                    "description": "Possible spelling mistake",
                    "id": "MORFOLOGIK_RULE_EN_US",
                    "isPremium": false,
                    "issueType": "misspelling"
                },
                "shortMessage": "Spelling mistake"
            }
        ],
        "sentenceRanges": [
            [
                0,
                31
            ]
        ]
    },
    "message": "Success!",
    "success": true
}

Get started now and experience the future of content: