Authentication
ValidationCore.dev uses API keys for authentication with our two-tier system: Test environment for risk-free development and Production environment with pay-as-you-scale pricing.
🔑 API Key Format
All API keys follow a standardized format for easy identification and security:
Format: adb_[environment]_[random_string] Examples: adb_test_a1b2c3d4e5f6g7h8i9j0 # Test Environment # Test Environment adb_prod_x9y8z7w6v5u4t3s2r1q0 # Production Environment # Production Environment
Security Note: API keys are case-sensitive and must be kept secure. Never expose them in client-side code or public repositories.
🛡️ Making Authenticated Requests
Include your API key in the Authorization header using Bearer token authentication:
Authorization: Bearer adb_test_your_api_key_here
Complete cURL Example
curl -X POST https://api.validationcore.dev/api/v2/validate/product \ -H "Authorization: Bearer adb_test_your_api_key_here" \ -H "Content-Type: application/json" \ -d '{"products": [{"title": "Sample Product", "price": "99.99 USD"}]}'
⚡ Two-Tier Environment System
ValidationCore.dev provides Test and Production environments with different capabilities and pricing:
Volume-Based Pricing:
⏰ Rate Limiting
All API requests include rate limiting headers to help you manage your usage:
HTTP Response Headers: undefined undefined undefined undefined undefined
Rate Limit Exceeded
When rate limits are exceeded, you'll receive a 429 Too Many Requests response. Implement exponential backoff in your applications.
Example Rate Limit Response
undefined X-RateLimit-Limit: 50 X-RateLimit-Remaining: 0 X-RateLimit-Reset: 1640995320 Retry-After: 60 undefined
Authentication Errors
Common authentication errors and how to resolve them:
Unauthorized
Missing or invalid API key
Forbidden
API key doesn't have access to this endpoint
Too Many Requests
Rate limit exceeded for your tier