NewAPIVerve Academy: free courses and certifications anyone can verify.Explore the Academy →

Username Profanity API

GET

Keep offensive usernames off your platform at signup.

Username Profanity flags offensive or inappropriate usernames before they reach your database. Send any candidate handle to receive a clear true or false profanity check result; paid plans add the matched words and categories, reserved-name and contact-detail checks, a masked version of the username and a single allowed verdict.

Try it — live request, no key required

Request
GETapi.apiverve.com/v1/usernameprofanity?username=b00bs
Query parameters
Verification
Format

No key required to try it. Get a key to use it in your app.

Example
{
  "status": "ok",
  "error": null,
  "data": {
    "username": "b00bs",
    "isProfane": true,
    "matchedWords": [
      "boob"
    ],
    "categories": [
      "sexual"
    ],
    "isReserved": false,
    "reservedTerm": null,
    "contactInfo": [],
    "censored": "b***s",
    "isAllowed": false
  }
}

Start from a template — a working app you can deploy in a minute

About the Username Profanity API

A username moderation API for sign-up forms. Username Profanity Checker analyses the username as a whole, split on underscores, separators and camelCase, and collapsed when it is letter-spaced, so decorated and leetspeak profanity is caught without flagging real names. Paid plans return the matched words and their categories, whether it impersonates a reserved name such as admin or support, any email, URL or phone number it contains, the username with the offending part masked, and isAllowed, one verdict that combines all of them.

What people use it for

Account Registration Screen
When visitors submit a signup form, frontend forms check the handle and prompt the user for an alternative if flagged.
Multiplayer Gamertag Moderation
Game servers inspect player handles during character creation to reject offensive gamertags before letting players join public lobbies.
Community Profile Updates
To stop disruptive members from renaming accounts to slurs, community moderators automatically block profane handle changes across social feeds.
Event Badge Printing
Event organizers screen attendee display names before printing badges or rendering leaderboards to prevent objectionable text on public screens.

Ways to call it

One endpoint, many ways in — REST with JSON, XML, YAML and CSV, plus GraphQL and an MCP interface for AI agents.

JSON
Default REST response
XML
Markup format
YAML
Human-readable
CSV
Tabular export
Beta
GraphQL
Query language
New
MCP
For AI agents

Other ways to use Username Profanity

Same data, same APIVerve account, same credit balance — one key works on all of them.

Questions.

Common questions about the Username Profanity API.

Read the docs →
What would checking 25,000 usernames a month cost me?
Checking 25,000 usernames uses 50,000 credits, fitting easily within the 200,000 credits on the $29.99 Starter plan. That plan covers up to 100,000 checks each month, which works out to about $0.30 per 1,000 calls. You can also evaluate up to 100 usernames each month on the Free plan.
Does the API return a risk score or a direct pass/fail result?
It returns a simple binary decision rather than a numeric score. The response provides an isProfane boolean set to true if offensive content is detected and false if the username is clean.
Can I check multiple usernames in a single request?
No, the endpoint processes one username per call. If you are auditing an existing user base or handling bulk registrations, submit each handle in a separate API request.
Does the response tell me which specific word triggered the flag?
No, the response returns only the submitted handle and the isProfane flag. It does not provide the matched keyword, category of profanity, or character offsets within the username.
Can I submit usernames containing symbols, digits, and mixed casing?
Yes, the username parameter accepts standard text strings. You can send handles containing mixed capitalization, numbers, and allowed punctuation directly from your registration form.
What do paid plans add to the profanity check?
The Free plan returns whether the username is profane. Paid plans add the matched words and their categories, whether it uses a reserved name such as admin or support, any contact details embedded in it, a censored copy with each matched word masked after its first character, and isAllowed, which is true only when the username is clean, not reserved and free of contact details.

Ready to build with Username Profanity? Start with 200 free credits — one key unlocks all 300+ APIs.

Explore the catalog

300+ APIs on the same key and the same response shape.

Browse all APIs