Perfect Tense API Documentation (PerfectTenseAPI) | RapidAPI

Perfect Tense

FREE
By PerfectTenseAPI
Updated 3 months ago
0.4/10
Popularity Score
425ms
Latency
-
Success Rate

Perfect Tense API Documentation

The Perfect Tense API is an artificial intelligence powered spelling and grammar API. All you have to do is provide a piece of text and the Perfect Tense API will automatically return a proofread version of the text, along with all spelling and grammar mistakes.

View API Details
POSTcorrect
GETusage
POSTcorrect

This endpoint is the core of our service. If the request is valid, Perfect Tense will check the 'text' parameter for any grammatical errors, and respond with the requested response types (see response format to the right).

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Content-typeSTRING
REQUIRED
AppAuthorizationSTRING
REQUIREDThe string value here will be your APP key. You can access your APP key by logging into your Perfect Tense account.
AuthorizationSTRING
REQUIREDThe string value here will be your API key. You can access your API key by logging into your Perfect Tense account.
Required Parameters
textSTRING
REQUIREDSet it to the article you want to correct. Maximum size is 50,000 characters.
Optional Parameters
responseTypeSTRING
OPTIONAL'corrected' is a single string with all (non-suggestion) corrections applied to the input text. 'grammarScore' is a number from 0.0 to 100.0 indicating the grammatical "score" for the input text, based on the errors found. 'rulesApplied' is a JSON response representing a full breakdown of every grammatical error found in the input text. 'offset' is JSON response representing a condensed summary of grammatical errors found in the input text. 'summary' is a JSON response representing a summary of the grammatical errors found in the input text. If no response type is provided, the default is 'corrected'.
Code Snippet
Install SDK
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication