{"uid":"cap_WzCwEyM_tXn2RzRjZEEOr","slug":"agent402-uk-pii-secrets-scanner-63d0c580","name":"Agent402 UK PII & Secrets Scanner","description":"Don't burn tokens on deterministic work. Go/no-go jobs first: payout preflight, text firewall (PII/secrets), budget check — then rails, calendars, finmath. x402 USDC on Base. UK + global. agent402.co.uk — not agent402.tools. $0.001–$0.002 USDC on Base. No API keys.","url":"https://agent402.co.uk/v1/validate/pii-scan","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","description":"Text to scan (max 100k)"}}},"responseSchema":{"type":"json","example":{"valid":true,"pii_count":2,"secret_count":0,"finding_count":2}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_cpq9foQ_QRnQ8mIKqTJsF","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Scans a block of text for personally identifiable information (PII) and secrets, returning counts of findings so agents can gate further actions on privacy/security compliance.","exampleAgentPrompt":"Before you forward that user message to the payment processor, scan it for any PII or secrets — I need to know if there are names, emails, or credentials hiding in there.","exampleUseCases":[{"title":"Privacy firewall before external API call","prompt":"Check this chunk of text for PII or secrets before I send it to the third-party enrichment service — tell me how many issues were found so I can decide whether to proceed."},{"title":"Log sanitisation gate for agent output","prompt":"Before writing this agent response to our audit log, scan it to make sure it doesn't contain any personal information or leaked credentials."},{"title":"GDPR compliance check on user-submitted content","prompt":"A user just submitted this form text — scan it for any personal data like names, emails, or phone numbers so I can flag it for review if anything sensitive is in there."}],"resultDescription":"Returns a JSON object with a 'valid' boolean indicating whether the scan succeeded, 'pii_count' (number of PII findings), 'secret_count' (number of secret/credential findings), and 'finding_count' (total findings). Agents can use these counts as a go/no-go gate before passing text downstream.","failureModes":["Text exceeding 100k characters may be rejected or truncated","Network or payment failure returns a 402 or 5xx with no scan result","Malformed JSON request body returns a 400 error","Edge-case PII patterns (non-Latin scripts, unusual formats) may produce lower detection accuracy","Payment not included or insufficient USDC balance causes request rejection"],"whenToPreferThis":"Choose this endpoint when you need a cheap, fast, deterministic pre-flight check on text before committing tokens or downstream API calls — especially when compliance, GDPR, or secret-leakage risk is a concern. At $0.001 USDC per call with no API key required and x402 USDC payment on Base, it is ideal for agentic pipelines that need a lightweight privacy firewall without spinning up a full NLP service.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:31:36.440Z","isFirstParty":false}