V
VeriShield EDGE
Get API Key →
Verified by VeriShield SecOps • Updated 2026-11-13

Spring Boot 3 Service Email Verification Guide

Add real-time email verification and disposable-email blocking to Spring Boot 3 Service with the VeriShield Edge API. The snippet below gates a signup and returns the canonical email identity.

Language
Java 21
Ecosystem
Spring / Maven
Latency
< 85ms

Install

Shell
mvn install (spring-boot-starter-web)

Verification code

Java 21
@Service
public class VeriShieldService {
    private final RestClient client = RestClient.create();
    public boolean isAllowed(String email) {
        Map<String, Object> report = client.post()
            .uri("https://verishield-edge-api.p.rapidapi.com/v1/verify")
            .header("X-RapidAPI-Key", System.getenv("RAPIDAPI_KEY"))
            .body(Map.of("email", email))
            .retrieve()
            .body(Map.class);
        Map<String, Object> risk = (Map<String, Object>) report.get("fraud_risk");
        return !"BLOCK".equals(risk.get("recommendation"));
    }
}

What this protects against

Disposable and temporary inboxes, Gmail dot-trick and plus-alias multi-accounting, high-entropy bot usernames, and freshly registered fraud domains. The API returns a 0-100 fraud score with an ALLOW, CHALLENGE_2FA or BLOCK recommendation.

Related Domain Reports