Text in, result out
The REST contract needs one text field. That makes it straightforward to add to an existing submission or editorial pipeline.
REST API / plagiarism analysis
Add plagiarism analysis to a writing, education, or publishing product without sending reviewers to a separate tool. Submit the text from your server and bring the result back into the workflow they already use.
Use the key from a private server environment.
curl --request POST \
--url https://api.detecting-ai.com/api/plagiarism/ \
--header "Content-Type: application/json" \
--header "Idempotency-Key: plagiarism-review-001" \
--header "X-API-Key: YOUR_API_KEY" \
--data '{
"text": "Paste the text you want to check."
}'POST requests to /api/plagiarism/
X-API-Key authentication
Client Idempotency-Key for recoverable retries
One required text field
Feature-specific word balance
Keep the source in the conversation
The API gives your product a plagiarism result and usage data. Your interface should pair that result with the submitted passage, available source context, and the rules that matter to the reviewer.
The REST contract needs one text field. That makes it straightforward to add to an existing submission or editorial pipeline.
Keep the customer key out of the browser and return only the report data your application is prepared to explain.
Treat overlap as a lead for source checking. Citation, permission, and policy still determine what a match means.
Request contract
Send the complete text you want checked as a JSON string. Handle document parsing, access control, and any submission metadata in your own application.
| Field | Type | Required | What it does |
|---|---|---|---|
| text | string | Yes | The text you want the plagiarism service to analyze. |
The result field carries the analysis and words_processed records usage. Keep the raw response in a private test log until your mapping handles both normal and empty findings.
{
"result": "Plagiarism analysis is returned here",
"words_processed": 8
}Integration flow
A clear integration keeps the submitted text, analysis, and reviewer action connected.
Store the API key as a secret and accept text only from users and systems your application already authorizes.
Persist a unique Idempotency-Key, then test realistic essays, articles, listings, and quoted or cited material. Reuse the key only for an exact retry.
Show enough source and passage context for a person to understand a match before marking, rejecting, or escalating it.
Good fits
The API belongs beside the document and its history. That makes it easier to investigate a match and avoids turning a percentage into a final judgment.
Quoted text, references, standard phrases, and licensed material can all create overlap. Review what matched and why before taking action.
Bring a plagiarism result into the same screen as the submission, citation details, rubric, and instructor notes.
Check contributed work before publication and send meaningful overlap to an editor for source review.
Review repeated product or marketplace descriptions before they are added to a large catalog.
Run authorized text through a private backend and keep the key separate from the browser interface.
API FAQ
Start with a server-side request, log the response shape, then add the result to your existing review flow.
Send a POST request to https://api.detecting-ai.com/api/plagiarism/. The JSON body has a required text field; send X-API-Key and persist a stable Idempotency-Key so retries are recoverable.
The response contains the plagiarism result and words_processed. Inspect the result in a test environment before mapping it into your own report interface.
No. Matching language may be quoted, licensed, common, properly cited, or part of a reference list. Your workflow should let a reviewer inspect the source and context.
No. Keep the key in a trusted server environment and call the plagiarism endpoint from there. A browser bundle or public repository cannot protect a private key.
Usage is based on the input word count and comes from the plagiarism balance on the API subscription. Successful responses include words_processed.
Build the first request
A useful trial includes clean text, common phrases, quotations, and a known copied passage so your team can design the right review states.