Codequiry API
A Modern MOSS Alternative with JSON Results
Not affiliated with Stanford MOSS. This is Codequiry's proprietary Hexagram-powered alternative inspired by MOSS principles, delivering results in modern JSON format with enhanced capabilities.
Global access to Codequiry's production‑ready Hexagram Tokenization™ engine for code plagiarism checking — advanced semantic analysis, massive web coverage, and instant JSON results. Start with free daily checks, then upgrade to truly unlimited plans. Built to outperform Stanford MOSS, JPlag, and DoloS.
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. Start free with daily checks, then scale to unlimited plans. Developers, universities, and competition organizers use it to protect academic integrity, enforce originality, and automate review workflows.
Why Codequiry is better than Stanford MOSS, JPlag, and DoloS
- Hexagram Tokenization™: Proprietary 6-dimensional semantic analysis that understands code meaning, not just syntax.
- JSON API responses: Modern, structured data format for easy integration (Stanford MOSS uses HTML reports).
- Web‑scale matching: Search GitHub, Stack Overflow, forums, and billions of sources. Stanford MOSS is offline‑only.
- Advanced anti‑obfuscation: Resistant to renaming, formatting tricks, dead‑code and re‑ordering; finds structural intent.
- Flexible pricing: Free daily checks for getting started, unlimited plans for high-volume needs (Stanford MOSS has strict limits).
- Developer‑friendly: REST API, SDKs, and webhooks to integrate in CI/CD, LMS, or custom apps.
- 51+ languages: Auto‑detection and smart fallbacks for academic and industry stacks.
Who is it for?
- Universities and CS departments preventing academic code plagiarism
- Programming contest platforms verifying original submissions
- Engineering teams defending IP and reviewing outsourced code
- Bootcamps and MOOCs automating large‑scale similarity checks
- Security/research teams certifying code provenance
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 the Codequiry API Works
- Create a check: POST a check with metadata (name, language, options).
- Upload sources: Send one or many files via base64 or presigned URLs.
- Start analysis: Trigger Hexagram analysis with optional web matching.
- Receive JSON results: Poll or receive a webhook with similarity scores and match details in JSON format.
- Review diffs: Side‑by‑side visual diffs highlight exact and structural matches.
JSON Response Format: All results are returned as structured JSON data, making it easy to parse and integrate into your existing workflows. Unlike Stanford MOSS which returns HTML reports, our API provides machine-readable JSON.
// Node.js quickstart (uses real API endpoints) 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 }; // 1) Create check const created = await fetch(`${base}/check/create`, { method: 'POST', headers, body: JSON.stringify({ name: 'Assignment 1', language: 14 }) }).then(r => r.json()); const checkId = created.id; // 2) Upload ZIP(s) // Use curl (see below) or server-side multipart upload per docs // 3) Start analysis await fetch(`${base}/check/start?check_id=${checkId}&dbcheck=1&webcheck=1`, { method: 'POST', headers }); // 4) Get status/results const status = await fetch(`${base}/check/get?check_id=${checkId}`, { method: 'POST', headers }).then(r => r.json()); console.log(status.status, status.submission_count);
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 by Institutions 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 integration with our LMS trivial. Web scanning caught cheaters copying from online sources we never would have found before."
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 for spotting ChatGPT submissions."
Codequiry API — Frequently Asked Questions
What's the pricing model?
Start free with daily checks included. For high-volume usage, upgrade to our unlimited plans starting at $79/month. All tiers include web scanning, JSON results, and SDKs. Enterprise plans add SSO, advanced analytics, and dedicated SLAs.
Is this Stanford's MOSS?
No. This is Codequiry's proprietary Hexagram Tokenization™ system — an independent alternative inspired by MOSS principles but completely reengineered with modern technology, JSON API responses, and web-scale capabilities that Stanford MOSS doesn't have.
What languages are supported?
51+ languages including Python, Java, C/C++, JavaScript/TypeScript, Go, Rust, Swift, Kotlin, MATLAB, R, and more. Language auto‑detection is included.
How does it compare to JPlag and DoloS?
Unlike offline tools, we include online source matching, production webhooks, robust diff UI, and unlimited scaling. That means better coverage and easier automation.
Can I use it in CI/CD or LMS?
Yes. Use REST/SDKs in CI to verify PR originality or embed in LMS workflows. 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 a check, upload files, start analysis, get 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. Commercial usage allowed.
- Free tier: Daily checks with web scanning and JSON results
- Unlimited plans: No caps on checks, starting at $79/month
- Production SLAs and rate limits sized for scale
- Use in research, classrooms, contests, CI, or apps
- Enterprise add-ons: SSO, advanced analytics, dedicated support
Start Checking in Under 2 Minutes
No credit card required to start. Instant API key with free daily checks. Scale to unlimited plans as you grow.