Email Validate API

Validate email addresses with syntax checking, MX record verification, and deliverability analysis. Know if an email is real before you send.

GET https://pylon-email-validate-api.fly.dev/validate

Endpoint

Base URL:

https://pylon-email-validate-api.fly.dev

Parameters

ParameterTypeRequiredDescription
emailstringYesEmail address to validate

Response

Returns JSON validation result (200 OK).

{
  "email": "test@example.com",
  "valid_syntax": true,
  "mx_found": true,
  "deliverable": true,
  "disposable": false,
  "score": 0.95
}
StatusDescription
200Validation result returned as JSON
402Payment required — x402 challenge returned
400Missing or invalid email parameter

Pricing

$0.01 USDC per request — paid via x402 on Base Sepolia. No API key. No subscription. Pay per call.

Code Examples

curl "https://pylon-email-validate-api.fly.dev/validate?email=test@example.com"

x402 Setup

To use Pylon APIs, you need an x402-compatible client with a funded wallet on Base Sepolia. Here's the quick setup:

  1. Get a wallet with USDC on Base Sepolia (testnet)
  2. Install an x402 client library (x402.org Status Terms Privacy for options)
  3. Configure it with your private key
  4. Make requests — the client handles the 402 payment flow automatically

The x402 flow: your first request returns 402 Payment Required with payment details in headers. The x402 client signs a USDC payment, then retries with payment proof attached. All automatic, all in milliseconds.