77trust / 100

Screenshot Pii Mask

by bild.halowerk.com in Documents & files

x402 APIPassing, checked 8 h ago

Find e-mail addresses, phone numbers, IBANs, card numbers, postal addresses, IPs and labelled name or ID fields in a screenshot via OCR and burn solid black masks into the pixels. The screenshot is upscaled for OCR (dark themes are inverted) and read with Tesseract 5.3.4 (German + English, sparse-text mode, word boxes).

POST
https://bild.halowerk.com/v1/screenshot-pii-mask
Price
$0.01
per call in USDC
Uptime
96.0%
last 30 days
Response time
126 ms
893 ms slowest 5%
Last check
Passed
8 h ago, next any minute now

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

Status and outage history · Atom feed · Watch with other listings

How to call it

POST https://bild.halowerk.com/v1/screenshot-pii-mask

Each call costs $0.01 in USDC on Base, paid with the request over x402.

Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.

Example request

From the listing.

POST https://bild.halowerk.com/v1/screenshot-pii-mask
content-type: application/json

{
  "image_url": "https://bild.halowerk.com/beispiel/screenshot-pii-mask-image.png"
}

Parameters

ParameterTypeRequiredDescription
categoriesarray of stringNo
image_base64stringNo
image_urlstring (uri)No
output_formatstringNo One of: png, jpeg, webp. Default: "png".

Example response

The provider's example. We can't check it without paying.

Example response, 36 lines
{
  "limitations": [
    "Only text that OCR can read is found: very small, low-contrast, handwritten or stylised text and names without a label or salutation are not detected.",
    "Pattern hits are masked even if the value is not personal (e.g. a company hotline)."
  ],
  "result": {
    "counts": {},
    "findings": [],
    "image": {
      "height": 230,
      "width": 600
    },
    "image_base64": "iVBORw0KGgoAAAANSUhEUgAAAlgAAADmCAIAAACGW2ynAAAACXBIWXMAAAPoAAAD6AG1e1JrAAAgAElEQVR4nO3dd1QU5+L/8Wd32SZLFVeaSBMFDSL+QOWqRMWWa4woemOJetX4Rb2JSry2xNi9NoKJisECWFAxFsAuGhtijIuCoKhIkaICgiCdZXd+5+Q5d87cBRFbNMzn9Rc7z8zs7K6HN9NWwgAAAPAYed8bAAAA8D4hhAAAwGsIIQAA8BpCCAAAvIYQAgAAryGEAADAawghAADwGkIIAAC8hhACAACvIYQAAMBrCCEAAPAaQggAALyGEAIAAK8hhAAAwGsIIQAA8BpCCAAAvIYQAgAAryGEAADAawghAADwGkIIAAC8hhACAACvIYQAAMBr… [truncated, 15116 chars]",
    "image_format": "png",
    "input_sha256": "32b0a360228a323d8c0a77ab05d476c02b1c9ff7728c71d4acc06016071c52ca",
    "masked_regions": [],
    "ocr": {
      "engine": "tesseract 5.3.4",
      "inverted": false,
      "languages": "deu+eng",
      "psm": 11,
      "scale": 3
    },
    "output_sha256": "aa92a8a4a5624c688473f125de8ed415beda5e672c63130ec0c32e5a9ed68913",
    "verification": {
      "method": "OCR and the same rules re-run on the masked image",
      "performed": true,
      "residual": [],
      "residual_findings": 0,
      "words_read_after": 11,
      "words_read_before": 11
    }
  },
  "service": "screenshot-pii-mask",
  "status": "success"
}

Call it from code

The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.01.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://bild.halowerk.com/v1/screenshot-pii-mask' \
  -H 'content-type: application/json' \
  --data-raw '{"image_url":"https://bild.halowerk.com/beispiel/screenshot-pii-mask-image.png"}'

# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - -X POST 'https://bild.halowerk.com/v1/screenshot-pii-mask' \
  -H 'content-type: application/json' \
  --data-raw '{"image_url":"https://bild.halowerk.com/beispiel/screenshot-pii-mask-image.png"}' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode
JavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

// Pays at most $0.01 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.01" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.01 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fbild.halowerk.com%2Fv1%2Fscreenshot-pii-mask&method=POST
const res = await pay("https://bild.halowerk.com/v1/screenshot-pii-mask", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({
    "image_url": "https://bild.halowerk.com/beispiel/screenshot-pii-mask-image.png"
  }),
});
console.log(res.status, await res.text());
Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client

# Pays at most $0.01 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.01"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.post(
        "https://bild.halowerk.com/v1/screenshot-pii-mask",
        json={
            "image_url": "https://bild.halowerk.com/beispiel/screenshot-pii-mask-image.png",
        },
    )
    print(res.status_code, res.text)

Security scan

No findings

We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
8 h agoPassed402139 ms$0.01
2 days agoTimed out---
4 days agoPassed402139 ms$0.01
4 days agoPassed402893 ms$0.01
4 days agoPassed40240 ms$0.01
Show 10 older checks
5 days agoPassed402130 ms$0.01
5 days agoPassed402126 ms$0.01
6 days agoPassed402201 ms$0.01
6 days agoPassed402100 ms$0.01
6 days agoPassed402170 ms$0.01
7 days agoPassed402141 ms$0.01
7 days agoPassed402131 ms$0.01
7 days agoPassed402155 ms$0.01
7 days agoPassed402117 ms$0.01
8 days agoPassed40241 ms$0.01