{"uid":"cap_4epFtM54wsskhpj6RBgn_","slug":"fastapi-online-toxicity-score-73509276","name":"fastapi.online Toxicity Score","description":"Chat, embeddings, OCR, speech-to-text, image editing, image understanding (captioning/Q&amp;A), text-to-speech, translation, writing tools, classification tools, developer tools, local utilities, format/checksum validators, encoding &amp; crypto utilities, date/time calculators, geo/coordinate math, math &amp; finance calculators, novelty tools, and business/social writing generators — 179 endpoints in all, across multiple specialized self-hosted models. Pay per call with crypto — no signup — or get an API key.","url":"https://api.fastapi.online/toxicity-score","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","maxLength":8000,"minLength":1}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_bvHz2lJHeqwQxBMVAZepE","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes a text string and returns a toxicity score indicating how harmful, offensive, or abusive the content is.","exampleAgentPrompt":"Can you check this comment for toxicity and give me a score? The text is: 'You're an absolute idiot and nobody likes you.'","exampleUseCases":[{"title":"Moderating user comments on a forum","prompt":"Before I publish this user comment, can you score it for toxicity? The comment is: 'Get out of here, you disgusting piece of trash, nobody wants your opinion.'"},{"title":"Pre-screening chatbot input for abuse","prompt":"A user just sent this message to our customer support bot — can you check how toxic it is before we route it? The message is: 'Your company is run by complete morons and I hope you all get fired.'"},{"title":"Filtering social media post drafts","prompt":"I'm about to post this reply — can you run a toxicity check on it first? Text: 'You clearly have no brain cells left if you believe that garbage.'"}],"resultDescription":"Returns a numeric toxicity score (typically 0.0 to 1.0) indicating the degree of toxicity in the input text, where higher values indicate more toxic content. May include confidence and category breakdowns depending on the model.","failureModes":["Text too short (below minLength of 1) returns validation error","Text exceeds 8000 character limit returns 400 error","Payment not provided or insufficient USDC results in 402 Payment Required","Model inference failure returns 500 error","Non-string or malformed JSON body returns 422 Unprocessable Entity"],"whenToPreferThis":"Choose this endpoint when you need a fast, cheap, per-call toxicity classification with no signup overhead, especially in agentic pipelines that pay with crypto. Ideal for lightweight content moderation where you want a simple numeric score rather than a full moderation suite. Prefer alternatives like Google Perspective API if you need enterprise SLAs, richer category labels (threat, insult, profanity broken out), or bulk batch processing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T08:25:34.550Z","isFirstParty":false}