{"uid":"cap_wNdIUrkrWwaAq1Jb9eXXp","slug":"animica-zero-shot-text-classifier-6d8c83d5","name":"Animica Zero-Shot Text Classifier","description":"Assign text to one of YOUR labels — spam, sentiment, urgency, topic, ticket category, lead quality, intent, moderation — with a confidence and a one-line rationale. The label is constrained to your list by schema enum, so it cannot return a category you did not define. Priced per call. For high-volume use, buy prepaid credits (POST /x402/credits/buy) and send X-Animica-Credits on each request — no settlement, no gas, no per-call payment round trip. Paying in ANM on the animica:1 lane is also ~25% cheaper because we sponsor no gas there.","url":"https://animica.dev/x402/classify?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"string","description":"the text to classify"},"multi":{"type":"boolean","description":"allow multiple labels (default false)"},"labels":{"type":"array","description":"2..50 candidate labels"}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005859","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":1,"rating":{"score":"0.08","successRate":"1.00","reviews":1,"stars":"1.3","state":"rated"},"availabilityStatus":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005859/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.00193","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.00193","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_mzukP4_GDOYVaAwlDjk9Z","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.00193","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Classifies arbitrary text into one or more user-supplied candidate labels with a confidence score and rationale","exampleAgentPrompt":"Classify this customer message into exactly one of these labels — 'billing', 'technical support', 'shipping', or 'general inquiry' — and tell me how confident you are: 'My package arrived damaged and I was charged twice for the order.'","exampleUseCases":[{"title":"Customer support ticket routing","prompt":"Classify this support ticket into one of these categories — 'billing', 'account access', 'product bug', or 'feature request' — so I know which team to assign it to: 'I can't log in after resetting my password and now my subscription shows as expired.'"},{"title":"Sentiment labeling for product reviews","prompt":"Label this product review as 'positive', 'negative', or 'neutral', and give me a confidence score and a brief explanation: 'The battery life is fantastic but the screen scratches way too easily.'"},{"title":"Multi-label topic tagging for articles","prompt":"Tag this news article with all that apply from these topics — 'politics', 'economy', 'climate', 'technology', 'health' — and allow multiple labels: 'The new infrastructure bill allocates $50B to green energy grid upgrades and rural broadband.'"}],"resultDescription":"A JSON object containing the predicted label (or array of labels if multi=true), a confidence score between 0 and 1, a human-readable rationale explaining the classification, and the name of the model used.","failureModes":["Fewer than 2 or more than 50 labels supplied — likely returns a validation error","Empty or missing input text field — returns 400-class error","Payment not accepted or insufficient USDC balance — x402 payment failure before inference runs","Ambiguous text with very similar label candidates — low confidence score returned but still succeeds","Network timeout on cold start of hosted function — retry may be needed"],"whenToPreferThis":"Choose this endpoint when you need zero-shot text classification without managing your own model or API keys — it provides candidate-label flexibility at low per-call cost ($0.005 USDC) via x402 micropayment. It is well-suited for agent workflows that need dynamic, user-defined taxonomies rather than fixed ML model categories, and when you want an explanatory rationale alongside the label rather than just a raw prediction.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":2,"lastUsedAt":"2026-08-24T18:31:03.378Z","lastSuccessfullyRanAt":"2026-08-24T18:31:03.378Z","lastHealthCheckAt":"2026-10-12T16:27:48.222Z","isFirstParty":false,"canonicalSlug":"animica-zero-shot-text-classifier-6d8c83d5"}