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

Remix Action Email Verification Guide

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

Language
TypeScript
Ecosystem
React Router / Remix
Latency
< 85ms

Install

Shell
npx create-remix@latest

Verification code

TypeScript
import { json } from '@remix-run/node';

export async function action({ request }: { request: Request }) {
  const form = await request.formData();
  const email = String(form.get('email'));
  const res = await fetch('https://verishield-edge-api.p.rapidapi.com/v1/verify', {
    method: 'POST',
    headers: { 'Content-Type': 'application/json', 'X-RapidAPI-Key': process.env.RAPIDAPI_KEY! },
    body: JSON.stringify({ email })
  });
  const report = await res.json();
  if (report.fraud_risk.recommendation === 'BLOCK') return json({ error: 'Blocked' }, { status: 403 });
  return json({ canonicalEmail: report.canonical_email });
}

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