Bad Words Filter API

Bad Words Filter API

Detect and censor any bad words included in a text. Be able to filter words and have a safe environment on your site.

About the API:

The filter uses natural language processing (NLP) to decode the content into logical words ignoring punctuation, case, formatting, etc. We also apply word transformations to detect obfuscation of bad words like repeating characters, spurious whitespace, and special characters. As well as detection and extraction of bad words you can also use this API to censor bad words from the supplied text.


What this API receives and what your API provides (input/output)?

The API will receive a string text or a URL and it will return a list of all the bad words recognized. Also, you can select a character that will be replacing these bad words. It could be an asterisk or a different word of your choice. 


What are the most common uses cases of this API?

This API is ideal for those users that want to filter any content that has bad words in it. It could be an article by your content creators that you want to upload on your site. Maybe you want to extract text from a blog or post and want to avoid bad words. 

This API is excellent for those who want to maintain a bad-words-free environment on their site. Prevent users from setting any offensive nicknames, if you have an integrated chat on your site, avoid toxicity with ease with this API. Censor any bad behavior right away! 


Are there any limitations with your plans?

Besides API call limitations per month, there are no other limitations. Do not worry about characters. 

API Documentation


Pass any URL of a post or article you want to check its content for bad words. 

It also receives text strings directly. Check and censor, if you want, any bad words found in the texts. 

You can select a "censor-character" that will be shown instead of the censorable word detected. You will be one step ahead!

Also, you can choose a "catalog":

  • strict - this database of bad words includes profanity, obscenity, sexual, rude, cuss, dirty, swear, and objectionable words and phrases. This catalog is suitable for environments of all ages including educational or children's content
  • obscene - like the strict catalog but does not include any mild profanities, idiomatic phrases, or words that are considered formal terminology. This catalog is suitable for adult environments where certain types of bad words are considered OK


Content Filter - Endpoint Features
Object Description
content [Required] The URL or text string that will be checked and filtered.
censor-character [Optional] Insert any character that will be shown instead of the bad word detected.
catalog [Optional] Strict or Obscene. Use the one that fits the most your current objectives.
Test Endpoint



Content Filter - CODE SNIPPETS

curl --location --request POST '*&catalog=strict' --header 'Authorization: Bearer YOUR_API_KEY' 


API Access Key & Authentication

After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Bad Words Filter API REST API, simply include your bearer token in the Authorization header.


Header Description
Authorization [Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.

Simple Transparent Pricing

No long term commitments. One click upgrade/downgrade or cancellation. No questions asked.

๐Ÿš€ Enterprise
Starts at $10,000/Year

  • Custom Volume
  • Dedicated account manager
  • Service-level agreement (SLA)

Customer favorite features

  • โœ”๏ธŽ Only Pay for Successful Requests
  • โœ”๏ธŽ Free 7-Day Trial
  • โœ”๏ธŽ Multi-Language Support
  • โœ”๏ธŽ One API Key, All APIs.
  • โœ”๏ธŽ Intuitive Dashboard
  • โœ”๏ธŽ Comprehensive Error Handling
  • โœ”๏ธŽ Developer-Friendly Docs
  • โœ”๏ธŽ Postman Integration
  • โœ”๏ธŽ Secure HTTPS Connections
  • โœ”๏ธŽ Reliable Uptime

Zyla API Hub is, in other words, an API MarketPlace. An all-in-one solution for your developing needs. You will be accessing our extended list of APIs with only your user. Also, you won't need to worry about storing API keys, only one API key for all our products is needed.

Prices are listed in USD. We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the worldโ€™s most reliable payment companies. If you have any trouble with paying by card, just contact us at [email protected]

Sometimes depending on the bank's fraud protection settings, a bank will decline the validation charge we make when we attempt to be sure a card is valid. We recommend first contacting your bank to see if they are blocking our charges. If more help is needed, please contact [email protected] and our team will investigate further

Prices are based on a recurring monthly subscription depending on the plan selected โ€” plus overage fees applied when a developer exceeds a planโ€™s quota limits. In this example, you'll see the base plan amount as well as a quota limit of API requests. Be sure to notice the overage fee because you will be charged for each additional request.

Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.

Just go to the pricing page of that API and select the plan that you want to upgrade to. You will only be charged the full amount of that plan, but you will be enjoying the features that the plan offers right away.

Yes, absolutely. If you want to cancel your plan, simply go to your account and cancel on the Billing page. Upgrades, downgrades, and cancellations are immediate.

You can contact us through our chat channel to receive immediate assistance. We are always online from 9 am to 6 pm (GMT+1). If you reach us after that time, we will be in contact when we are back. Also you can contact us via email to [email protected]

 Service Level
 Response Time



Related APIs