{"uid":"cap_GQZeeKtVVbrWUPdtH584c","slug":"agishub-text-classifier-9cc259af","name":"AGISHub Text Classifier","description":"Classify a text into exactly one of the candidate labels you provide (e.g. sentiment, topic, intent).","url":"https://api.agishub.com/paid/classify","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input","output"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["text","labels"],"properties":{"text":{"type":"string","minLength":1,"description":"The text to classify."},"labels":{"type":"array","items":{"type":"string","minLength":1},"maxItems":20,"minItems":2,"description":"Candidate labels to choose from, e.g. ['positive','negative','neutral']."}},"additionalProperties":false},"type":{"enum":["http"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type","example"],"properties":{"type":{"enum":["json"],"type":"string"},"example":{"type":"object"}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_pH-UjMNRVZygMc0q_G85w","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Classifies a given text into exactly one of a user-supplied list of candidate labels (e.g. sentiment, topic, or intent).","exampleAgentPrompt":"Classify this customer review into exactly one of these labels — positive, negative, or neutral: 'The product arrived on time but the packaging was completely crushed and two items were missing.'","exampleUseCases":[{"title":"Sentiment triage for product reviews","prompt":"Classify this review as positive, negative, or neutral so I can route it to the right team: 'The battery life is amazing but the screen cracked after two weeks of light use.'"},{"title":"Support ticket topic routing","prompt":"I need to categorize this support message into one of these topics — billing, technical, shipping, or returns: 'I was charged twice for my order last Tuesday and still haven't received a refund.'"},{"title":"Email intent detection","prompt":"Can you classify this email into exactly one of these intents — complaint, inquiry, compliment, or cancellation request: 'I've been waiting three weeks for a response and I'm extremely frustrated with the lack of communication.'"}],"resultDescription":"A JSON object indicating which one of the provided candidate labels the input text was assigned to, along with any associated confidence or scoring information returned by the model.","failureModes":["Fewer than 2 or more than 20 labels provided — returns validation error","Empty or missing text field — returns 400 bad request","Ambiguous text that doesn't clearly fit any label — may return low-confidence or unexpected label","Non-English or multilingual text may reduce classification accuracy","Payment failure via x402 — returns 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you need zero-shot text classification into a custom set of labels you define at call time, without needing to train a model. It is ideal for dynamic label sets (sentiment, intent, topic routing) where labels may vary per use case and you want a simple, pay-per-call solution without managing ML infrastructure.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:43:25.092Z","isFirstParty":false}