Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: ScrubMyText + Agent Infrastructure Redact API
version: 7.5.0
description: 49 deterministic tools for text integrity, AI-agent controls, and contextual service-quality evidence. TrustMyChoice provides free public lookup and comparison plus free, identity-verified structured contributions without publishing a universal trust score or selling ranking position. Selected premium stateless text tools include a 3-call trial and optional x402 pay-per-call.
servers:
- url: https://api.scrubmytext.com
tags:
- name: Redact
paths:
/v1/redact:
post:
operationId: redactSensitiveText
summary: Redact sensitive text
description: Pattern-based redaction of common credentials and identifiers. Includes a 3-call unauthenticated monthly trial per public IP. After the trial, use a subscription bearer key or x402 pay-per-call when enabled.
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
text:
type: string
maxLength: 1000000
additionalProperties: false
required:
- text
responses:
'200':
description: Successful result
'400':
description: Invalid input
'401':
description: API key required or invalid
'429':
description: Monthly usage limit reached
'402':
description: Trial exhausted / x402 Payment Required when pay-per-call is enabled
headers:
PAYMENT-REQUIRED:
description: Base64-encoded x402 v2 PaymentRequired object
schema:
type: string
security:
- {}
- bearerAuth: []
tags:
- Redact
components:
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: smt_founder_..., smt_live_..., or legacy smt_tmc_...
description: smt_founder_ keys provide all-tool access for 30 days or 1,000 total calls with no overages, then remain limited to TrustMyChoice evidence writes. Paid smt_live_ keys access subscription tools. Legacy smt_tmc_ keys are limited to TrustMyChoice observation and correction writes.