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.
Sign up for Vettly
Create a free account and get your API key in under 2 minutes.
Use OpenAI provider
Vettly's OpenAI provider covers all Perspective categories (toxicity, hate, threats) - and it's free.
Update your API calls
Replace Perspective API calls with Vettly's /v1/check endpoint. Same categories, better coverage.
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.
API Migration
POST googleapis.com/v1alpha1/comments:analyze
{
"comment": { "text": "..." },
"requestedAttributes": {
"TOXICITY": {},
"IDENTITY_ATTACK": {}
}
}POST api.vettly.dev/v1/check
{
"content": "...",
"policyId": "moderate"
}
// Response includes harassment,
// hate_speech, and 7 more categoriesWhat you gain by switching
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.