{"uid":"cap_NOOceYqvkEH4Fx7bmFnk6","slug":"fastapi-online-formality-classifier-9f423443","name":"fastapi.online — Formality Classifier","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/formality-classify","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","maxLength":8000,"minLength":1}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0005","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":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.0005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_7QIOgtrvTCIP4dGhDy9RQ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Classifies the formality level of a given text (e.g., formal vs. informal) using a self-hosted AI model.","exampleAgentPrompt":"Can you check whether this text sounds formal or informal: 'Hey, just wanted to touch base and see if you're free to grab coffee sometime soon'?","exampleUseCases":[{"title":"Email tone check before sending","prompt":"Before I send this to my manager, can you classify whether this email text sounds formal enough: 'Hi John, hope you're doing well! Just checking in on the Q3 report — let me know when you get a chance.'"},{"title":"Social media post register audit","prompt":"Can you tell me if this post is formal or informal? 'We are pleased to announce our latest product launch, which represents a significant milestone for our organization.'"},{"title":"Customer support quality review","prompt":"I need to check the formality level of this customer support response: 'No worries! We'll get that sorted for ya real quick.' — is it too casual for a professional support context?"}],"resultDescription":"Returns a classification label indicating the formality level of the input text (e.g., 'formal', 'informal', or similar categories), likely accompanied by a confidence score or probability. The response tells the agent how formal or casual the provided text is judged to be.","failureModes":["Text field missing or empty — validation error returned","Text exceeds 8000 character limit — request rejected","Model inference failure — 500 error from self-hosted backend","Payment not provided or insufficient — 402 Payment Required","Ambiguous text may yield low-confidence classification"],"whenToPreferThis":"Use this endpoint when you need a lightweight, per-call formality classification of a text snippet without committing to a subscription or signup. Ideal for agents that need to audit or gate content based on register (formal vs. informal) as part of a writing pipeline, email assistant, or content moderation flow. At $0.0005 per call, it is cost-effective for high-volume classification tasks. Prefer over general-purpose LLM prompting when you want a dedicated, consistent classification signal rather than free-form judgment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T01:08:42.986Z","isFirstParty":false}