Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

TextGears Grammar API

Grammar and spelling error detection and correction

TextGears Grammar API is one of 7 APIs that TextGears publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Grammar. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and rate-limit docs.

This API exposes 7 operations across 7 paths, and defines 10 schemas. It is described by OpenAPI 3.0.3, at version 1.0.0.

Requests are made against 4 base URLs: https://api.textgears.com, https://eu.api.textgears.com, https://us.api.textgears.com, https://sg.api.textgears.com.

7 operations 7 paths 10 schemas 7 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
1.0.0
Base URL
https://api.textgears.com
Authentication
API Key, HTTP Basic
License
Terms of Service
Resource Areas
1

Authentication & Security 2

TextGears Grammar API declares 2 security schemes for authenticating requests. An API key is passed in the query as key (apiKeyQuery). It accepts HTTP basic authentication (apiKeyHeader). By default, every request must be authenticated.

  • apiKeyQuery — API key passed as a query parameter
  • apiKeyHeader — API key passed as HTTP Basic Authorization header value

Paths & Operations 7

Across 7 paths, the API surfaces 7 operations — 7 POST. Each is listed below with its method, path, parameters, and response codes.

Grammar 7

Grammar and spelling error detection and correction

POST
/grammar
Check grammar
checkGrammar body → 200400
POST
/spelling
Check spelling
checkSpelling body → 200400
POST
/correct
Auto-correct text
correct body → 200400
POST
/suggest
Get text suggestions
suggest body → 200400
POST
/paraphrase
Paraphrase text
paraphrase body → 200400
POST
/translate
Translate text
translate body → 200400
POST
/split
Split text into sentences
splitSentences body → 200400

Schemas 10

The contract defines 10 schemas that model the data the API accepts and returns. The most detailed are GrammarError (7 properties), BaseRequest (6 properties), ErrorResponse (3 properties), CorrectResponse (2 properties). Each schema is shown below with its type and property counts.

CheckRequest
TransformResponse
object
2 properties
TranslateRequest
CorrectResponse
object
2 properties
SplitResponse
object
2 properties
GrammarError
object
7 properties
GrammarResponse
object
2 properties
TransformRequest
ErrorResponse
object
3 properties
BaseRequest
object
6 properties 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

textgears-grammar-api-openapi.yml Raw ↑

Other APIs TextGears publishes across the network.

TextGears Account API
TextGears Dictionaries API
TextGears Exceptions API
TextGears Language API
TextGears Readability API
TextGears Summarization API