Developer Documentation
API endpoints and CLI tool for S-Address validation
API Endpoints
Authentication
All API endpoints require an API key in the Authorization header:
Authorization: Bearer YOUR_API_KEY
POST /api/lint
Validate a CSV file and return findings as JSON.
Request
curl -X POST http://localhost:3000/api/lint \ -H "Authorization: Bearer sk_test_123" \ -F "file=@test.csv
POST /api/fix
Fix a CSV file and return the corrected version as a downloadable file.
Request
curl -X POST http://localhost:3000/api/fix \ -H "Authorization: Bearer sk_test_123" \ -F "file=@test.csv \ -o test.corrected.csv
CLI Tool
Commands
saddr lint <file.csv>
Check a CSV file and print findings as JSON to stdout.
saddr lint test.csv
saddr fix <file.csv>
Fix a CSV file and save as <file>.corrected.csv.
saddr fix invoices.csv
Need Help?
For API keys, technical support, or feature requests, please contact our support team.
Get API Access →