Skip to main content

Base URL

All AI detection endpoints use the following base URL:
https://text.api.pangram.com
The plagiarism detection endpoint uses a separate base URL:
https://plagiarism.api.pangram.com

Authentication

All API requests must include your API key in the x-api-key header:
curl -X POST https://text.api.pangram.com/v3 \
  -H "Content-Type: application/json" \
  -H "x-api-key: <your-api-key>" \
  -d '{"text": "Your text here"}'

Error Codes

Status CodeDescription
400 Bad RequestThe request body is not properly formatted.
401 UnauthorizedThe x-api-key is missing, invalid, or does not have enough credits to process the request.
500 Internal Server ErrorThere was an error processing the request.
If you are running into errors, please reach out at support@pangram.com.