D

DopamineDesk AI Marketplace · Pwned Check

by DopamineDesk AI Marketplace

GETBase

$0.005

per call · USD Coin on Base

Check whether a password hash appears in the Have I Been Pwned breach corpus using k-anonymity: the caller sends only the first five hex characters of a SHA-1 hash, so no password or full hash ever leaves the caller. Returns the matching hash range, or a breach count when an optional suffix is supplied.

Endpoint

GET https://ai-data-marketplace-1042299154756.us-central1.run.app/api/v1/pwned_check

1

Calls / 30d

1

Unique payers / 30d

Aug 14

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://ai-data-marketplace-1042299154756.us-central1.run.app/api/v1/pwned_check", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://ai-data-marketplace-1042299154756.us-central1.run.app/api/v1/pwned_check?prefix=21BD1" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "fetched_at": "2026-08-07T07:32:40.701Z",
  "hashes": [
    {
      "breach_count": 4,
      "suffix": "0002EEFFB2CCA91812B5CC9956854E22BEB"
    },
    {
      "breach_count": 5959,
      "suffix": "000F6468C6E4D09C0C239A4C2769501B3DD"
    }
  ],
  "marketplace_metadata": {
    "availability": "operational",
    "billable": true,
    "data_mode": "live_source",
    "source": "Have I Been Pwned Pwned Passwords range API"
  },
  "prefix": "21BD1",
  "privacy_note": "Only a 5-character SHA-1 prefix is sent upstream. No password or full hash leaves the caller.",
  "range_size": 1925,
  "source": "Have I Been Pwned Pwned Passwords (k-anonymity range API)",
  "source_url": "https://api.pwnedpasswords.com/range/21BD1",
  "success": true
}

Payment details

Pay to0x8647f7d7a1368a467ad1ff757fbc2e7167973558
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of AI & Inference and the homepage with a featured placement.

Get featured →

More from DopamineDesk AI Marketplace & similar services