{"name":"Agent Guard","discovery":["/openapi.json","/.well-known/x402","/llms.txt","/v1/capabilities"],"routes":[{"path":"/v1/address/format-check","method":"GET","summary":"Structural check of a crypto address","description":"Regex-only structural check: confirms 0x + 40 hex characters for EVM, or 32-44 char base58 for Solana. No checksum computed, no RPC call made. Use as a cheap pre-filter before the full checksum check at /v1/address/validate.","priceUsd":"0.001","amount":"1000"},{"path":"/v1/iban/format-check","method":"GET","summary":"Structural check of an IBAN","description":"Regex-only structural check: two-letter ISO 3166 country code, two check digits, 10-30 alphanumeric BBAN characters. Mod-97 check digits are NOT computed here. Use as a cheap pre-filter before the full check at /v1/iban/validate.","priceUsd":"0.001","amount":"1000"},{"path":"/v1/json/repair","method":"POST","summary":"Repair broken JSON","description":"Parses malformed JSON typically produced by LLM output: strips markdown code fences, removes trailing commas before ]/}, converts single-quoted strings and unquoted object keys to valid double-quoted JSON. Returns the parsed object plus a boolean flag indicating whether a fix was needed.","priceUsd":"0.002","amount":"2000"},{"path":"/v1/address/validate","method":"GET","summary":"Validate crypto address","description":"EIP-55 mixed-case checksum validation for 0x-prefixed 40-hex-character EVM addresses, or base58 charset/length validation for Solana addresses. Returns valid (boolean), chain (evm|solana), and checksumOk fields.","priceUsd":"0.003","amount":"3000"},{"path":"/v1/iban/validate","method":"GET","summary":"Validate IBAN","description":"Full ISO 13616 structural check plus ISO 7064 mod-97-10 check-digit verification (the same algorithm banks use). Returns valid (boolean), country code, and the normalized IBAN string.","priceUsd":"0.003","amount":"3000"},{"path":"/v1/pii/redact","method":"POST","summary":"Redact PII from text","description":"Detects and masks 5 PII categories in free text via regex: email addresses, phone numbers (8+ digits), card numbers (13-19 digits, Luhn-length), US SSN format (XXX-XX-XXXX), and 64-hex-char strings that match an EVM private key shape. Returns the redacted text plus a per-category match count.","priceUsd":"0.005","amount":"5000"},{"path":"/v1/scam/scan","method":"POST","summary":"Scam and phishing text scan","description":"Regex-heuristic scan for 7 known crypto-scam patterns: seed-phrase/recovery-phrase requests, gas-fee-in-advance scams, fake wallet-connect airdrop claims, urgency/pressure language, private-key exfiltration requests, unlimited-token-approval drainer patterns, and fake wallet-support impersonation. Returns a 0-1 score, a high/medium/low label, and the list of matched pattern names.","priceUsd":"0.005","amount":"5000"},{"path":"/v1/wallet/heuristic-flags","method":"POST","summary":"On-chain wallet heuristic flags (lightweight)","description":"Live JSON-RPC call to a public node — eth_getCode + eth_getTransactionCount on Base, or getSignaturesForAddress on Solana. Reports contract-vs-EOA, on-chain transaction count / recent signature count, and repeated-character vanity-address pattern detection. Lightweight pre-filter. For deeper scoring use /v1/wallet/risk-score.","priceUsd":"0.015","amount":"15000"},{"path":"/v1/wallet/risk-score","method":"POST","summary":"Deep on-chain wallet risk score","description":"Deep risk scoring for a wallet before your agent pays it. Base: contract vs EOA, tx count, ETH balance, USDC balance, vanity patterns, zero/low activity. Solana: recent signatures, SOL balance, USDC token accounts, activity flags. Returns riskScore (0-1), label (low|medium|high|critical), flags[], metrics, and recommendation (safe_to_pay|review|avoid). Designed for agents that need to decide whether to trust a counterparty wallet.","priceUsd":"0.025","amount":"25000"},{"path":"/v1/x402/endpoint-check","method":"POST","summary":"x402 counterparty endpoint reputation check","description":"Sends an unauthenticated GET to the given x402 resource URL and checks: does it return HTTP 402, does the accepts[] array include valid payTo/scheme/network/amount fields, is the price under 1.00 USDC, is maxTimeoutSeconds within a normal 5-3600s range, and does /.well-known/x402 exist at the origin. Returns a redFlags array and a 0-1 riskScore — useful before your own agent pays an unfamiliar x402 endpoint.","priceUsd":"0.02","amount":"20000"},{"path":"/v1/risk/full-scan","method":"POST","summary":"Combined risk report (bundle)","description":"One paid call runs any combination of: text (PII redact + scam scan), address+network (deep on-chain wallet risk score), iban (mod-97 validation), and resourceUrl (x402 endpoint reputation check) — whichever fields you include in the JSON body. Returns each sub-result plus one aggregated overallRiskScore/overallLabel. $0.04 total vs calling the tools separately.","priceUsd":"0.04","amount":"40000"}]}