freeapis

Perspective

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

Authentication
API Key
HTTPS
Yes
CORS
Unknown
Data source
public-apis + marcelscruz
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
1ClickImpact (AI Energy)

Track and offset the energy and carbon footprint of your AI/LLM usage via a simple API

API KeyYesUnknown↗
Advanced Multilanguage AI Translator (RapidAPI)

AI-powered translator supporting multiple languages with fast, context-aware responses

API KeyYesUnknown↗
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↗
AI Learning Engine

Create, auto-grade, and analyze learning tasks with AI-based evaluations

API KeyYesUnknown↗