{"uid":"cap_VeQ3SS_RQSJJubwSl3kcH","slug":"momoai-text-classification-194258a9","name":"momoAI Text Classification","description":"Pay-per-use LLM API. Chat, reasoning, code review, translation, summarization, data extraction, and more. Pay with USDC on Base.","url":"https://aimomo.vercel.app/api/classify","method":"POST","headers":{},"bodySchema":{"type":"object","required":["text"],"properties":{"task":{"type":"string"},"text":{"type":"string","description":"Text to classify"},"categories":{"type":"array","description":"Categories for classification task"}}},"responseSchema":{"type":"object","properties":{"data":{"type":"object","properties":{"task":{"type":"string"},"model":{"type":"string"},"usage":{"type":"object"},"provider":{"type":"string"},"classification":{"type":"object"}}},"meta":{"type":"object"},"success":{"type":"boolean"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm__AVmynnNnwBnrh1QVIJMb","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Classifies input text into user-specified categories using a pay-per-call LLM API paid with USDC on Base","exampleAgentPrompt":"Classify this customer review as positive, negative, or neutral and give me the result: 'The delivery was lightning fast but the packaging was completely crushed.'","exampleUseCases":null,"resultDescription":"Returns a classification object with the predicted category/label for the input text, along with metadata including the model used, provider name, token usage statistics, task type, and a success flag.","failureModes":["Missing required 'text' field returns validation error","Invalid or empty categories array may produce undefined classification behavior","Payment failure or insufficient USDC balance returns 402 Payment Required","Oversized text input may exceed model context limits","Ambiguous or conflicting categories may reduce classification confidence"],"whenToPreferThis":"Choose this endpoint when you need quick, pay-per-call text classification without a subscription, especially when paying with USDC on Base via x402 protocol. Ideal for low-volume or sporadic classification tasks where you want to provide your own custom label set rather than using a fixed taxonomy.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:31:51.969Z","isFirstParty":false}