Welcome to the Vouch API
The Vouch API provides real-time email validation and fraud detection through a simple REST API. Built on Cloudflare Workers, our API delivers sub-second response times from 275+ global data centers.Base URL
Quick Example
API Versioning
Vouch supports both versioned and unversioned endpoints:- Latest (recommended):
/validate- Always uses the current stable version - Versioned:
/v1/validate- Locked to API version 1
Authentication
All API requests require authentication via API keys:Headers
Bearer token with your API key
Your project ID
API Key Types
Client Keys
For browser and mobile apps
- Restricted to allowed domains
- 1,000 requests/hour
- Safe to expose publicly
- Includes device fingerprinting
Server Keys
For backend services
- No domain restrictions
- 5,000 requests/hour
- Must be kept secret
- Can override IP/User-Agent
Rate Limiting
| Key Type | Limit | Window |
|---|---|---|
| Client Key | 1,000 requests | Per hour |
| Server Key | 5,000 requests | Per hour |
429 Too Many Requests response with a retryAfter header.
Quota Management
Each subscription includes a monthly validation quota. Monitor your usage via response headers:402 Payment Required response.
Endpoints
POST /validate
Validate an email address with fraud detection
Response Format
Validation Response
The/validate endpoint returns a structured response:
Error Response
Error responses return an error object with an HTTP status code:Error Codes
| Code | Status | Description |
|---|---|---|
INVALID_EMAIL | 400 | Email address is required or invalid format |
INVALID_REQUEST | 400 | Request body is malformed |
UNAUTHORIZED | 401 | Invalid or missing API key |
FORBIDDEN | 403 | API key doesn’t have access to project |
QUOTA_EXCEEDED | 402 | Monthly validation quota exceeded |
RATE_LIMITED | 429 | Too many requests |
INTERNAL_ERROR | 500 | Server error (contact support) |
Complete Error Reference
View all error codes and handling strategies
SDKs
We provide official SDKs for popular platforms:JavaScript
React
Node.js
Next.js
iOS
Android
Support
Need help with the API?Email Support
Dashboard
Manage your projects and API keys
Next Steps
Validate Endpoint
Learn about the main validation endpoint
Authentication Guide
Deep dive into API authentication
Error Handling
Handle errors gracefully
Quickstart
Get started in 5 minutes