# fastapi.online Profanity Detection

> fastapi.online Profanity Detection is a paid API for AI agents from api.fastapi.online, paid per call via x402, $0.001/call, status down (last checked 2026-09-15).

Classifies whether a given text string contains profanity or offensive language

## Facts

- Endpoint: POST https://api.fastapi.online/profanity-detect
- Price: $0.001/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fastapi-online-profanity-detection-446e2f47
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_A0CCEAuipHNM-wGKUkwtY

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 fastapi-online-profanity-detection-446e2f47 -d '<json body>'
```

Example prompt: Can you check this comment for profanity before I allow it to be posted: 'This product is absolute garbage and the support team are complete idiots'?

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call profanity classifier with no signup required, especially for sporadic or low-volume moderation needs. It is particularly suited for crypto-native pipelines using x402 payment flow. Prefer dedicated enterprise moderation APIs (e.g. AWS Comprehend, Perspective API) for high-volume, SLA-backed production systems or nuanced toxicity scoring.

## Known failure modes

- Text too short (below minLength of 1) returns validation error
- Text exceeds 8000 character limit returns 400 error
- Payment not provided or insufficient USDC triggers HTTP 402
- Empty string input rejected
- Network timeout on long text processing
- False negatives on creative misspellings or leetspeak

## How this service works

Chat, embeddings, OCR, speech-to-text, image editing, image understanding (captioning/Q&amp;A), text-to-speech, translation, writing tools, classification tools, developer tools, local utilities, format/checksum validators, encoding &amp; crypto utilities, date/time calculators, geo/coordinate math, math &amp; finance calculators, novelty tools, and business/social writing generators — 179 endpoints in all, across multiple specialized self-hosted models. Pay per call with crypto — no signup — or get an API key.

## Output

Returns a classification indicating whether the input text contains profanity or offensive language, typically including a boolean flag and potentially a confidence score or list of detected terms.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "maxLength": 8000,
   "minLength": 1
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fastapi-online-profanity-detection-446e2f47/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.fastapi.online](https://www.zero.xyz/host/api.fastapi.online/llms.txt)
