{"uid":"cap_NURvJA0f9OQ9EmWoOF3ZE","slug":"agentx-sale-text-classifier-d5c3b9d1","name":"agentx.sale Text Classifier","description":"AI topic classification of supplied text: free-form topics or caller-supplied label set, single or multi-label, confidence + rationale. POST JSON {text, labels?, multiLabel?} (max 24k chars)","url":"https://agentx.sale/x402/classify?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string"},"labels":{"type":"array"},"multiLabel":{"type":"boolean"}}},"responseSchema":{"type":"json","example":{"labels":["energy"],"confidence":0.92}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"1.75","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":"$1.75/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"1.75","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"1.75","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_x_p8R1OoG3Ko0-kqo3xo9","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"1.75","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Classifies supplied text into free-form or caller-defined topic labels with confidence scores and rationale, supporting single-label and multi-label modes","exampleAgentPrompt":"Classify this customer support ticket into one of these categories — billing, technical, shipping, or general — and tell me which label fits best and how confident you are: 'My order arrived damaged and I need a refund but I also can't log into my account.'","exampleUseCases":[{"title":"Support ticket routing by topic","prompt":"Classify this incoming support message into one of these labels — billing, account, shipping, returns, or technical — and tell me the confidence score: 'I was charged twice for the same order and my login stopped working after.'"},{"title":"Multi-label tagging of a news article","prompt":"Tag this news article with all relevant topics it covers — use multi-label mode and pick from: politics, economy, health, environment, technology, sports: 'The senate passed new climate legislation tied to a renewable energy investment package.'"},{"title":"Zero-shot free-form topic detection","prompt":"What is this paragraph mainly about? Just figure out the topics yourself without me providing labels — and give me your confidence and reasoning: 'Ketamine-assisted therapy showed a 60% remission rate in treatment-resistant depression across three clinical trials.'"}],"resultDescription":"Returns the assigned topic label(s), a confidence score (0–1) for each, and a brief rationale explaining why the text was assigned to those categories. In multi-label mode, multiple labels with individual scores are returned.","failureModes":["Text exceeds 24,000 character limit — request rejected","Empty or missing text field — validation error","Labels array provided but empty — ambiguous behavior","Payment not received or USDC balance insufficient — 402 Payment Required","Malformed JSON body — 400 Bad Request","Model uncertainty on ambiguous text may produce low-confidence or split labels"],"whenToPreferThis":"Choose this endpoint when you need AI-powered topic classification with confidence scores and human-readable rationale, especially when you want to supply your own label taxonomy or need multi-label support. It is ideal for routing, tagging, and content organization pipelines where explainability matters. Prefer it over keyword extraction when you need discrete category assignments rather than ranked terms.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:20:47.724Z","isFirstParty":false,"canonicalSlug":"agentx-sale-text-classifier-d5c3b9d1"}