{"uid":"cap_DYPCmwAXjIjH62J0CcZ1M","slug":"shield-vainplex-dev-5f12fb3c","name":"ShieldAPI Password Range Check","description":"ShieldAPI - x402 security preflight before agents accept or store credential material","url":"https://shield.vainplex.dev/api/cdp/check-password-range","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["prefix"],"properties":{"prefix":{"type":"string","description":"First 5 characters of SHA-1 hash"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"prefix":"5BAA61"}},"output":{"type":"string"}},"response":{"_truncated":true,"_originalSize":115834}},"exampleRequest":{"prefix":"5BAA61"},"tags":["x402"],"displayCostAmount":"0.001","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.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_ADjvoPvBVho_5bmU05zjP","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":"Checks whether a password has appeared in known data breaches using k-anonymity (SHA-1 prefix lookup), without exposing the full password hash","exampleAgentPrompt":"Can you check if the password 'hunter2' has ever appeared in a known data breach? Use the first 5 characters of its SHA-1 hash — that's '5BAA6' — to do the anonymized range lookup so the full hash never gets sent.","exampleUseCases":null,"resultDescription":"Returns a list of SHA-1 hash suffixes and their breach occurrence counts for all hashes sharing the given 5-character prefix. The agent can match the remaining hash suffix locally to determine if a specific password has been compromised and how many times it appeared in breached datasets.","failureModes":["Missing or invalid 'prefix' query parameter — returns 400 or error response","Prefix not exactly 5 hex characters — malformed request","Network timeout or service unavailability — returns 5xx","Payment failure (x402) — returns 402 if USDC payment not processed"],"whenToPreferThis":"Use this endpoint when you need to check whether a password has been exposed in known data breaches while preserving user privacy via k-anonymity (only the first 5 characters of the SHA-1 hash are sent). Prefer this over full-hash lookups when privacy is critical. It mirrors the HaveIBeenPwned range API pattern and is ideal for real-time password validation during registration or login flows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:32:22.950Z","isFirstParty":false}