Get Your API Credentials
1
Sign up for Vouch
Create a free account at vouch.expert
2
Create a project
Projects help you organize different applications and environments
3
Get your API keys
Each project comes with 4 API keys:
- Client Test - For development in the browser
- Client Live - For production in the browser
- Server Test - For development on the server
- Server Live - For production on the server
Installation
Choose your platform:- JavaScript/React
- Node.js
- Next.js
- iOS
- Android
Basic Usage
- JavaScript
- React
- Node.js
- Next.js (Server)
- iOS
- Android
Understanding the Response
Every validation returns a result with:Key Fields
success- Whether the validation completed successfullydata.checks- Individual validation results (syntax, disposable, mx, smtp, etc.)data.deviceData- Device fingerprint informationdata.ipData- IP reputation datadata.signals- Array of signal identifiers detected
Handling Results
Check individual validations based on your requirements:Individual Signals
Each validation check returns:valid- Whether the check passedaction- The configured action for this check type
Client vs Server Keys
Client Keys
Use in browsers/mobile apps
- Restricted to allowed domains
- Lower rate limits (1,000/hour)
- Safe to expose publicly
- Includes device fingerprinting
Server Keys
Use on your backend
- No domain restrictions
- Higher rate limits (5,000/hour)
- Must be kept secret
- Can override IP/User-Agent
Test vs Live Keys
Each environment has separate keys:- Test keys - Use during development, doesn’t count against quota
- Live keys - Use in production, counts against your subscription