---
title: CheckText Profanity API
slug: profanity-check
url: https://apyhub.com/dosvak/service/profanity-check
provider: Dosvak LLC
categories: [Artificial Intelligence, "Security & Privacy"]
tags: [profanity-detection, text-moderation, content-moderation, language-detection, user-generated-content]
auth: api_key
version: 0.1.0
service_type: sync
endpoints: 1
atoms: 100
mcp: true
---

# CheckText Profanity API

Send text with an optional language code and get a profanity analysis back. Built for moderating comments, chats, reviews, and user content.

## Endpoints

| Method | URL | Description | Atoms |
| --- | --- | --- | --- |
| POST | `https://api.eu.apyhub.com/dosvak/profanity-check` | What it does Checks a submitted text string for profanity and returns a response object. The exact… | 100 |

## Endpoint reference

### Profanity check

`POST https://api.eu.apyhub.com/dosvak/profanity-check` · 100 atoms · accepts `application/json` · returns `application/json`

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `text` | body | string | yes | Text |
| `language` | body | string | no | Language Default: `en`. |

#### Quickstart

Check a piece of text for profanity by sending it with the required `text` field.

```bash
curl -X POST "https://api.eu.apyhub.com/dosvak/profanity-check" \
  -H "apy-token: $APY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"text":"This is a clean example sentence.","language":"en"}'
```

#### What you'll get back

Returns a JSON object. The schema does not declare any specific top-level fields, so the exact response shape may vary.

```json
{
  "language": "en",
  "contains_profanity": true,
  "match_count": 2,
  "matches": [
    "word_1",
    "word_2"
  ],
  "attribution": [
    {
      "source": "censor-text/profanity-list"
    }
  ]
}
```

## About

## What it does
Profanity Check lets you send text and get back a profanity analysis for that content. Use it when you need to screen user-generated text before publishing it in a comment, chat message, review, or profile field.

Send a `text` string, and optionally set `language` with a 2- to 5-character code. The endpoint is designed for simple moderation workflows where you want to detect offensive language without building your own word lists or rules engine.

Use Profanity Check in sign-up forms, community platforms, moderation queues, or content pipelines where unfiltered text could create trust or safety issues. It fits into pre-submit validation as well as post-submit review.

The response returns a structured result for the text check. Because the output schema is open-ended, treat the returned fields as the service's profanity analysis payload and inspect the response directly in your integration.

## Usage

Base URL: `https://api.eu.apyhub.com` (default region — see
`GET https://apyhub.com/api/public/regions` for the rest).

Authenticate with an ApyHub API key in the `apy-token` header.
Full docs and a live playground: https://apyhub.com/dosvak/service/profanity-check
