# AgentKit Redact

> AgentKit Redact is a paid API for AI agents from api.firstmention.uk, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-20).

Detects and redacts sensitive personal data (emails, card numbers, etc.) from free-form text

## Facts

- Endpoint: POST https://api.firstmention.uk/s/agentkit/redact?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentkit-redact-f6a18a8d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_HmhzQcFjvmQ6BEJ96wO5g

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agentkit-redact-f6a18a8d -d '<json body>'
```

Example prompt: Scan this text and redact any sensitive personal data like email addresses or credit card numbers: 'Please charge john.doe@example.com on card 4111-1111-1111-1111 for the order.'

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call PII detection and redaction service that integrates directly into agent pipelines without OAuth or API key setup, and when payment via USDC on Base (x402 protocol) is acceptable. Ideal for one-off sanitization tasks in automated workflows at $0.01 per call.

## Known failure modes

- Missing 'text' field returns a validation error
- Invalid or unrecognized 'mode' value may cause unexpected behavior or error
- Very long text inputs may exceed payload limits
- Payment failure via x402 results in HTTP 402 before processing
- Empty text input may return empty 'found' array with no processing

## How this service works

Pay-per-call HTTP APIs, paid with x402 in USDC on Base (eip155:8453): agentkit, api-change-check, basedue, bizcal-api, chainread, check-sanctions, chgwatch, company-facts, domain-intel, domainkit, domfacts, due, edgar, funding-rates, fundinglens, pageaudit, solcheck, token-dd, txpreflight, walletprofile, web-extract, webmd, webread, websearch, x402-preflight, x402check, x402index. Each operation describes its service.

## Output

Returns a JSON object with a 'found' array listing the types of sensitive data detected (e.g. ['email', 'card']), and potentially redacted text depending on the mode selected.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "args": {
   "type": "object",
   "description": "Arguments for the tool."
  },
  "tool": {
   "type": "string",
   "description": "Tool name, e.g. convert, datetime, extract, validate, repair, redact, deadlines."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "found": [
   "email",
   "card"
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentkit-redact-f6a18a8d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.firstmention.uk](https://www.zero.xyz/host/api.firstmention.uk/llms.txt)
