{"uid":"cap_8Jcv65OhPrFvbagROkfWI","slug":"momoai-text-classification-43b1e3a1","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://momoai-cyan.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_E_Nb1GEBwrQtxWaDoyhak","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 backend, paid with USDC on Base.","exampleAgentPrompt":"Classify this customer review as 'positive', 'negative', or 'neutral' using momoAI and tell me which category it falls into: 'The delivery was fast but the packaging was completely crushed.'","exampleUseCases":null,"resultDescription":"Returns a JSON object with a classification field containing the result of the categorization, along with the model used, provider name, token usage stats, task type, and a success flag.","failureModes":["Missing required 'text' field returns validation error","No categories provided may result in ambiguous or default classification","Malformed JSON body returns 400 error","Payment not completed (x402 flow incomplete) results in 402 Payment Required","Unsupported task type may yield unexpected output","LLM provider outage causes 503 or timeout"],"whenToPreferThis":"Use this endpoint when you need on-demand, pay-per-call text classification without a subscription, especially in agent workflows that need to classify arbitrary text into custom categories and can pay with USDC on Base via x402. Prefer over hosted ML APIs when you want usage-based crypto billing with no upfront commitment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:55:36.505Z","isFirstParty":false}