{"uid":"cap_uicbKk3AgEQXHxDnb5OdJ","slug":"fastapi-online-content-moderation-3fd67dac","name":"fastapi.online Content Moderation","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/moderate","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","maxLength":8000,"minLength":1}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0015","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.0015/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0015","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0015","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_os3fr_OPpMrIETm4Ywi5b","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0015","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes text for harmful or policy-violating content, returning a flagged boolean and category breakdown","exampleAgentPrompt":"Can you check if this user comment is safe to publish: 'You're all idiots and I hope something terrible happens to you' — flag it if it violates any content policy categories like hate speech or threats.","exampleUseCases":[{"title":"Community forum comment screening","prompt":"Before posting this user comment to our forum, check if it contains any hate speech, threats, or explicit content: 'Get out of our country, people like you don't belong here.'"},{"title":"Chatbot input safety filter","prompt":"A user just sent this message to our chatbot — can you run it through moderation and tell me if it's flagged and which categories triggered: 'I want to hurt myself and everyone around me.'"},{"title":"Automated content review pipeline","prompt":"Moderate this product review before it goes live on our site: 'This is absolute garbage, the seller is a scammer and I'll make sure everyone knows it' — let me know if it's flagged and why."}],"resultDescription":"Returns a JSON object with a 'flagged' boolean indicating whether the text violates content policies, plus a 'categories' object breaking down which specific categories (e.g. hate speech, violence, self-harm, sexual content) were detected and their scores or boolean values.","failureModes":["Missing 'text' field returns 422 validation error","Empty string may return unflagged result with no meaningful categories","Very long text may hit token limits or timeout","Payment failure (HTTP 402) if crypto payment not completed","Ambiguous or borderline content may produce inconsistent flagging across calls"],"whenToPreferThis":"Choose this endpoint when you need lightweight, pay-per-call content moderation with no signup friction, paying in USDC via x402. Ideal for agents or pipelines that need on-demand moderation without committing to a subscription service like OpenAI Moderation or AWS Comprehend. Best for low-to-medium volume use cases where crypto payment is acceptable and a free-tier key suffices for testing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T17:25:18.390Z","isFirstParty":false}