Developer API

Code Plagiarism Detection API

Build plagiarism detection into your applications with our powerful REST API. Detect copied code across 20+ billion sources with industry-leading accuracy.

99.7%
Accuracy
51+
Languages
20B+
Sources
5
SDKs

API Playground

Not Connected

Connect your API key to test endpoints in real-time

Authentication & Your First API Request

Learn how to authenticate with the Codequiry API and make your first successful request. All API requests require proper authentication using your API key.

Base API Endpoint

🔐 Authentication Overview

The Codequiry API uses API key authentication. You must include your API key in the apikey header with every request. This ensures secure access to your account and maintains proper usage tracking.

Note: Keep your API key secure and never expose it in client-side code. Treat it like a password.
Required Headers
  • apikey: YOUR_API_KEY - Your authentication token
  • Accept: application/json - Specify response format
  • Content-Type: application/json - For POST/PUT requests with JSON data

🚀 Test Authentication: Get Account Information

The /account endpoint is perfect for testing your authentication setup. It returns your account details and current usage statistics without consuming any API credits.

Endpoint
Request Example
		curl -X POST \
  https://codequiry.com/api/v1/account \
  -H 'Accept: application/json' \
  -H 'apikey:  YOUR_API_KEY_HERE '
		
cURL Command
Request Parameters

This endpoint requires no additional parameters - just your API key for authentication.

Expected Response
		{
    "user": "John Developer",
    "email": "[email protected]",
    "peer_checks_remaining": "unlimited",
    "pro_checks_remaining": 187,
    "submissions": 1318
}
		
JSON Response
Response Fields Explained
  • user: Your account display name
  • email: Your registered email address
  • peer_checks_remaining: Available peer review checks (can be "unlimited")
  • pro_checks_remaining: Available professional checks remaining
  • submissions: Total number of submissions processed on your account
Connect your API key in your account settings to test requests directly from this documentation.

⚠️ Common Authentication Errors

401 Unauthorized

Missing or invalid API key

Check that your API key is correct and included in the 'apikey' header
429 Rate Limited

Too many requests

Wait a moment before retrying. Check our rate limits in the pricing section

✅ What's Next?

Now that you've successfully authenticated, you're ready to start using the full Codequiry API. Here's the recommended learning path:

View Your Checks

Learn how to retrieve your existing plagiarism checks and their status.

Go to Checks Guide
Create New Check

Start a new plagiarism detection check with your source code files.

Create Check Guide