{"uid":"cap_mauAol3Yk_QolO_avlI1G","slug":"strale-text-classifier-fa41c715","name":"Strale Text Classifier","description":"Classify text into categories. Optionally provide custom categories. Returns primary category, confidence scores, topic keywords, and summary.","url":"https://api.strale.io/x402/v2/classify-text","method":"GET","headers":{},"bodySchema":{"type":"object","required":["text"],"properties":{"text":{"type":"string","description":"Text to classify"},"categories":{"type":"array","description":"Optional list of categories to classify into"}}},"responseSchema":{"confidence":{"type":"number"},"all_categories":{"type":"array"},"topic_keywords":{"type":"array"},"primary_category":{"type":"string"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.054","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.054/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.054","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.054","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_EYI_1l31gZnVmy06a7xd-","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.054","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Classifies text into user-defined categories, returning a structured classification result with an auditable cryptographic record.","exampleAgentPrompt":"Classify this text — 'Your package was delayed and I am very frustrated with the service' — into one of these categories: complaint, compliment, inquiry, or feedback.","exampleUseCases":[{"title":"Customer support ticket routing","prompt":"Classify this incoming support message into one of these categories — billing, technical, returns, or general — so I can route it automatically: 'My invoice shows a charge I don't recognize from last month.'"},{"title":"Content moderation label assignment","prompt":"Can you classify this user-submitted post as either safe, sensitive, or unsafe? Here's the text: 'This product is absolutely terrible and the company should be shut down.'"},{"title":"Marketing intent detection","prompt":"Take this website visitor message and classify it as one of: ready-to-buy, just-browsing, needs-support, or price-sensitive. The message is: 'I've been comparing your plan with competitors and I'm almost ready to sign up but want to confirm pricing.'"}],"resultDescription":"Returns the assigned category label from the provided list, likely with a confidence score and a cryptographic audit record that chain-hashes the call for traceability and trust verification.","failureModes":["Missing or empty text input returns a validation error","No categories provided results in an error or fallback behavior","Ambiguous text with low confidence may return an uncertain or null label","Network timeout or service unavailability returns a 5xx error","Malformed categories string may cause parsing failure"],"whenToPreferThis":"Choose this endpoint when you need auditable, trustworthy text classification with a cryptographic trail — especially in regulated or compliance-sensitive workflows. Prefer it over generic NLP APIs when you need multi-country support, pay-per-call micropayment pricing via x402, or when the classification must be independently verifiable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T19:08:30.385Z","isFirstParty":false}