{"uid":"cap_cBwgL7bi91W4sNhDsFJX4","slug":"paygentic-text-classifier-4c7b999b","name":"paygentic Text Classifier","description":"Classify text into exactly one of your own labels using an LLM. Body: text (max 4000 chars), labels (2-20 strings).","url":"https://api.discoverdmc.cloud/classify?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","maxLength":4000,"description":"Text to classify"},"labels":{"type":"array","items":{"type":"string","maxLength":50},"maxItems":20,"minItems":2,"description":"Allowed labels"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_kd23UyF_eKJsWMAUslLpK","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Classifies a piece of text into exactly one of a caller-supplied set of labels using an LLM","exampleAgentPrompt":"Classify this customer message into exactly one of these labels — 'billing', 'technical_support', 'shipping', or 'general_inquiry': 'Hi, I was charged twice for my last order and need a refund.'","exampleUseCases":[{"title":"Customer support ticket routing","prompt":"Take this incoming support message and classify it as one of: 'billing', 'technical', 'shipping', or 'account' — then route it to the right queue: 'My payment was declined but I can still see the charge on my card.'"},{"title":"Product review sentiment tagging","prompt":"Classify this product review as 'positive', 'negative', or 'mixed' so I can tally sentiment stats: 'The build quality is great but the battery only lasts three hours — really disappointing.'"},{"title":"News article topic labeling","prompt":"Read this article excerpt and assign it to exactly one of these categories — 'politics', 'technology', 'sports', 'business', or 'entertainment': 'The Senate voted yesterday to pass a new cybersecurity funding bill targeting critical infrastructure.'"}],"resultDescription":"Returns the single label from the provided list that the LLM judged most appropriate for the input text. No confidence score or explanation is specified in the schema; the result is one of the caller-supplied label strings.","failureModes":["Text exceeds 4000 characters — request rejected","Fewer than 2 or more than 20 labels supplied — validation error","Individual label string exceeds 50 characters — validation error","LLM ambiguity when text fits multiple labels equally well — may return unexpected label","Payment not included or insufficient — x402 payment required error","Network timeout on LLM inference — transient 5xx error"],"whenToPreferThis":"Choose this endpoint when you need zero-shot text classification into a fully custom, caller-defined label set without training a model. It is ideal for dynamic classification tasks where the categories change per request (e.g. per-customer taxonomies, ad-hoc routing rules). Prefer it over a dedicated sentiment API when your labels are domain-specific and not simply positive/negative/neutral, and over a fine-tuned classifier when you cannot train one.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T00:33:17.936Z","isFirstParty":false,"canonicalSlug":"paygentic-text-classifier-4c7b999b"}