Overview
The Vouch Node.js SDK enables server-side email validation with higher rate limits and no domain restrictions. Perfect for backend APIs, serverless functions, and batch processing.Package:
@vouch-in/node
Node Version: 18+ required
TypeScript: Full type definitions includedInstallation
Quick Start
Validate with Request Context
Pass IP and User-Agent for better fraud detection:Express.js Integration
Serverless Functions
AWS Lambda
Vercel
Cloudflare Workers
API Reference
Constructor
Your Vouch project ID
Your server API key
Optional configuration:
endpoint- API endpoint URL (default: “https://api.vouch.expert”)apiVersion- API version number or “latest” (default: “latest”)
validate()
Email address to validate
Optional request options:
ip- Client IP address for IP reputation checksuserAgent- Client user agentfingerprintHash- Device fingerprint hash from client SDK
Promise<ValidationResponse>
The
message field contains a human-friendly error message when the recommendation is flag or block (e.g. “Please use a permanent email address, not a temporary one.”). It is null when the recommendation is allow.Server vs Client Keys
TypeScript Support
Error Handling
Next Steps
Next.js SDK
Next.js integration
API Reference
Complete API docs