Google Grammar Check API
The Google Grammar Check API uses AI to make grammar correction suggestions based on a query to Google.
SerpApi is able to make sense of this information and extract checkmark
status, suggested_text
, and suggested_replacements
from the results page.
JSON structure overview
{
"grammar_check": [
{
"checkmark": "Boolean - It returns 'true' if the grammar check badge is present.",
"suggested_text": "String - The suggested text with proper grammar.",
"suggested_replacements": "Array - Search terms that are highlighted in the suggested text.",
},
...
]
}