{"uid":"cap_6MiLygycqlHN2M4hbWFFI","slug":"defi-shield-hazel-vercel-app-d207868f","name":"DeFi Shield PII Scanner","description":"","url":"https://defi-shield-hazel.vercel.app/api/safety/pii-scan","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","bodyType","body","method"],"properties":{"body":{"properties":{"text":{"type":"string","description":"Text to scan for PII and sensitive data"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":{"request":{"text":"Please scan this text for potential sensitive information. Contact: alice.johnson@example.com, Employee ID: 12345, Session token: abc123xyz789, Credit card: 4532015112830366, SSN: 123-45-6789, Crypto wallet: 0xAbCdEf1234567890AbCdEf1234567890AbCdEf12, API key: sk-proj-test1234567890abcdefghij"},"response":{"findings":[{"type":"email","match":"alic****.com","position":68,"sensitivity_level":"high"},{"type":"credit_card","match":"4532****0366","details":"Card network: visa","position":157,"sensitivity_level":"critical"},{"type":"ssn","match":"123-****6789","position":180,"sensitivity_level":"critical"},{"type":"ethereum_address","match":"0xAb****Ef12","position":208,"sensitivity_level":"medium"}],"analyzed_at":"2026-06-13T04:22:02.467Z","sensitivity":"critical","text_length":293,"pii_detected":true,"total_findings":4,"response_time_ms":2}},"exampleRequest":{"text":"Please scan this text for potential sensitive information. Contact: alice.johnson@example.com, Employee ID: 12345, Session token: abc123xyz789, Credit card: 4532015112830366, SSN: 123-45-6789, Crypto wallet: 0xAbCdEf1234567890AbCdEf1234567890AbCdEf12, API key: sk-proj-test1234567890abcdefghij"},"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_bVLMSihJtYVPXk9oNSCyp","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Scans text for sensitive PII including SSNs, credit card numbers (Luhn-validated), emails, crypto addresses, API keys, JWTs, and private keys","exampleAgentPrompt":"Scan this text for any sensitive information like SSNs, credit cards, crypto wallets, or API keys before I send it: 'Contact john.smith@example.com, card 5555555555554444, SSN 987-65-4321, key sk-test1234567890abcdef'","exampleUseCases":null,"resultDescription":"Returns a JSON object with a list of findings, each containing the PII type, a redacted match, character position, and sensitivity level (high/critical). Also includes a top-level sensitivity rating, pii_detected boolean, total findings count, text length, and analysis timestamp.","failureModes":["Empty or missing text field returns no findings or validation error","Very long text may exceed processing limits","Obfuscated or encoded PII (base64, hex) may not be detected","Partial or malformed SSNs may not pass Luhn/validation checks","Rate limiting or payment failure at $0.02 USDC per call via x402 protocol"],"whenToPreferThis":"Use this endpoint when you need fast, real-time PII detection across multiple sensitive data types in a single call — especially when you need Luhn-validated credit card detection, SSN validation, and crypto address recognition together. Prefer over regex-only solutions when accuracy matters. Ideal for pre-processing user input, log scrubbing, or compliance checks before storing or forwarding data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:51:28.381Z","isFirstParty":false}