Developer API

Code Plagiarism
Detection API

Build plagiarism detection into your apps. Check code against 20+ billion sources.

const response = await fetch('https://codequiry.com/api/v1/check', { method: 'POST', headers: { 'apikey': 'YOUR_API_KEY' }, body: formData }); // Check created!
LANGUAGES API

Get Supported Languages

Retrieve the complete list of programming languages supported by Codequiry for plagiarism detection, including language IDs and file extensions.

API Endpoint

GET/POST https://codequiry.com/api/v1/languages
No Parameters Required: This endpoint only requires your API key in the header. No request body or query parameters needed.

Authentication

Include your API key in the request header:

apikey: YOUR_API_KEY_HERE

Success Response

HTTP Status: 200 OK

{
    "success": true,
    "count": 65,
    "languages": [
        {
            "id": 13,
            "language": "Java",
            "extensions": ".java"
        },
        {
            "id": 14,
            "language": "Python",
            "extensions": ".py"
        },
        {
            "id": 39,
            "language": "JavaScript",
            "extensions": ".js, .jsx"
        },
        {
            "id": 55,
            "language": "TypeScript",
            "extensions": ".ts, .tsx"
        },
        {
            "id": 17,
            "language": "C++",
            "extensions": ".cpp, .hpp, .cc"
        },
        {
            "id": 18,
            "language": "C#",
            "extensions": ".cs"
        },
        {
            "id": 16,
            "language": "C",
            "extensions": ".c, .h"
        },
        {
            "id": 30,
            "language": "Go",
            "extensions": ".go"
        }
    ]
}
        
JSON Response
Response Fields
  • success — Boolean indicating the request was successful
  • count — Total number of supported languages
  • languages — Array of language objects
  • languages[].id — Unique language identifier to use in create check and update check endpoints
  • languages[].language — Human-readable language name
  • languages[].extensions — Accepted file extensions for this language

Error Responses

401 Unauthorized

Invalid or missing API key. Verify your API key is correct and included in the apikey header.

429 Too Many Requests

Rate limit exceeded. Wait a moment and retry the request.

Code Examples

cURL
curl -X GET "https://codequiry.com/api/v1/languages" \
  -H "apikey: YOUR_API_KEY_HERE"
        
cURL
JavaScript
const response = await fetch('https://codequiry.com/api/v1/languages', {
    headers: { 'apikey': 'YOUR_API_KEY_HERE' }
});

const data = await response.json();

if (data.success) {
    console.log(`Supported languages: ${data.count}`);
    data.languages.forEach(lang => {
        console.log(`${lang.language} (ID: ${lang.id}) - ${lang.extensions}`);
    });
}
        
JavaScript
Python
import requests

response = requests.get(
    'https://codequiry.com/api/v1/languages',
    headers={'apikey': 'YOUR_API_KEY_HERE'}
)

data = response.json()
if data['success']:
    print(f"Supported languages: {data['count']}")
    for lang in data['languages']:
        print(f"  {lang['language']} (ID: {lang['id']}) - {lang['extensions']}")
        
Python

Best Practices

Cache the Response: The language list changes infrequently. Cache this response locally and refresh it periodically (e.g., once per day) to reduce API calls.
Language Selection: Use the id field when creating checks. The language ID determines which parser and syntax rules are used for plagiarism detection.