Skip to main content

Grammar Check API

Trinka Grammar Check API offers a robust suite of features to analyze and improve the grammatical accuracy of your text. We present here a brief guide for developers looking to integrate Trinka's Grammar Check API into their applications. A detailed guide is available on request at support@trinka.ai.

Use Cases

Here are some of the things that Grammar Check API can do for you:

  • Find and fix grammar mistakes in text
  • Receive real-time grammar & spelling suggestions in text editors
  • Correct grammar and spelling mistakes in translated text
  • Automate essay marking
  • Integrate with learning management systems (LMS)

For more details, please refer to our section on Use Cases.

How to Get Started:​

  1. Get an API key - You need an API key to get started. After login go to https://developer.trinka.ai/landing/apikeys, and generate your Test API Key. The Test API Key can be used for testing the functionality or during development of your application. Once your application is ready to go live, you need to generate a Production API Key for using on your live application. Both the keys have different rate limits, as mentioned on https://developer.trinka.ai/landing/apikeys.

  2. Send an API request - Send an HTTPs request to send text to Trinka for checking your text. Note that the API uses RESTful architecture, and the input/output is in JSON format. Standard HTTP response codes, authentication, and verbs are used. The content-type of both request and response must be application/json. All the data must be UTF-8 encoded.

  3. Get the results - Trinka will send back suggestions for corrections, including the location of errors via indexes of characters to be changed. Trinka will also send back the category of errors.

  4. Show the corrections - Use the index and category information to selectively highlight or suggest edits to your users.

  5. Handle errors - Trinka uses standard codes to indicate success or problems.

API Endpoints

Please contact us at support@trinka.ai to get detailed information about the API endpoints.

Solutions to Common Issues

If you have trouble using the Trinka Grammar Check API, try these

  • Make sure your API key is valid and set up correctly.
  • Check that your app has a good internet connection.
  • Confirm that your API request is correctly formatted.

For any queries feel free to connect with us at support@trinka.ai.