Quetext Partner API
Access plagiarism detection and reporting through our RESTful API
Introduction
The Quetext Partner API provides programmatic access to our plagiarism detection, AI content detection, and text paraphrasing services. Our API offers a RESTful interface with JSON-formatted responses, allowing you to integrate Quetext's powerful analysis tools directly into your applications.
Key Features
- Plagiarism Detection: Analyze text against billions of web pages and academic sources
- AI Content Detection: Identify AI-generated content using advanced detection algorithms
- Text Paraphrasing: Generate multiple alternative versions of your text
- Report Management: Create, retrieve, and manage analysis reports programmatically
- Real-time Progress: Monitor report processing status with progress endpoints
Base URL
All API requests should be made to:
Account Credits
API usage consumes credits from your Quetext account based on your subscription plan. Each report creation consumes credits based on the word count of the analyzed text. Check your available credits using the Account Plan endpoint.
Authentication
Quetext now provides API access primarily through **API keys**, with legacy Bearer tokens still supported for existing integrations.
Account > API Keys. Use this key in the X-API-Key header for all /api/v2/ endpoints.Using API Key (recommended)
Include your API key in the request headers:
Using Bearer Token (legacy)
Some existing endpoints under /api/auth/... still use Bearer tokens. You can obtain a token via the Login API and send it in the Authorization header:
Encryption
Responses
All API responses are returned in JSON format. In case of any errors from input validation, we send a code parameter in the response.
Success Response Format
Error Response Format
| Code | Meaning |
|---|---|
| 400 | Bad Request - Invalid request parameters or missing required fields |
| 401 | Unauthorized - Invalid or missing API key |
| 403 | Forbidden - You do not have permission to view the requested resource |
| 404 | Not Found - Resource could not be found |
| 429 | Too Many Requests - Rate limit exceeded. Please slow down and try again |
| 500 | Internal server error - The error message is returned in the message parameter |
Rate Limiting
All API endpoints are rate-limited to ensure fair usage and system stability. Rate limits are applied per account (identified by your API key).
429 Too Many Requests response. Please implement exponential backoff in your client applications.Rate Limit Headers
When you make a request, the following headers are included in the response:
Search Report API
Submit text for plagiarism detection and receive a report ID. This endpoint analyzes your text against billions of web pages and academic sources to identify potential plagiarism matches.
Headers
Request Body Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
text | string | Yes | The text content to check for plagiarism. Minimum length varies by plan. |
title | string | No | Optional title for the report. Helps organize your reports. |
Request Body Example
Response (200 OK)
Error Response Example
GET /api/v2/report-progress/{REPORT_ID} endpoint to check processing status. Reports are processed asynchronously and may take a few seconds to complete.Get Single Report API
Retrieve detailed results for a specific plagiarism or AI detection report. This endpoint returns complete analysis results including matches, sources, scores, and metadata.
URL Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
REPORT_ID | string | Yes | The unique identifier of the report (returned when creating a report). |
Headers
Response (200 OK)
Response Fields
| Field | Type | Description |
|---|---|---|
id | string | Unique report identifier |
status | string | Report status: "completed" or "in-progress" |
percentage | number | Processing completion percentage (0-100) |
score | number | Plagiarism similarity score (0-100, null if not available) |
ai_score | number | AI detection score (0-100, null if not available) |
word_count | number | Total word count in the analyzed text |
matches | array | Array of detected plagiarism matches with sources |
Error Response (401)
Get Reports API
Retrieve a list of all your plagiarism and AI detection reports. This endpoint returns up to 5,000 reports from your account, sorted by creation date (most recent first).
Headers
Response (200 OK)
status and percentage fields to determine if a report is ready for detailed analysis. Scores may be null for reports that are still processing or if no matches were found.Delete Report API
Permanently delete a specific plagiarism or AI detection report from your account. This action cannot be undone.
URL Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
REPORT_ID | string | Yes | The unique identifier of the report to delete. Must be a valid report ID that belongs to your account. |
Headers
Response (200 OK)
Error Response (404)
Get Report Progress API
Check the processing progress of a plagiarism or AI detection report. Use this endpoint to poll for completion status after submitting a report.
URL Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
REPORT_ID | string | Yes | The unique identifier of the report to check progress for. |
Headers
Response (200 OK)
Response When Report Not Found
GET /api/v2/report/{REPORT_ID} endpoint to retrieve full results.Get Account Plan Details
Retrieve details about your current account plan, subscription information, and available credits. This endpoint provides comprehensive information about your subscription, including plan details, credit balances, and AI plan information.
Headers
Response (200 OK)
Response Fields
| Field | Type | Description |
|---|---|---|
plan.name | string | Name of your subscription plan |
plan.price | number | Monthly or yearly subscription price |
plan.created_at | number | Unix timestamp when the plan was created |
plan.additional_users | number | Number of additional users allowed on team plans |
plan.plan_type | string | Subscription billing period: "Monthly" or "Yearly" |
credits.pages | number | Available page credits for plagiarism detection |
credits.addon | number | Additional purchased credits |
ai_plan | object | AI detection plan information (if available) |
ai_credits | object | AI detection credit information (if available) |
Error Response (401)
Get Account Plan Details (Legacy)
Note: This is a legacy endpoint that requires Bearer token authentication. For API key-based access, use the v2 Account Plan endpoint instead.
Retrieve details about your current account plan, subscription information, and available credits.
Headers
Response (200 OK)
Response Fields
| Field | Type | Description |
|---|---|---|
plan.name | string | Name of your subscription plan |
plan.price | number | Monthly or yearly subscription price |
plan.plan_type | string | Subscription billing period: "Monthly" or "Yearly" |
credits.pages | number | Available page credits for plagiarism detection |
credits.addon | number | Additional purchased credits |
Get Account Usage (Legacy)
Note: This is a legacy endpoint that requires Bearer token authentication.
View your account usage statistics broken down by day and month. This helps you track API consumption over time.
Headers
Response (200 OK)
Response Structure
The response is organized hierarchically:
- Year level: Top-level keys represent years (e.g., "2023")
- Month level: Second-level keys represent months (1-12)
- Day level: Third-level keys represent days (day01-day31) with word count values