API Documentation

Plagly API Reference

Integrate powerful AI-powered writing tools into your applications. Check grammar, detect AI content, scan for plagiarism, generate citations, and enhance text quality.

Base URL
api.plagly.com/v1
Authentication
Bearer Token
Rate Limit
1000/hour
Uptime
99.9%

Authentication

API Key Authentication

Include your API key in the Authorization header of every request.

Header Format:

Authorization: Bearer YOUR_JWT_TOKEN

Alternative (API Key):

X-API-Key: YOUR_API_KEY

Getting Your API Key

Sign up for a free account to get your API credentials.

  1. Create a free account at Plagly
  2. Navigate to your API dashboard
  3. Generate a new API key
  4. Copy and securely store your key
Get Your API Key

API Endpoints

Endpoints

POST
Grammar Check

Analyze text for grammar, spelling, and style errors with AI-powered suggestions.

Grammar

Endpoint URL

POST https://api.plagly.com/v1/grammar

Request Body

{
  "text": "This are a test sentence with grammar errors.",
  "language": "en"
}

Response Example

{
  "errors": [
    {
      "message": "Subject-verb disagreement",
      "offset": 5,
      "length": 3,
      "suggestions": [
        "is"
      ]
    }
  ],
  "corrected_text": "This is a test sentence with grammar errors."
}

Code Examples

curl -X POST https://api.plagly.com/v1/grammar \
  -H "Authorization: Bearer YOUR_JWT_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "text": "This are a test sentence with grammar errors.",
  "language": "en"
}'

Error Codes

200
OK
Request successful
400
Bad Request
Invalid request parameters
401
Unauthorized
Invalid or missing API key
403
Forbidden
API key lacks required permissions
429
Too Many Requests
Rate limit exceeded
500
Internal Server Error
Server error occurred

Ready to Get Started?

Join thousands of developers using Plagly's API to build better writing tools.