A Perspective API alternative, before the shutdown.
Perspective API stops after 31 December 2026, and Google will not offer direct migration support (perspectiveapi.com, read on 5 November 2026). Detectivision checks comments for insults, hate, racism, sexism, sexual language, profanity and self-harm, each as its own flag with a confidence, in 12 languages including Arabic and Turkish. Here is where each Perspective attribute goes, and the code before and after.
What Google has announced
From the notice on perspectiveapi.com and the Perspective developer pages, as read on 5 November 2026. Detectivision is not affiliated with Google or Jigsaw, the makers of Perspective API.
Active until 31 December 2026
“The service will remain active until December 31, 2026.” Asked whether access can be extended, the notice answers: “The API will no longer be in service after 2026.”
No more quota
Usage and higher quota requests were “addressed until February 2026”. “After that, we will no longer accept any new requests.” The default quota is an average of 1 query per second.
No migration help
“We will not be offering direct migration support”: each team moves on its own.
Where each Perspective attribute goes
Perspective scores attributes; Detectivision raises flags, each with its confidence. The languages are those Perspective’s Attributes & Languages page lists for each attribute, as read on 5 November 2026. Detectivision’s text moderation understands English, Spanish, Portuguese, French, German, Italian, Turkish, Arabic, Russian, Hindi, Chinese and Japanese, with no language to set.
| Perspective | Languages Perspective lists | Detectivision |
|---|---|---|
| TOXICITY | Arabic, Chinese, Czech, Dutch, English, French, German, Hindi, Hinglish, Indonesian, Italian, Japanese, Korean, Polish, Portuguese, Russian, Spanish | flagged: true when any flag you asked for was raised. |
| SEVERE_TOXICITY | German, English, Spanish, French, Italian, Portuguese, Russian | Any flag, with a stricter line on its confidence, such as 0.9. |
| IDENTITY_ATTACK | German, English, Spanish, French, Italian, Portuguese, Russian | hate, racism and sexism: three flags, so your rules can treat them apart. |
| INSULT | German, English, Spanish, French, Italian, Portuguese, Russian | insult: insults and personal attacks on someone. |
| PROFANITY | German, English, Spanish, French, Italian, Portuguese, Russian | profanity, on the Basic plan: swear words and vulgar slang, even when not aimed at anyone. |
| SEXUALLY_EXPLICIT | Experimental attribute | sexual: sexual language, and sexual harassment of someone. |
Two flags go further than Perspective’s attributes: self_harm, for talk of suicide or self-harm, and bad_habits, for drug use, drinking, smoking or gambling talked up. GET /api/v1/flags lists every flag your account has; set it beside the attributes your rules use before you move.
Toxic comment APIs for English, Arabic and Turkish
What each company’s own pages say, as read on 5 November 2026. Detectivision is not affiliated with any of them.
| API | English | Arabic | Turkish | Price |
|---|---|---|---|---|
| Detectivision | Yes | Yes | Yes | Monthly plans with credits; a free trial on Basic |
| Perspective API | Yes | TOXICITY only | Not listed | Free; stops after 31 December 2026 |
| OpenAI moderation | Yes | Its moderation guide lists no languages | Its moderation guide lists no languages | Free to use |
| Azure AI Content Safety | Yes | Outside the 8 languages its text classifiers are trained and tested on | Outside the 8 languages its text classifiers are trained and tested on | Per 1,000 text records; 5,000 free a month |
| Amazon Comprehend toxicity detection | Yes | “Supports only the English language” | “Supports only the English language” | Per 100 characters, at least 300 a request |
| Hive text moderation | Yes | Sexual, violence, hate, bullying, phone numbers | Sexual, violence, hate, bullying, phone numbers | “Requires an annual contract” |
| Sightengine text moderation | Yes | Not in its language lists | Yes | Monthly plans with operations |
Microsoft says its classifiers can classify other languages, with performance that can vary. Whatever you choose, test it on your own comments in each language before you switch.
The same check, both ways
curl -X POST \
"https://commentanalyzer.googleapis.com/v1alpha1/comments:analyze?key=$PERSPECTIVE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"comment": { "text": "You are an idiot" },
"languages": ["en"],
"requestedAttributes": { "INSULT": {}, "IDENTITY_ATTACK": {} }
}'curl https://api.detectivision.ai/api/v1/moderation \
-H "Api-Key: $DETECTIVISION_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"type": "text_moderation",
"input": "You are an idiot",
"flags": ["insult", "hate", "racism", "sexism"]
}'Detectivision takes an API key in the Api-Key header, and the type of content in type. Without flags, every text flag of your account is checked. A text can be up to 10,000 characters; Perspective takes up to 20 KB a request.
Reading the answer
const score = body.attributeScores.INSULT.summaryScore.value
if (score > 0.8) hide(comment)const insult = body.flags.find((f) => f.flag === "insult")
if (insult && insult.confidence > 0.8) hide(comment)The two scores are not on the same scale. A flag is raised from 0.5 by default; start from flagged, then tune your line on your own comments.
What changes
Detectivision understands English, Spanish, Portuguese, French, German, Italian, Turkish, Arabic, Russian, Hindi, Chinese and Japanese. Send each comment as it was written: there is no language to set.
Perspective is free. Detectivision is paid in credits: a text costs 1 credit per started 2,500 characters by webhook, twice that at once.
The same API checks images for sexual content, violence, hate and scams, including a phone number or a messaging handle written on a photo.
Actions
A moderator can open a check in the dashboard’s Logs and see its flags, your metadata and your actions; your system gets every action taken by webhook.
Insults, hate, racism, sexism and sexual language in Turkish comments.
Insults, hate, racism, sexism and more, each a flag with its confidence.
Frequently asked
When does Perspective API stop working?
Its site says the service remains active until 31 December 2026 and will no longer be in service after 2026 (perspectiveapi.com, read on 5 November 2026).
Will Google help us migrate?
No. Its notice says Google will not offer direct migration support, and quota requests were handled only until February 2026.
Which API can replace Perspective for Arabic and Turkish comments?
Perspective lists Arabic only for TOXICITY and does not list Turkish. Detectivision checks both for insults, hate, racism, sexism and sexual language, among 12 languages. Hive lists both for its text classes under an annual contract; Sightengine lists Turkish. As read on 5 November 2026.
Is there a TOXICITY score in Detectivision?
No single score. flagged tells you whether any of your flags was raised, and each flag raised has its own confidence from 0 to 1.
Which languages does Detectivision support?
English, Spanish, Portuguese, French, German, Italian, Turkish, Arabic, Russian, Hindi, Chinese and Japanese. Text in other languages is checked, but the results are not reliable.
Can I try it on my own comments first?
Yes. Start the free trial, then send your comments through the dashboard’s playground or the API and compare the answers with your Perspective scores.