Codequiry API.
A modern alternative
to Stanford MOSS.
Advanced code plagiarism detection powered by Hexagram Tokenization™. Get clean JSON results, web-scale coverage, and instant analysis. Built for universities, contests, and enterprise teams.
Hexagram Tokenization™ + Anti‑Obfuscation
Proprietary 6-dimensional semantic analysis resilient to renaming, dead‑code, formatting, re‑ordering, and templating. Finds algorithmic intent, not just identical strings. Returns clean JSON results.
Web‑Scale Coverage
Checks across GitHub, Stack Overflow, course sites, forums and billions of sources. Catch what offline engines miss.
Instant, Parallel Processing
Horizontally scaled pipeline delivers sub‑minute results. Free tier provides daily checks; upgrade to unlimited plans for high-volume processing.
51+ Languages
Python, Java, C/C++, JS/TS, Go, Rust, Swift, Kotlin, MATLAB, R and more. Auto‑detection with smart fallbacks.
Better than Stanford MOSS, JPlag, DoloS
Hexagram-powered semantic analysis, web search, JSON response format, robust diffing, and production SLAs — engineered for real courses, contests, and companies.
JSON API, SDKs & Webhooks
Clean JSON responses via REST API with Node, Python, PHP, Java SDKs. Webhooks for status and results. Drop‑in integration in minutes.
| Capability | Codequiry Hexagram | Stanford MOSS | JPlag | DoloS |
|---|---|---|---|---|
| Free + Unlimited tiers | Yes | Limits | Limits | Limits |
| Web & repository matching | Yes | Offline | Offline | Offline |
| Anti‑obfuscation resilience | Advanced | Basic | Basic | Basic |
| Modern diff & side‑by‑side | Yes | Limited | Limited | Limited |
| API + SDKs + Webhooks | Full | No | Partial | Partial |
| 51+ languages | Yes | Some | Some | Some |
Performance That Matters
Real-world speed comparison: Codequiry vs Stanford MOSS
Codequiry
100 submissions analyzed
with web + peer checking
Stanford MOSS
100 submissions analyzed
peer-only comparison
30M+ Files
Largest check processed
full web scan included
What is the Codequiry API?
Important: This is NOT Stanford's MOSS system. Codequiry is an independent, proprietary alternative powered by our Hexagram Tokenization™ technology.
The Codequiry API is a production‑ready code plagiarism checker powered by our proprietary Hexagram Tokenization™ engine — inspired by MOSS principles but completely reengineered. It measures software similarity across peer submissions and the public web to identify copied or near‑copied code, returning results in clean JSON format.
Why Codequiry is better
- Hexagram Tokenization™: Proprietary 6-dimensional semantic analysis that understands code meaning, not just syntax.
- JSON API responses: Modern, structured data format for easy integration.
- Web‑scale matching: Search GitHub, Stack Overflow, forums, and billions of sources.
- Advanced anti‑obfuscation: Resistant to renaming, formatting tricks, and code re‑ordering.
- Flexible pricing: Free daily checks, scale to unlimited plans.
- Developer‑friendly: REST API, SDKs, and webhooks for easy integration.
Who is it for?
- Universities and CS departments
- Programming contest platforms
- Engineering teams and enterprises
- Coding bootcamps and MOOCs
- Security and research teams
Education
Detect collaboration or copying across semesters and cohorts. Generate evidence‑ready reports for academic review boards.
Contests & Hiring
Validate originality for hackathons, coding challenges, and technical interviews with automated, web‑aware checks.
Enterprise & Legal
Audit code provenance in supply chains and outsourced projects. Reduce IP risk with reproducible similarity evidence.
How it works
- Create a check: Initialize with metadata like name, language, and options.
- Upload sources: Send files via multipart upload or base64.
- Start analysis: Trigger Hexagram analysis with web matching.
- Receive JSON: Get results via polling or webhooks.
- Review diffs: Examine side-by-side visual comparisons.
JSON Response Format: Unlike Stanford MOSS which returns HTML reports, our API provides clean, machine-readable JSON for easy integration.
// Node.js example
import fetch from 'node-fetch';
const base = 'https://codequiry.com/api/v1';
const headers = {
'Accept': 'application/json',
'Content-Type': 'application/json',
'apikey': process.env.CQ_API_KEY
};
// Create check
const created = await fetch(`${base}/check/create`, {
method: 'POST',
headers,
body: JSON.stringify({
name: 'Assignment 1',
language: 14
})
}).then(r => r.json());
// Start analysis
await fetch(`${base}/check/start?check_id=${created.id}`, {
method: 'POST',
headers
});
// Get results
const results = await fetch(`${base}/check/get?check_id=${created.id}`, {
method: 'POST',
headers
}).then(r => r.json());
Clean JSON Responses
Unlike Stanford MOSS's HTML reports, get machine-readable JSON for easy parsing and integration.
Sample JSON Response
{
"check_id": "123456",
"status": "completed",
"created_at": "2024-01-15T10:30:00Z",
"submissions": [
{
"id": "sub_001",
"filename": "student_submission_1.py",
"similarity_score": 92.5,
"matches": [
{
"type": "peer",
"source": "student_submission_3.py",
"similarity": 92.5,
"matched_lines": 145,
"total_lines": 157
},
{
"type": "web",
"source": "github.com/user/repo/file.py",
"similarity": 76.3,
"url": "https://github.com/user/repo/blob/main/file.py",
"matched_lines": 98,
"total_lines": 128
},
{
"type": "web",
"source": "stackoverflow.com/questions/12345",
"similarity": 41.2,
"url": "https://stackoverflow.com/questions/12345",
"matched_lines": 23,
"total_lines": 56
}
],
"ai_detection": {
"probability": 0.15,
"confidence": "low",
"indicators": ["natural_errors", "human_patterns"]
}
}
],
"statistics": {
"total_submissions": 127,
"avg_similarity": 34.2,
"flagged_count": 23,
"processing_time_ms": 2847
}
}
Why JSON Matters
Easy Parsing
Parse in any language: Python, JavaScript, Java, PHP, etc. Standard JSON libraries work instantly.
Database Ready
Store results directly in your database, data warehouse, or analytics platform.
Workflow Integration
Automate actions based on results: flag suspicious submissions, notify instructors, generate reports.
Analytics & Dashboards
Build custom dashboards, track trends, and generate insights from historical data.
Stanford MOSS returns HTML: You'd need to scrape and parse HTML tables. With Codequiry, you get structured JSON instantly.
Trusted Worldwide
Join thousands of educators, developers, and organizations using Codequiry
Computer Science Dept
Top-50 University
"Switched from Stanford MOSS to Codequiry. The JSON API made bulk importing submissions easy. Web scanning caught cheaters copying from online sources."
Dev Lead
Coding Bootcamp
"The Hexagram technology catches obfuscated code that other tools miss. We process 500+ submissions daily and the unlimited plan is worth every penny."
Platform Engineer
Hackathon Organizer
"CI/CD integration via webhooks was seamless. Now every PR gets automatically checked. The AI detection feature is a game-changer."
Frequently Asked Questions
What's the pricing model?
Start free with daily checks included. For high-volume usage, upgrade to unlimited plans starting at $79/month. All tiers include web scanning, JSON results, and SDKs.
Is this Stanford's MOSS?
No. This is Codequiry's proprietary Hexagram Tokenization™ system — an independent alternative with modern technology, JSON API responses, and web-scale capabilities.
What languages are supported?
51+ languages including Python, Java, C/C++, JavaScript/TypeScript, Go, Rust, Swift, Kotlin, MATLAB, R, and more.
How does it compare to JPlag and DoloS?
Unlike offline tools, we include online source matching, production webhooks, robust diff UI, and unlimited scaling for better coverage and automation.
Can I use it in CI/CD or bulk import from LMS?
Yes. Use REST/SDKs in CI to verify PR originality or bulk import from LMS platforms. Webhooks notify you when results are ready.
Is student data private?
Yes. Data is encrypted in transit and at rest, and retention windows can be customized.
API in Minutes
Four simple steps: Create, upload, analyze, receive JSON results
Create a Check
Initialize your plagiarism check
curl -X POST https://codequiry.com/api/v1/check/create \
-H 'Accept: application/json' \
-H 'apikey: YOUR_API_KEY' \
-d '{
"name": "Assignment 1",
"language": 14
}'
Upload Submissions
One ZIP file per submission
curl -X POST https://codequiry.com/api/v1/check/upload \ -H 'apikey: YOUR_API_KEY' \ -H 'Content-Type: multipart/form-data' \ -F 'file=@/path/to/submission.zip' \ -F 'check_id=CHECK_ID'
Start Analysis
Enable web & database checking
curl -X POST 'https://codequiry.com/api/v1/check/start?check_id=CHECK_ID&dbcheck=1&webcheck=1' \ -H 'apikey: YOUR_API_KEY'
Get JSON Results
Poll for results or use webhooks
curl -X POST 'https://codequiry.com/api/v1/check/get?check_id=CHECK_ID' \ -H 'Accept: application/json' \ -H 'apikey: YOUR_API_KEY'
Use SDKs for Node.js, Python, PHP, or Java — see full documentation →
Complete API Documentation: Create Check • Upload • Start • Get Results
Start Free. Scale to Unlimited.
- ✓ Free tier with daily checks
- ✓ Web scanning and JSON results
- ✓ Use in research, classrooms, or CI/CD
- ✓ Unlimited plans from $79/month
- ✓ Production SLAs and rate limits
- ✓ Enterprise SSO and analytics
Ready to start?
No credit card required. Instant API key with free daily checks. Scale to unlimited plans as you grow.