Perspective API alternative · Updated 5 November 2026

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.

The shutdown

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.

Attribute by attribute

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.

PerspectiveLanguages Perspective listsDetectivision
TOXICITYArabic, Chinese, Czech, Dutch, English, French, German, Hindi, Hinglish, Indonesian, Italian, Japanese, Korean, Polish, Portuguese, Russian, Spanishflagged: true when any flag you asked for was raised.
SEVERE_TOXICITYGerman, English, Spanish, French, Italian, Portuguese, RussianAny flag, with a stricter line on its confidence, such as 0.9.
IDENTITY_ATTACKGerman, English, Spanish, French, Italian, Portuguese, Russianhate, racism and sexism: three flags, so your rules can treat them apart.
INSULTGerman, English, Spanish, French, Italian, Portuguese, Russianinsult: insults and personal attacks on someone.
PROFANITYGerman, English, Spanish, French, Italian, Portuguese, Russianprofanity, on the Basic plan: swear words and vulgar slang, even when not aimed at anyone.
SEXUALLY_EXPLICITExperimental attributesexual: 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.

Replacements

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.

APIEnglishArabicTurkishPrice
DetectivisionYesYesYesMonthly plans with credits; a free trial on Basic
Perspective APIYesTOXICITY onlyNot listedFree; stops after 31 December 2026
OpenAI moderationYesIts moderation guide lists no languagesIts moderation guide lists no languagesFree to use
Azure AI Content SafetyYesOutside the 8 languages its text classifiers are trained and tested onOutside the 8 languages its text classifiers are trained and tested onPer 1,000 text records; 5,000 free a month
Amazon Comprehend toxicity detectionYes“Supports only the English language”“Supports only the English language”Per 100 characters, at least 300 a request
Hive text moderationYesSexual, violence, hate, bullying, phone numbersSexual, violence, hate, bullying, phone numbers“Requires an annual contract”
Sightengine text moderationYesNot in its language listsYesMonthly 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.

Before and after

The same check, both ways

Perspective API
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": {} }
  }'
Detectivision
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.

Your threshold

Reading the answer

Perspective API
const score = body.attributeScores.INSULT.summaryScore.value
if (score > 0.8) hide(comment)
Detectivision
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.

Before you move

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.

Questions

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.