Ensure usernames meet community guidelines on social platforms.
Social platforms need to enforce username policies at scale. Offensive usernames damage brand reputation and create hostile environments for users.
Add profanity checking to your username validation pipeline. Combine with username availability checks to provide instant feedback during signup.
const res = await fetch("https://api.apiverve.com/v1/usernameprofanity?username=b00bs", {
headers: { "x-api-key": "YOUR_API_KEY" },
});
const { data } = await res.json();
console.log(data);