{"uid":"cap_Oogd1CLRSZerfhfl0OFgI","slug":"agent-data-tools-zero-shot-text-classifier-af499bb2","name":"Agent Data Tools: Zero-Shot Text Classifier","description":"181 pay-per-call tools for AI agents over HTTP or MCP, most at $0.003. Every caller gets 25 free calls; then pay per call in USDC via x402 (Base, Polygon, Arbitrum, Monad, World Chain) or by card with prepaid credits from /credits. No account needed; failed calls are never charged; per-tool reliability is public at /status. Crypto: token prices and wallet portfolios from Uniswap v3, chain reads on Base, Ethereum, Arbitrum, Optimism and Polygon, OFAC sanctions screening. Web: Read public static documentation, pages, PDFs and RSS feeds as clean text, plus link previews and sitemaps. Business: company profiles, domain and email checks. Also Bitcoin, FX, weather, holidays, geocoding, AI text, and JSON, date and validation utilities.","url":"https://agent-data-tools.revmesh2074.workers.dev/ai/classify?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["text","labels"],"properties":{"text":{"type":"string","examples":["My card was charged twice for the same order."],"description":"Text to classify, up to 8,000 characters"},"labels":{"type":"string","examples":["billing,shipping,technical,other"],"description":"Comma-separated candidate labels (2-20)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"label":{"type":"string"},"model":{"type":"string"},"reason":{"type":"string"},"ranking":{"type":"array","items":{"type":"string"}}}}}}}},"responseSchema":{"type":"json","example":{"label":"billing","model":"@cf/meta/llama-3.1-8b-instruct-fp8","reason":"The customer reports a duplicate charge.","ranking":["billing","other","technical","shipping"]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_qFjKwuIgNZlHTCnkAONtA","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Classifies a text snippet into one of several candidate labels using a zero-shot LLM, returning the best label, a ranked list, and a reason.","exampleAgentPrompt":"Classify this customer message into one of these labels — billing, technical, shipping, other — and tell me which fits best and why: 'I was charged twice for my last order and need a refund.'","exampleUseCases":[{"title":"Customer support ticket routing","prompt":"I need to route this support message to the right team. Classify it as billing, technical, shipping, or other: 'My package says delivered but I never received it.'"},{"title":"Content moderation intent tagging","prompt":"Tag this user-submitted post as one of: spam, hate_speech, safe, or off_topic — and tell me why: 'Click here to win a free iPhone, limited time only!!!'"},{"title":"Product feedback sentiment bucketing","prompt":"Classify this product review into one of these categories — positive, negative, mixed, neutral — and rank all four: 'The design is gorgeous but the battery life is terrible.'"}],"resultDescription":"A JSON object containing the winning label string, the name of the model used, a natural-language reason explaining why that label was chosen, and a ranked array of all candidate labels ordered by confidence.","failureModes":["Fewer than 2 or more than 20 labels provided — likely returns an error or unpredictable output","Text exceeds 8,000 characters — may be truncated or rejected","Ambiguous or overlapping labels may produce low-confidence or inconsistent rankings","Payment failure (x402) — call is not charged and no classification is returned","Malformed query parameters — missing required 'text' or 'labels' returns an error"],"whenToPreferThis":"Choose this endpoint when you need zero-shot text classification with no training data, no API key setup, and pay-per-call billing in USDC via x402. It is ideal for AI agents that need to dynamically categorize text at runtime using ad-hoc label sets. Prefer it over managed NLP services when you want frictionless per-call micropayments, public reliability stats, and a simple GET-based interface with an LLM-backed explanation for each classification decision.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T12:44:43.492Z","isFirstParty":false,"canonicalSlug":"agent-data-tools-zero-shot-text-classifier-af499bb2"}