freeapis

Perspective

NLP API to return probability that if text is toxic, obscene, insulting or threatening

Authentication
API Key
HTTPS
Yes
CORS
Unknown
Documentation / URL
https://perspectiveapi.com

Overview

Perspective provides toxicity probability scoring — key-based (requests need a real GCP project; a bogus one returns 404, verified).

Quick Start

Requires a valid GCP API key:

curl -X POST "https://commentanalyzer.googleapis.com/v1alpha1/comments:analyze?key=YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"comment":{"text":"hello"},"requestedAttributes":{"TOXICITY":{}}}'

Authentication

  • Register at perspectiveapi.com → GCP API key.
  • Bogus key/project → 404 (verified).

Rate Limits & Notes

  • Free tier with limits (check the docs).
  • Toxicity/obscenity/insult/threat scores.

FAQ

Is Perspective free? Free tier with limits; more is paid.

Why 404? A bogus key returns 404 (verified) — use a real GCP key.

What’s the auth style? GCP API key query parameter.

More in Machine Learning

APIAuthHTTPSCORS
AI Economics Tools

Token cost, LLM energy, agent-hour and Proof-Adjusted Autonomy calculators by Michał Piszczek

No authYesYes
AI For Thai

Free Various Thai AI API

API KeyYesYes
BRAINIALL

PT-BR and Spanish audio transcription with diarization and SRT/VTT

API KeyYesYes
Clarifai

Computer Vision

OAuthYesUnknown
Cloudmersive

Image captioning, face recognition, NSFW classification

API KeyYesYes