🛡️ ShieldAPI — Security Intelligence for AI Agents
ShieldAPI is a pay-per-request Security Intelligence Service built on the x402 protocol (HTTP 402 Payment Required). It lets any AI agent perform comprehensive security checks — without accounts, API keys, or subscriptions. Just call, pay, get results.
Payments are settled in USDC on Base Sepolia. All endpoints support free demo mode.
Base URL: https://shield.vainplex.dev/api
Health/Discovery: GET /api/health (free, lists all endpoints + prices)
Endpoints
1. check-password — Password Breach Check
Checks a full SHA1 hash against 900M+ leaked passwords (HIBP Pwned Passwords).
- Cost: 0.001 USDC
- Request:
GET /api/check-password?hash=<40-char-sha1>
- Returns:
{ found: true/false, count: 3861493 }
2. check-password-range — k-Anonymity Range Lookup
Returns all matching hash suffixes for a 5-char prefix (privacy-preserving).
- Cost: 0.001 USDC
- Request:
GET /api/check-password-range?prefix=<5-char-sha1-prefix>
- Returns:
{ prefix, total_matches, results: [{ suffix, count }] }
3. check-domain — Domain Reputation
Checks DNS records, SPF/DMARC, SSL certificate, and queries Spamhaus/SpamCop/SORBS blacklists.
- Cost: 0.003 USDC
- Request:
GET /api/check-domain?domain=<domain>
- Returns:
{ domain, dns, blacklists, ssl, risk_score, risk_level }
4. check-ip — IP Reputation
Checks IPv4 against 4 blacklists, detects Tor exit nodes, resolves reverse DNS.
- Cost: 0.002 USDC
- Request:
GET /api/check-ip?ip=<ipv4>
- Returns:
{ ip, blacklists, is_tor_exit, reverse_dns, risk_score, risk_level }
5. check-email — Email Breach Exposure
Checks which data breaches affected the email's domain. Returns breach details, exposed data types, and risk recommendations.
- Cost: 0.005 USDC
- Request:
GET /api/check-email?email=<email>
- Returns:
{ breaches: [...], domain_breach_count, risk_score, risk_level, recommendations }
- Example:
test@linkedin.com → 3 breaches (2012: 164M accounts, 2021 scrape: 125M, 2023 scrape: 19M)
6. check-url — URL Safety & Phishing Detection
Checks URL against URLhaus malware database, runs heuristic analysis (brand impersonation, suspicious TLDs, redirect chains), and probes HTTP.
- Cost: 0.003 USDC
- Request:
GET /api/check-url?url=<url>
- Returns:
{ url, checks: { urlhaus, heuristics, http }, threats, risk_score, risk_level }
- Detects: Malware distribution, brand impersonation (PayPal, Google, etc.), suspicious TLDs (.tk, .ml), excessive subdomains, login path keywords
7. full-scan — Combined Security Scan
Runs all applicable checks in parallel. Pass any combination of inputs.
- Cost: 0.01 USDC
- Request:
GET /api/full-scan?email=<email>&password_hash=<sha1>&domain=<domain>&ip=<ip>&url=<url>
- Returns: Combined results with overall risk score and human-readable summary
- Example:
?email=test@linkedin.com&password_hash=5BAA61... → "⚠️ Password found in 52M breaches, ⚠️ Domain affected by 3 breaches"
Demo Mode
All 7 endpoints support ?demo=true — returns realistic fake data, no payment required. Perfect for testing your integration before going live.
# Try it now:
curl -s "https://shield.vainplex.dev/api/check-url?demo=true"
curl -s "https://shield.vainplex.dev/api/full-scan?demo=true"
curl -s "https://shield.vainplex.dev/api/check-email?demo=true"
x402 Payment Flow
When you call any paid endpoint without payment, ShieldAPI returns HTTP 402 with machine-readable payment instructions:
{
"x402Version": 1,
"error": "X-PAYMENT header is required",
"accepts": [{
"scheme": "exact",
"network": "base-sepolia",
"maxAmountRequired": "3000",
"asset": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
"payTo": "0x...",
"resource": "https://shield.vainplex.dev/api/check-domain?domain=example.com",
"description": "Domain reputation & security check"
}]
}
An x402-enabled client (using @coinbase/x402, @x402/core, or any x402 library) will:
- Read the 402 response
- Sign a USDC payment on Base Sepolia
- Retry with
X-PAYMENT header
- Receive the security check results
Use Cases
- Password rotation agents — Check if proposed passwords are in breach databases before setting them
- Email onboarding — Verify new user emails aren't from heavily breached domains
- URL safety gates — Screen links before agents click or users visit them
- IP allowlisting — Verify IPs aren't Tor exits, proxies, or blacklisted
- Security audits — Full-scan an organization's domain, IPs, and common passwords in one call
Source & Links
1---
2name: shieldapi
3description: "ShieldAPI — x402 Security Intelligence for AI Agents. 7 endpoints: password breach check (900M+ HIBP hashes), email breach lookup, domain reputation (DNS/blacklists/SSL/SPF/DMARC), IP reputation (Tor/blacklists), URL safety (phishing/malware/brand impersonation), and full security scan. Pay-per-request with USDC micropayments ($0.001-$0.01). No account, no API key, no subscription. Demo mode on all endpoints."
4metadata:
5 source: https://skillmd.com/skills/modbender/shieldapi
6 openclaw:
7 requires:
8 bins:
9 - curl
10---
11
12# 🛡️ ShieldAPI — Security Intelligence for AI Agents
13
14ShieldAPI is a pay-per-request Security Intelligence Service built on the **x402** protocol (HTTP 402 Payment Required). It lets any AI agent perform comprehensive security checks — without accounts, API keys, or subscriptions. Just call, pay, get results.
15
16Payments are settled in USDC on Base Sepolia. All endpoints support free demo mode.
17
18**Base URL:** `https://shield.vainplex.dev/api`
19
20**Health/Discovery:** `GET /api/health` (free, lists all endpoints + prices)
21
22---
23
24## Endpoints
25
26### 1. `check-password` — Password Breach Check
27Checks a full SHA1 hash against 900M+ leaked passwords (HIBP Pwned Passwords).
28- **Cost:** 0.001 USDC
29- **Request:** `GET /api/check-password?hash=<40-char-sha1>`
30- **Returns:** `{ found: true/false, count: 3861493 }`
31
32### 2. `check-password-range` — k-Anonymity Range Lookup
33Returns all matching hash suffixes for a 5-char prefix (privacy-preserving).
34- **Cost:** 0.001 USDC
35- **Request:** `GET /api/check-password-range?prefix=<5-char-sha1-prefix>`
36- **Returns:** `{ prefix, total_matches, results: [{ suffix, count }] }`
37
38### 3. `check-domain` — Domain Reputation
39Checks DNS records, SPF/DMARC, SSL certificate, and queries Spamhaus/SpamCop/SORBS blacklists.
40- **Cost:** 0.003 USDC
41- **Request:** `GET /api/check-domain?domain=<domain>`
42- **Returns:** `{ domain, dns, blacklists, ssl, risk_score, risk_level }`
43
44### 4. `check-ip` — IP Reputation
45Checks IPv4 against 4 blacklists, detects Tor exit nodes, resolves reverse DNS.
46- **Cost:** 0.002 USDC
47- **Request:** `GET /api/check-ip?ip=<ipv4>`
48- **Returns:** `{ ip, blacklists, is_tor_exit, reverse_dns, risk_score, risk_level }`
49
50### 5. `check-email` — Email Breach Exposure
51Checks which data breaches affected the email's domain. Returns breach details, exposed data types, and risk recommendations.
52- **Cost:** 0.005 USDC
53- **Request:** `GET /api/check-email?email=<email>`
54- **Returns:** `{ breaches: [...], domain_breach_count, risk_score, risk_level, recommendations }`
55- **Example:** `test@linkedin.com` → 3 breaches (2012: 164M accounts, 2021 scrape: 125M, 2023 scrape: 19M)
56
57### 6. `check-url` — URL Safety & Phishing Detection
58Checks URL against URLhaus malware database, runs heuristic analysis (brand impersonation, suspicious TLDs, redirect chains), and probes HTTP.
59- **Cost:** 0.003 USDC
60- **Request:** `GET /api/check-url?url=<url>`
61- **Returns:** `{ url, checks: { urlhaus, heuristics, http }, threats, risk_score, risk_level }`
62- **Detects:** Malware distribution, brand impersonation (PayPal, Google, etc.), suspicious TLDs (.tk, .ml), excessive subdomains, login path keywords
63
64### 7. `full-scan` — Combined Security Scan
65Runs all applicable checks in parallel. Pass any combination of inputs.
66- **Cost:** 0.01 USDC
67- **Request:** `GET /api/full-scan?email=<email>&password_hash=<sha1>&domain=<domain>&ip=<ip>&url=<url>`
68- **Returns:** Combined results with overall risk score and human-readable summary
69- **Example:** `?email=test@linkedin.com&password_hash=5BAA61...` → "⚠️ Password found in 52M breaches, ⚠️ Domain affected by 3 breaches"
70
71---
72
73## Demo Mode
74
75All 7 endpoints support `?demo=true` — returns realistic fake data, no payment required. Perfect for testing your integration before going live.
76
77```bash
78# Try it now:
79curl -s "https://shield.vainplex.dev/api/check-url?demo=true"
80curl -s "https://shield.vainplex.dev/api/full-scan?demo=true"
81curl -s "https://shield.vainplex.dev/api/check-email?demo=true"
82```
83
84---
85
86## x402 Payment Flow
87
88When you call any paid endpoint without payment, ShieldAPI returns `HTTP 402` with machine-readable payment instructions:
89
90```json
91{
92 "x402Version": 1,
93 "error": "X-PAYMENT header is required",
94 "accepts": [{
95 "scheme": "exact",
96 "network": "base-sepolia",
97 "maxAmountRequired": "3000",
98 "asset": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
99 "payTo": "0x...",
100 "resource": "https://shield.vainplex.dev/api/check-domain?domain=example.com",
101 "description": "Domain reputation & security check"
102 }]
103}
104```
105
106An x402-enabled client (using `@coinbase/x402`, `@x402/core`, or any x402 library) will:
1071. Read the 402 response
1082. Sign a USDC payment on Base Sepolia
1093. Retry with `X-PAYMENT` header
1104. Receive the security check results
111
112---
113
114## Use Cases
115
116- **Password rotation agents** — Check if proposed passwords are in breach databases before setting them
117- **Email onboarding** — Verify new user emails aren't from heavily breached domains
118- **URL safety gates** — Screen links before agents click or users visit them
119- **IP allowlisting** — Verify IPs aren't Tor exits, proxies, or blacklisted
120- **Security audits** — Full-scan an organization's domain, IPs, and common passwords in one call
121
122---
123
124## Source & Links
125
126- **Live API:** https://shield.vainplex.dev/api/health
127- **Source:** https://github.com/alberthild/shieldapi *(coming soon)*
128- **Protocol:** https://x402.org
129- **Data:** HIBP (CC-BY), PhishTank, URLhaus (abuse.ch), Spamhaus