Perspective API retirement coming in 2026

Perspective API Retirement: Migrate to Vettly

Google announced that Perspective API will be retired in 2026. Vettly provides a drop-in replacement with the same toxicity categories via our free OpenAI provider - plus images, video, webhooks, and dashboards.

1

Sign up for Vettly

Create a free account and get your API key in under 2 minutes.

2

Use OpenAI provider

Vettly's OpenAI provider covers all Perspective categories (toxicity, hate, threats) - and it's free.

3

Update your API calls

Replace Perspective API calls with Vettly's /v1/check endpoint. Same categories, better coverage.

4

Add images & video (optional)

Now that you're on Vettly, moderate images and video with the same API.

Category Mapping

Perspective API categories map directly to Vettly categories. Our OpenAI provider covers all of them at no cost.

Perspective Category
Vettly Category
Notes
TOXICITY
harassment
Covered by OpenAI provider
SEVERE_TOXICITY
harassment
Use lower threshold (0.3-0.5)
IDENTITY_ATTACK
hate_speech
Covered by OpenAI provider
INSULT
harassment
Covered by OpenAI provider
PROFANITY
profanity
Covered by OpenAI provider
THREAT
violence
Covered by OpenAI provider
SEXUALLY_EXPLICIT
sexual
Covered by OpenAI provider

API Migration

Before (Perspective)
POST googleapis.com/v1alpha1/comments:analyze
{
  "comment": { "text": "..." },
  "requestedAttributes": {
    "TOXICITY": {},
    "IDENTITY_ATTACK": {}
  }
}
After (Vettly)
POST api.vettly.dev/v1/check
{
  "content": "...",
  "policyId": "moderate"
}

// Response includes harassment,
// hate_speech, and 7 more categories

What you gain by switching

+Image & video moderation - same API, no extra integration
+Dashboards & analytics - see all decisions, filter by category
+Webhooks - get notified on flag/block with HMAC signing
+Evidence storage - automatic screenshots, signed URLs
+Appeals queue - built-in human review workflow
+Spam & scam detection - categories Perspective never had
+App Store Guideline 1.2 - covers filtering, reporting, blocking, and audit trails

Shipping an iOS app?

Vettly covers every App Store Guideline 1.2 requirement out of the box: content filtering, user reporting, user blocking, and audit trails.

See the compliance checklist →

Perspective API retirement FAQ

Is Perspective API being retired?

Yes. Google announced the Perspective API retirement with a 2026 shutdown window. The commentanalyzer.googleapis.com comments:analyze endpoint will stop accepting requests.

When does Perspective API shut down?

Google has not published an exact shutdown day, but the retirement window is 2026. Teams should migrate before their final pre-shutdown release to avoid a rushed transition.

What should I replace Perspective API with?

Vettly is a drop-in replacement: the same toxicity, threat, and identity attack categories via a free OpenAI provider, plus image and video moderation, webhooks, dashboards, and appeals.

How long does the migration take?

Most teams swap the endpoint and remap categories in under a day. The free Developer plan covers 2,000 text, 100 image, and 25 video checks per month for testing.

Start your migration today

Don't wait until Perspective shuts down. Get started free with 2,000 text + 100 image + 25 video checks per month.