{"uid":"cap_4JjdcnIMsB5i4rKpLk0My","slug":"fastapi-online-intent-classification-d2c13cea","name":"fastapi.online Intent Classification","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/intent-classify","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","maxLength":8000,"minLength":1},"labels":{"type":"array","items":{"type":"string"},"maxItems":20,"minItems":2}}},"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_ZdoQvgvvFjGw8e8E-65YQ","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":"Classifies a given text into one of several user-defined labels using self-hosted zero-shot or few-shot AI classification","exampleAgentPrompt":"Classify this customer message — 'My order arrived damaged and I want a refund' — into one of these labels: billing, shipping, return request, general inquiry. Tell me which label fits best.","exampleUseCases":[{"title":"Support ticket routing by intent","prompt":"I have this incoming support message: 'I can't log into my account and I've tried resetting my password twice.' Classify it into one of these categories: account access, billing issue, feature request, bug report — so I know which team to send it to."},{"title":"News article topic tagging","prompt":"Classify this headline — 'Central bank raises interest rates amid inflation concerns' — into one of these topics: politics, economics, technology, sports, health. Which label fits best?"},{"title":"User feedback sentiment sorting","prompt":"Take this app review — 'The interface is confusing and it crashes every time I open it' — and classify it as: positive feedback, negative feedback, feature suggestion, or bug report."}],"resultDescription":"Returns the predicted label from the provided candidate list along with a confidence score indicating how strongly the text matches that category. The response typically includes the top label and may include ranked scores for all candidates.","failureModes":["Text below minimum length (< 1 char) returns validation error","Fewer than 2 labels or more than 20 labels causes schema rejection","Text exceeding 8000 characters is rejected","Payment not sent or insufficient USDC triggers 402 Payment Required","Model unavailability returns 5xx server error","Ambiguous text may yield low-confidence or incorrect classification"],"whenToPreferThis":"Choose this endpoint when you need fast, pay-per-call zero-shot text classification without signup or subscription. Ideal for agents that need to route, tag, or categorize arbitrary text into custom label sets on-demand, especially when the label set changes per request. Prefer over OpenAI or Google NLP when you want crypto micropayment billing with no API key registration.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T14:26:15.137Z","isFirstParty":false}