Validate API changelog: disposable-email detection and postal-code validation

작성자

카테고리:

← 피드로
DEV Community · Jonas Hämmerle · 2026-07-09 개발(SW)

Jonas Hämmerle

We just shipped two new endpoints on Validate, the validation/utility API — both format-only checks, no external services called, same pattern as the existing IBAN/VAT checksum endpoints.

POST /v1/validate/disposable-email

Flags throwaway/temp-mail addresses — Mailinator, Guerrilla Mail, 10-minute-mail, YOPmail, and 80+ other known providers, including their subdomains (so abc.mailinator.com still gets caught). Real email providers (Gmail, Outlook, your own domain, etc.) are never flagged.

curl -X POST "https://validate7.p.rapidapi.com/v1/validate/disposable-email"   -H "X-RapidAPI-Key: <your-key>"   -H "X-RapidAPI-Host: validate7.p.rapidapi.com"   -H "Content-Type: application/json"   -d '{"email": "[email protected]"}'
# => {"syntaxValid":true,"domain":"mailinator.com","disposable":true,"errors":[]}

Enter fullscreen mode Exit fullscreen mode

Useful paired with the existing /v1/validate/email endpoint (syntax + MX check) to reject fake signups without blocking real users.

POST /v1/validate/postal-code

Format validation for 50+ countries — US, CA, GB, DE, FR, and most of the EU/APAC/LatAm. Same idea as the IBAN mod-97 checksum: structure-only, no claim that the code is currently assigned by the postal service.

curl -X POST "https://validate7.p.rapidapi.com/v1/validate/postal-code"   -H "X-RapidAPI-Key: <your-key>"   -H "X-RapidAPI-Host: validate7.p.rapidapi.com"   -H "Content-Type: application/json"   -d '{"countryCode": "US", "postalCode": "94103"}'
# => {"valid":true,"countryCode":"US","postalCode":"94103","supported":true,"errors":[]}

Enter fullscreen mode Exit fullscreen mode

There’s also GET /v1/validate/postal-code/countries if you need the full list of supported country codes.

Both are live now on the same free tier as everything else. If there’s a specific validation check you keep re-implementing that isn’t covered yet, I’d genuinely like to hear about it — that’s exactly how these two got picked.

원문에서 계속 ↗

코멘트

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다