🔌 API Reference

API Reference

Complete documentation for integrating API Checkers validation into your applications

Base URL

https://apicheckers.com/api

Authentication

No authentication required

Rate Limit

100 requests per minute

API Endpoints

POST/api/validate

Validate an API key for a specific platform

Parameters

NameTypeRequiredDescription
platformstringRequiredAI platform name (e.g., 'openai', 'anthropic')
apiKeystringRequiredThe API key to validate

Response

Success (200)

{
  "valid": true,
  "platform": "openai",
  "message": "API key is valid",
  "timestamp": "2025-11-11T10:30:00Z"
}

Error (400/401)

{
  "valid": false,
  "platform": "openai",
  "error": "Invalid API key",
  "timestamp": "2025-11-11T10:30:00Z"
}
GET/api/platforms

Get list of supported platforms

Response

Success (200)

{
  "platforms": [
    {
      "id": "openai",
      "name": "OpenAI",
      "keyFormat": "sk-..."
    },
    {
      "id": "anthropic",
      "name": "Anthropic",
      "keyFormat": "sk-ant-..."
    },
    {
      "id": "google",
      "name": "Google AI",
      "keyFormat": "AIza..."
    }
  ]
}
GET/api/health

Check API service health status

Response

Success (200)

{
  "status": "healthy",
  "uptime": "99.9%",
  "timestamp": "2025-11-11T10:30:00Z"
}

Code Examples

cURL

curl -X POST https://apicheckers.com/api/validate \
  -H "Content-Type: application/json" \
  -d '{
    "platform": "openai",
    "apiKey": "sk-your-api-key-here"
  }'

JavaScript

fetch('https://apicheckers.com/api/validate', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    platform: 'openai',
    apiKey: 'sk-your-api-key-here'
  })
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));

Python

import requests

url = "https://apicheckers.com/api/validate"
payload = {
    "platform": "openai",
    "apiKey": "sk-your-api-key-here"
}

response = requests.post(url, json=payload)
data = response.json()
print(data)

Error Codes

CodeDescription
200Success - API key is valid
400Bad Request - Invalid parameters
401Unauthorized - Invalid API key
429Too Many Requests - Rate limit exceeded
500Internal Server Error

Need Help?

Check out our documentation or contact support for assistance