Perspective API shuts down on December 31, 2026.Switch by changing one URL

Perspective API alternative

Switch from Perspective API by changing one URL

Perspective API shuts down on December 31, 2026. Spamgone is a drop-in alternative: it accepts the same comments:analyze request and returns the same response shape, so you switch by changing the base URL and the API key. It also detects spam and scams, takes context about the author into account, and stores data in the EU.

Switching from Perspective? Use code PERSPECTIVE50 at checkout for 50% off Pro or Scale for your first 3 months, until January 31, 2027.

Migration

Switch in three steps

Keep your request code, your response parsing and your score thresholds.

  1. 01Create a free Spamgone key

    Sign in, and copy an API key from the dashboard. The Free plan includes 2,000 checks a month.

  2. 02Change the URL and the key

    Your request body stays exactly as it is.

    Endpoint
    - https://commentanalyzer.googleapis.com/v1alpha1/comments:analyze?key=YOUR_GOOGLE_API_KEY
    + https://spamgone.dev/v1alpha1/comments:analyze?key=YOUR_SPAMGONE_API_KEY
    Request body, unchanged
    {
      "comment": { "text": "Nobody wants you here, just leave" },
      "requestedAttributes": { "TOXICITY": {}, "INSULT": {}, "SPAM": {} },
      "doNotStore": true
    }
  3. 03Check your thresholds

    Scores are probabilities from 0 to 1, like Perspective's, but they come from a different model. Run a sample of your own comments through both and adjust your cut-offs before you move all traffic.

Compatibility

Which Perspective attributes work

The compatible endpoint answers the production toxicity attributes, SEXUALLY_EXPLICIT and SPAM, in Perspective's response shape.

Perspective API attributes and how Spamgone handles them
Perspective attributeIn Spamgone
TOXICITYSupported
SEVERE_TOXICITYSupported
IDENTITY_ATTACKSupported
INSULTSupported
PROFANITYSupported
THREATSupported
SEXUALLY_EXPLICITSupported, from Spamgone's sexual-content check
SPAMSupported, using Spamgone's main spam score in every language
Other experimental and New York Times attributesNot supported. The request fails with Perspective's 400 error, naming the attribute

Comparison

Spamgone and Perspective API, side by side

Facts about Perspective come from its own documentation, with a link and the date we checked.

Spamgone compared with Perspective API. Perspective facts checked on Nov 14, 2026.
TopicSpamgonePerspective API
AvailabilityAvailable, with a Perspective-compatible endpointShuts down on December 31, 2026. No new quota requests since February 2026, and access can't be extended.Source, checked
What it detectsSpam (scams, phishing, promotion, adult content and malware), plus toxicity, self-harm, sexual content and personal details when you ask for themToxicity: toxicity, severe toxicity, identity attacks, insults, profanity and threatsSource, checked
SpamThe main check, with a category and plain-language reasonsOnly an experimental SPAM attribute, in English, trained on New York Times commentsSource, checked
ContextAuthor account age, verification and role, the recipient, the content type, your community description, and signals from your recent trafficAccepts context entries, but its docs say the API does not use themSource, checked
LanguagesNot limited to English. Tested so far in 20 languages, including Arabic, Chinese, Hindi, Japanese and KoreanToxicity in 17 languages. The other production attributes in 7: German, English, Spanish, French, Italian, Portuguese and RussianSource, checked
ImagesComing as a betaText onlySource, checked
AI agentsA hosted MCP server for Claude, Cursor and other MCP clientsTwo REST methods (AnalyzeComment and SuggestCommentScore)Source, checked
PriceFree for 2,000 checks a month. Pro $20 a month, Scale $90 a monthFreeSource, checked
ThroughputA per-second limit set by your plan, and batches of up to 100 messages1 query per second by defaultSource, checked
Text sizeUp to 10,000 characters per messageUp to 20 KB per requestSource, checked
Data handlingStored in the EU (Ireland). Message text is kept only in your check history, for the retention you choose, down to zero days. doNotStore is honoredComments may be stored and used for research unless the request sets doNotStoreSource, checked

Beyond Perspective

What you get on top

  • Spam and scams, not only toxicity

    Scams, phishing, promotion, adult content and malware links, each with a category.

  • Context about the author

    Account age, verification and role, and who receives the message.

  • Reasons for every verdict

    Short, plain-language reasons your moderators can act on.

  • Your own rules

    Allow and block lists for domains, phrases and authors, applied first.

  • EU data storage

    Stored in Ireland, kept only as long as you choose, and doNotStore honored.

  • An MCP server for AI agents

    Claude, Cursor and other MCP clients can check and moderate for you.

FAQ

Questions about leaving Perspective API

When does Perspective API shut down?

Perspective API stays active until December 31, 2026. It stopped taking new quota requests in February 2026, and access can't be extended past the shutdown.

What can I use instead of Perspective API?

Spamgone accepts the same comments:analyze request and returns the same response shape, so most integrations switch by changing the base URL and the API key. It adds spam and scam detection, context about the author, and EU data storage.

Do I need to change my code?

For the supported attributes, no. Change the base URL and the API key. Requests, the response shape, clientToken and doNotStore work as before.

Will the scores match Perspective's?

No. Spamgone's scores are probabilities from 0 to 1, like Perspective's, but they come from a different model. Check a sample of your own comments and adjust your thresholds before moving all traffic.

Is there a free plan like Perspective?

Yes. The Free plan includes 2,000 checks a month. Paid plans add volume and longer history.

Does Spamgone store the comments I send?

Only in your check history, for the retention you choose, down to zero days. When a request sets doNotStore, the text is never stored.

Switch before December 31, 2026

Create a free key and point one request at Spamgone today.