{"openapi": "3.1.0", "info": {"title": "Emailyze API", "version": "1.0.0", "description": "Disposable and risky email detection API. Returns risk score, provider type, MX validity, and 16 signals per email. Supports both API-key and x402 (pay-per-request, no account needed) access.", "contact": {"url": "https://emailyze.xyz"}, "license": {"name": "Proprietary"}, "x-payment-info": {"protocol": "x402", "version": 2, "description": "Pay $0.001 USDC per check \u2014 no API key or account required.", "discovery": "https://api.emailyze.xyz/.well-known/x402.json", "networks": [{"id": "eip155:84532", "name": "Base Sepolia", "type": "testnet", "status": "live"}, {"id": "eip155:8453", "name": "Base", "type": "mainnet", "status": "coming-soon"}], "price": "$0.001", "asset": "USDC", "endpoint": "https://api.emailyze.xyz/v1/x402/check/"}}, "servers": [{"url": "https://api.emailyze.xyz", "description": "Production"}], "security": [{"ApiKeyHeader": []}, {"ApiKeyQuery": []}], "paths": {"/v1/check/": {"get": {"operationId": "check_email", "summary": "Check a single email or domain", "description": "Returns risk score and classification signals for an email address or domain.", "tags": ["Email Check"], "parameters": [{"name": "email", "in": "query", "required": true, "schema": {"type": "string"}, "description": "Email address (user@example.com) or bare domain (example.com)"}, {"name": "verify", "in": "query", "required": false, "schema": {"type": "boolean", "default": false}, "description": "Run SMTP deliverability probes (slower, ~1-3s extra)"}], "responses": {"200": {"description": "Check result", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/CheckResult"}}}}, "400": {"description": "Missing or invalid email parameter"}, "401": {"description": "Invalid or missing API key"}, "429": {"description": "Rate limit exceeded"}}}}, "/v1/check/batch/": {"post": {"operationId": "check_batch", "summary": "Batch check up to 1000 emails", "tags": ["Email Check"], "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "required": ["emails"], "properties": {"emails": {"type": "array", "items": {"type": "string"}, "maxItems": 1000, "description": "List of email addresses to check"}, "verify": {"type": "boolean", "default": false, "description": "Run SMTP probes for each email"}}}}}}, "responses": {"200": {"description": "Array of check results", "content": {"application/json": {"schema": {"type": "array", "items": {"$ref": "#/components/schemas/CheckResult"}}}}}, "400": {"description": "Invalid request body"}, "401": {"description": "Invalid or missing API key"}}}}, "/v1/x402/check/": {"get": {"operationId": "check_email_x402", "summary": "Check email via x402 (no API key \u2014 pay per request)", "description": "Same response as /v1/check/ but gated by HTTP 402 payment. Send request \u2192 receive 402 + PAYMENT-REQUIRED header \u2192 sign payment \u2192 resend with PAYMENT-SIGNATURE header \u2192 receive 200 result. Costs $0.001 USDC on Base mainnet or Base Sepolia testnet.", "tags": ["x402 / Agent"], "security": [], "parameters": [{"name": "email", "in": "query", "required": true, "schema": {"type": "string"}}, {"name": "verify", "in": "query", "required": false, "schema": {"type": "boolean", "default": false}}], "responses": {"200": {"description": "Payment accepted \u2014 check result", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/CheckResult"}}}}, "402": {"description": "Payment required", "headers": {"PAYMENT-REQUIRED": {"schema": {"type": "string"}, "description": "Base64-encoded payment requirements (x402 v2)"}}}}}}, "/v1/download/": {"get": {"operationId": "download_snapshot", "summary": "Download gzipped JSONL domain list", "description": "Full snapshot of classified domains for on-premise use.", "tags": ["Bulk"], "parameters": [{"name": "key", "in": "query", "required": true, "schema": {"type": "string"}}], "responses": {"200": {"description": "Gzipped JSONL file", "content": {"application/gzip": {}}}}}}, "/.well-known/x402.json": {"get": {"operationId": "x402_discovery", "summary": "x402 discovery manifest", "description": "Machine-readable list of x402-protected resources. Indexed by agent frameworks.", "tags": ["x402 / Agent"], "security": [], "responses": {"200": {"description": "Discovery manifest JSON"}}}}, "/llms.txt": {"get": {"operationId": "llms_txt", "summary": "Plain-text API description for LLMs", "description": "Human and machine-readable description of all endpoints and capabilities.", "tags": ["x402 / Agent"], "security": [], "responses": {"200": {"description": "Plain text", "content": {"text/plain": {}}}}}}}, "components": {"securitySchemes": {"ApiKeyHeader": {"type": "apiKey", "in": "header", "name": "X-API-Key"}, "ApiKeyQuery": {"type": "apiKey", "in": "query", "name": "key"}}, "schemas": {"CheckResult": {"type": "object", "properties": {"email": {"type": "string"}, "domain": {"type": "string"}, "is_disposable": {"type": "boolean"}, "risk_score": {"type": "integer", "minimum": 0, "maximum": 100}, "provider_type": {"type": "string", "enum": ["disposable", "personal", "masked", "unknown"]}, "mx_valid": {"type": "boolean"}, "mx_provider": {"type": ["string", "null"]}, "catch_all": {"type": ["boolean", "null"]}, "local_part_type": {"type": ["string", "null"]}, "sources": {"type": "array", "items": {"type": "string"}}, "first_seen": {"type": ["string", "null"], "format": "date-time"}, "last_seen": {"type": ["string", "null"], "format": "date-time"}, "latency_ms": {"type": "integer"}, "recommendation": {"type": ["string", "null"], "enum": ["allow", "review", "block", null], "description": "null when the input could not be parsed as an email/domain (see `reasons`)."}, "reasons": {"type": "array", "items": {"type": "string"}}, "masked_provider": {"type": ["string", "null"]}, "syntax": {"type": ["object", "null"], "properties": {"is_valid_syntax": {"type": "boolean"}, "domain": {"type": ["string", "null"]}, "username": {"type": ["string", "null"]}, "suggestion": {"type": ["string", "null"]}}}}}}}, "tags": [{"name": "Email Check", "description": "Single and batch email/domain checks"}, {"name": "Bulk", "description": "Download full domain snapshot"}, {"name": "x402 / Agent", "description": "Agent-native endpoints \u2014 pay per request via HTTP 402, no account required"}]}