STANDS4 Web Services:

Grammar API

The Grammar API from STANDS4 is a web service for checking the spelling and style of text in many languages.

Request URL:

Request parameters:

Parameter Value Required Default Description
uid string Y  

Your API user id

tokenid string Y  

Your valid developer token id

text string Y  

The text you would like to check

lang string N en-US

The language of the provided text,
e.g. es (Spanish) or fr (French)

format string N json

The format in which you want the result returned (json or xml)

Sample request URL:

Response elements:

matches Contains all of the check responses

Specific error message


Rule broken ID


Rule broken description

Sample response:

  software: " v2",
  warnings: {
    incompleteResults: false
  language: {
    name: "English (US)",
    code: "en-US"
  matches: [
      message: "This sentence does not start with an uppercase letter",
      shortMessage: "",
      replacements: [
          value: "I"
      offset: 0,
      length: 1,
      context: {
        text: "i loves you",
        offset: 0,
        length: 1
      rule: {
        description: "Checks that a sentence starts with an uppercase letter",
        issueType: "typographical",
        category: {
          id: "CASING",
          name: "Capitalization"
<?xml version="1.0" encoding="UTF-8" ?>
<software> v2</software>
    <name>English (US)</name>
    <message>This sentence does not start with an uppercase letter</message>
        <text>i loves you</text>
        <description>Checks that a sentence starts with an uppercase letter</description>

Want to use this service?

The Grammar API service is free to use for up to 100 queries per day.

For a premium commercial license, please contact us.

Apply here

Improve your writing now:

Download Grammar eBooks

It’s now more important than ever to develop a powerful writing style. After all, most communication takes place in reports, emails, and instant messages.



Are you a grammar master?

Identify the sentence with correct use of the conjunction:
A He is tall, nor his brother is short.
B She is tall, and she is also strong.
C The movie was boring, for it had a weak plot.
D I want to go, so he stays.