API រក​ឃើញ​ការ​លួច​ចម្លង & # 160; ៖ ដាក់​ស្នើ​អត្ថបទ ​សួរ​របាយការណ៍ & # 160; ។

ចំណុចបញ្ចប់មួយ, ម្ចាស់ auth, ការកំណត់តម្លៃឥណទានថ្លា. ស្ថាបនាសម្រាប់ភ្នាក់ងារ, បំពង់អត្ថបទនិងឧបករណ៍ LMS-ជិតខាង.

កូនសោ API របស់​អ្នក

ចូល​ដើម្បី​ទទួល​កូនសោ API របស់​អ្នក & # 160; ។ កូនសោ​មក​ជាមួយ​គណនី​នីមួយៗ & # 160; ។ ការ​ពិនិត្យ​ API ត្រូវ​បាន​បង់​ក្នុង​ប្រាក់​កក់ & # 160; ។

ចុះឈ្មោះ

ចំណុច​បញ្ចប់

POST /api/v1/check/

ដាក់ស្នើ​អត្ថបទ​សម្រាប់​ពិនិត្យ​មើល & # 160; ។ ត្រឡប់ 202 ជាមួយ check_ id & # 160; ។ រាងកាយ & # 160; ៖ JSON ជាមួយ​វាល​អត្ថបទ ប៊ូលីន​ជម្រើស​ជ្រៅ & # 160; ។

curl -X POST https://plagiarism.free/api/v1/check/ \
  -H "Authorization: Bearer YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"text": "The text you want to check..."}'

GET /api/v1/check/<check_id>/

ការ​ស្ទង់​មតិ​សម្រាប់​ស្ថានភាព ពេល​ស្ថានភាព​ត្រូវ​បាន​ធ្វើ​រួច​របាយការណ៍​ពេញលេញ​ត្រូវ​បាន​រួម​បញ្ចូល & # 160; ៖ ពិន្ទុ ប្រភេទ​ផ្គូផ្គង​តាម​ឃ្លា​ជាមួយ​នឹង​ការ​ជឿជាក់ និង​ប្រភព​ចម្លង និង​បញ្ជី​ប្រភព & # 160; ។

curl https://plagiarism.free/api/v1/check/CHECK_ID/ \
  -H "Authorization: Bearer YOUR_KEY"

GET /api/v1/checks/

រាយ​ការ​ពិនិត្យ​ថ្មីៗ​របស់​អ្នក ថ្មី​ជាង​គេ​ដំបូង & # 160; ។ ប៉ារ៉ាម៉ែត្រ​សំណួរ​ជម្រើស & # 160; ៖ ដែន​កំណត់ (១- ១០០ លំនាំដើម ២០) និង​ស្ថានភាព (បាន​ដាក់​ជា​ជួរ ធ្វើ​រួច បរាជ័យ...) & # 160; ។ ផ្គូផ្គង​ការ​ដាក់​ស្នើ និង​ត្រឡប់​មក​វិញ​របស់​អ្នក​ផ្ទាល់​របស់​អ្នក​ដោយ​មិន​រក្សា​ទុក check_ id ទាំងអស់ & # 160; ។

curl "https://plagiarism.free/api/v1/checks/?limit=20&status=done" \
  -H "Authorization: Bearer YOUR_KEY"

ឧទាហរណ៍ Python

import time
import requests

API = "https://plagiarism.free/api/v1/check/"
HEADERS = {"Authorization": "Bearer YOUR_KEY"}

r = requests.post(API, json={"text": open("essay.txt").read()}, headers=HEADERS)
check_id = r.json()["check_id"]

while True:
    report = requests.get(f"{API}{check_id}/", headers=HEADERS).json()
    if report["status"] in ("done", "failed"):
        break
    time.sleep(3)

print(report["score_pct"], "% matched")
for source in report["sources"]:
    print(source["pct_of_document"], source["url"])

ឧទាហរណ៍ JavaScript

const API = "https://plagiarism.free/api/v1/check/";
const headers = { "Authorization": "Bearer YOUR_KEY", "Content-Type": "application/json" };

const { check_id } = await fetch(API, {
  method: "POST", headers, body: JSON.stringify({ text })
}).then(r => r.json());

let report;
do {
  await new Promise(res => setTimeout(res, 3000));
  report = await fetch(`${API}${check_id}/`, { headers }).then(r => r.json());
} while (!["done", "failed"].includes(report.status));

ការ​កំណត់​តម្លៃ

ដូចគ្នាទៅនឹងតំបន់បណ្ដាញ: 1 ឥណទាន = 1,000 ពាក្យស្កេន, ជុំឡើងក្នុងមួយពិនិត្យ; ការពិនិត្យជ្រៅចំណាយទ្វេដង។ កញ្ចប់ឥណទានមានសុពលភាព 365 ថ្ងៃ; ការជាវប្រចាំខែនិងរួមបញ្ចូល API នៅកម្រិតនីមួយៗ។ គ្មានកម្រិត API ដាច់ដោយឡែក, គ្មានថ្លៃសេវាក្នុងមួយកន្លែងអង្គុយ។ មើល​ផែនការ និង​កញ្ចប់

ការ​ពិនិត្យ​រត់​មិន​សមកាលកម្ម (ពិត​ប្រាកដ ការ​ទៅ​យក​បណ្ដាញ​ដែល​មាន​អត្រា​កំណត់​ចំណាយ​ពេល 20- 45 វិនាទី) - សំណួរ​ចំណុច​បញ្ចប់​ស្ថានភាព​ជំនួស​ឲ្យ​ការ​បើក​ការ​តភ្ជាប់ & # 160; ។ HTTP 402 មាន​ន័យ​ថា​មិន​គ្រប់គ្រាន់​ការ​ឆ្លើយតប​រួម​បញ្ចូល​អ្វី​ដែល​ការ​ពិនិត្យ​នឹង​ចំណាយ & # 160; ។

សំណួរ​ដែល​សួរ​ញឹកញាប់

Two endpoints. POST /api/v1/check/ with your text returns a check_id; GET /api/v1/check/check_id/ returns status while the check runs and the full report JSON (score, matched sentences, sources) when done. Auth is a Bearer key from your account page. Code samples in curl, Python and JavaScript are below.

The same transparent unit as the site: 1 credit per 1,000 words scanned, rounded up per check. Credit packs start at $4.99 for 30 credits and are valid a full year; the $7.99/month Starter plan includes 60 credits and API access. No per-seat fees, no separate API pricing tier.

A check takes roughly 20-45 seconds because it performs real, rate-limited web retrieval and page comparison - the API is asynchronous for that reason. Submissions queue fairly; paid checks get priority. Poll the status endpoint every few seconds rather than holding the connection open.

Everything the web report shows: overall matched percentage, per-sentence match type (exact / near / none) with confidence, the matched source excerpt for each flagged sentence, and the source list with URLs and per-source match percentages. Enough to render your own report UI or gate a workflow.

Yes - that is what it is for: LMS-adjacent tools, editorial workflows, agency content pipelines. Volume is metered purely by credits, and the per-check word cap is 25000 words. If you need sustained high volume, contact us and we will provision for it rather than let queues degrade.