Machine Learning — entry 018 of 24

Perspective

Verified Jul 2026

Perspective API, built by Google's Jigsaw team, scores text for toxicity, insults, threats, and related attributes using ML models trained on human-rated comments, returning probabilities from a JSON REST endpoint (commentanalyzer.googleapis.com). It's free and quota-gated rather than metered, but Google has announced the service will be shut down after 2026 and is only accepting quota-increase requests through February 2026. New integrations should plan for a different moderation provider before then, since Google has said it won't offer direct migration support.

toxicitycontent-moderationnlpgoogle-jigsawsunsetting-2026
AuthenticationAPI KeySign up with the provider to obtain credentials.
HTTPSSupportedTraffic is encrypted in transit.
CORSEnabledCallable directly from browser JavaScript.
PricingFreeNo paid tier — free for the documented use case.
FormatsJSONResponses can be requested as JSON.

GreatAPIs Score

Score78out of 100
Authentication15/25API key required
Pricing20/20Free to use
Docs14/20Documentation URL provided
Formats9/15Single response format
Freshness20/20Verified within 6 months

Embed this badge

Scored 78 on greatapis.com
<a href="https://greatapis.com/api/perspective/"><img src="https://greatapis.com/badge/perspective.svg" alt="Scored 78 on greatapis.com"></a>

Auth quickstart

  1. Sign up with the provider to get an API key.
  2. Send it on every request as a headerAuthorization: <key>
  3. The exact header isn't documented — Authorization is a common default; confirm in the provider's docs.
Stored keyNo key stored

Your key is stored only in this browser (localStorage) and sent directly to the API — never to greatapis.